-1

We are converting group 4 TIFF images to PNG; this may deteriorate the quality.

Is there any way to automate image quality verification using ImageMagick?

Excellll
  • 12,627
  • 11
  • 51
  • 78
Sam
  • 1
  • What do you mean by "validation of image quality check"? Verifying if a image is 'of good quality' (for a specific purpose) or not can be a very complex image processing problem. – Renan Apr 04 '12 at 16:11
  • 2
    Isn't PNG supposed [to be lossless](http://en.wikipedia.org/wiki/Portable_Network_Graphics)? So, other than the image size, the quality should not go worse? For JPG, see [How to find the JPG quality?](http://superuser.com/questions/62730/how-to-find-the-jpg-quality) Maybe it can do the same for PNG. – Arjan Apr 04 '12 at 16:47
  • @Arjan being that PNG files are lossless, the idea of 'quality' doesn't exist. – Renan Apr 04 '12 at 17:12
  • 1
    I think so too, @Renan, but just to be sure: I was referring to image *dimensions* (number of pixels) when referring to "size". (But I admit I was not very clear in that respect.) – Arjan Apr 04 '12 at 17:28
  • @Arjan I get your point. – Renan Apr 04 '12 at 17:29

1 Answers1

1

As said in a comment, PNG files are lossless, so you can't talk about a "loss of quality".

The closest that PNG has to a "quality" is the compression level, which relates only to file size (a trade-off between file size and time needed to decode the image), not to image quality.

Renan
  • 7,981
  • 4
  • 39
  • 48
  • 3
    PNG does support 8 bit in which case one would have dithering or color approximation, banding etc. So long as the OP chooses PNG-24, this isn't an issue. (or rather, so long as the color pallette is not altered) – horatio Apr 04 '12 at 17:59