changed JPEG to PNG representation