36 votes

What factors cause or prevent "generational loss" when JPEGs are recompressed multiple times?

Almost all image quality losses occur the first time an image is compressed as JPEG. Regardless of how many times a JPEG is recompressed with the same settings, generational losses are limited to ...
xiota's user avatar
  • 27k
21 votes

What factors cause or prevent "generational loss" when JPEGs are recompressed multiple times?

Recompression loss is real, especially when working with higher levels of JPEG compression. In theory, if you re-save a JPEG files with the exact same parameters and have aligned your crop to 8×8 ...
mattdm's user avatar
  • 143k
21 votes
Accepted

Google Photos high quality backup -- how does Google achieve great compression and am I losing some data?

Well, for one thing, all photos larger than 16 megapixels are resized to 16 MP — so, for many cameras today, that's an immediate, obvious drop in resolution. But all other photos are compressed too, ...
mattdm's user avatar
  • 143k
19 votes
Accepted

Is it possible to find out what compression ratio was used for a particular JPEG?

No, you can not and it does not make sense to do so, since there is no ubiquitous definition of the JPEG compression level. The actual result when saving a JPEG with compression level 60 in one ...
jarnbjo's user avatar
  • 3,282
11 votes
Accepted

Why are JPEG images from camera huge and the same images exported from Vistaprint software 10 times smaller?

Without going into a detailed explanation of JPEG, it is (in general) a lossy format: if you save a file as JPEG and then load it again, some of the pixels will have changed. However, unless you know ...
Peter Taylor's user avatar
  • 1,497
10 votes

Is it possible to find out what compression ratio was used for a particular JPEG?

You can, sort of. ImageMagicks' identify command can show a estiamte identify -verbose image.jpeg will produce (a lot of) ...
Rolazaro Azeveires's user avatar
9 votes

Is it not ideal to save image as PNG for printing?

Yes, PNG is theoretically better than JPEG in preserving the ultimate image quality, but in practice this is the kind of exactness we don't really see, especially in print, where the physical ...
szulat's user avatar
  • 5,059
7 votes

How can I tell exactly what changed between two images?

You can use Imagemagick command line tools. composite imagesrc1.jpg imagesrc2.jpg -compose difference diffs.jpg will provide the absolute value of differences ...
mikael's user avatar
  • 71
7 votes
Accepted

Should I resize photos before or after image optimization?

The "ImageOptim" tool pulls together a bunch of other things, and in the case of JPEG files, the relevant thing is the MozJPEG optimizing encoder. If you use this encoder and then resize and save with ...
mattdm's user avatar
  • 143k
7 votes
Accepted

why won't my photos compress past a certain size?

I do not know at which resolution you scanned your image, but i'm willing to bet that it is way larger than needed or useful for web viewing. The first thing you should do is resize the image down ...
ths's user avatar
  • 7,171
6 votes
Accepted

Quality of JPEG directly from RAW+JPEG versus JPEG embedded in RAW of RAW+JPEG?

To concentrate on what you should do, I suggest you stick to the raw+jpeg. Worst case you need another card and storage is cheap. Do you actually ever get close to filling all your cards? If not, you ...
Chris H's user avatar
  • 3,812
6 votes

Google Photos high quality backup -- how does Google achieve great compression and am I losing some data?

They are basically throwing processing power at the problem, using very compute intensive approaches that tries out various ways to compress the image within the JPG rules. Processing is something ...
TomTom's user avatar
  • 393
6 votes
Accepted

Watermarking processing proof

There are photoshop plugins around like imatag or digimarc, which offer this as a professional service. The software encrypts a ...
Kai Mattern's user avatar
  • 4,273
6 votes
Accepted

Can jpg be converted to progressive jpg without quality loss?

To convert a baseline JPEG to a progressive JPEG in a lossless manner you can use jpegtran: jpegtran works by rearranging the compressed data (DCT coefficients), ...
Saaru Lindestøkke's user avatar
6 votes

Image properties for social media?

None of 1-4 matter. All the major social networks (definitely including Facebook, Twitter and Instagram) re-encode any uploaded photos with their own settings, optimised for their use case (reducing ...
Philip Kendall's user avatar
  • 21.9k
5 votes

Quality of JPEG directly from RAW+JPEG versus JPEG embedded in RAW of RAW+JPEG?

Although the context is different, this is fundamentally a question of the difference in compression levels. ImageMagick identifies them as 81 and 95 — that's not a standard number, but it's generally ...
mattdm's user avatar
  • 143k
5 votes
Accepted

Remove "random" noise

What you are seeing in your example is not random noise. It is what is referred to as compression artifacts and is what happens when an image is compressed too much to make the file size smaller. ...
MikeW's user avatar
  • 33.4k
5 votes
Accepted

What is difference between 8bit RGB and 16bit RGB?

The number of bits tells how many values are possible per color component. This specifies bit-depth as BPC (bits-per-component) which is what Photoshop uses. Windows on the other hand uses BPP (bits-...
Itai's user avatar
  • 103k
5 votes

What factors cause or prevent "generational loss" when JPEGs are recompressed multiple times?

Recompression does have a measurable effect on image quality and that effect is much more pronounced when changing compression rates. As a quick check here as some SSIM values for operations ...
PhotoScientist's user avatar
5 votes
Accepted

Does JPEG compression reduce actual image size?

Yes, and no :) I think the article is speaking about the image file size (in bytes), and not the image size itself (in pixels) which is indeed unchanged. But, to be accurate, one of the tradeoffs of ...
xenoid's user avatar
  • 21.3k
4 votes

Which TIFF image compression is better, LZW or ZIP?

For the fastest save times you want to go with no compression. Adding compression can multiply the time required to save a TIFF by 5x on 16-bit TIFF files and by 10-15x on 8-bit TIFF files. Storage is ...
T.G. Wilkinson's user avatar
4 votes

Strange image artefacts from PS3 Eye camera

In the YUYV format, the luma channel (Y) which controls the pixels brightness has a higher resolution than the chrominance (U and V) channels, which control the hue. Each pixel has its own brightness ...
jarnbjo's user avatar
  • 3,282
4 votes

Is it not ideal to save image as PNG for printing?

Avoid PNG-8 for photo images (it is for graphics with few colors), but PNG-24 is very good choice for photo images. Better than JPG for quality, but will be a much larger file than JPG. PNG always ...
WayneF's user avatar
  • 12.9k
4 votes

What factors cause or prevent "generational loss" when JPEGs are recompressed multiple times?

Nothing like some experimentation. The following bash script (written on Linux, could work on OSX if you have ImageMagick): starting with a first image (named ...
xenoid's user avatar
  • 21.3k
4 votes

What are Olympus' best in-camera Jpg settings for facebook

I would recommend that you continue to use the highest resolution and the lowest compression settings. Reason for this is so that you have a high-resolution copy just in case you want to make prints. ...
Frank's user avatar
  • 674
4 votes

Batch Compress and Watermark Images?

The canonical utility for batch image processing is ImageMagick. Its convert command/component can change format, change compression parameters, and add text to a ...
xenoid's user avatar
  • 21.3k
4 votes

How to determine which jpeg is closer to the original image and has the most information?

You can't really tell from these data. Of course, one could hope that the bigger file holds a bit more information, but it could just be the other one badly re-encoded. Utilities such as ImageMagick's ...
xenoid's user avatar
  • 21.3k
4 votes

Is editing metadata of a JPEG destructive to the image?

Generally, when you do this with an image editor like Photoshop, yes, this is destructive. That's because the software doesn't keep a JPEG-encoded version of the image in memory to write back ...
mattdm's user avatar
  • 143k
4 votes
Accepted

What are the benefits of LZW compression for TIFFs?

For me the benefits can be: less disk space (compressed data) less time to load (but plus time to decompress) same for write But I will have in mind few negative points: compatibility, it's ...
Romeo Ninov's user avatar
4 votes
Accepted

Capture one to export a progressive jpeg?

You ought to be able to export from Capture One in a lossless format like PNG or TIFF, then perform the JPEG compression of that lossless file once, and once only, with whatever settings you like from ...
user95494's user avatar
  • 306

Only top scored, non community-wiki answers of a minimum length are eligible