possible bug histogram of JP2
Posted: 2017-08-31T10:51:18-07:00
Testing for an issue reported at viewtopic.php?f=27&t=32596
I get a different looking histogram when saving the red channel of a tif to JP2 than I do with PNG. I have tested with IM 7.0.6.10 and IM 6.9.9.10
input tiff:
http://www.fmwconcepts.com/misc_tests/h ... g/luna.tif
http://www.fmwconcepts.com/misc_tests/h ... luna_r.jp2
114.797 (0.0017517)
So there is a slight difference is the two images. Would this slight difference cause the spikes in the jp2 histogram that is seen above?
I get a different looking histogram when saving the red channel of a tif to JP2 than I do with PNG. I have tested with IM 7.0.6.10 and IM 6.9.9.10
input tiff:
http://www.fmwconcepts.com/misc_tests/h ... g/luna.tif
Code: Select all
magick luna.tif -channel r -separate -quality 0 luna_r.jp2
Code: Select all
magick luna_r.jp2 histogram:luna_r_hist.gif
Code: Select all
magick luna.tif -channel r -separate luna_r.png
Code: Select all
magick luna_r.png histogram:luna_r_png_hist.gif
Code: Select all
magick compare -metric rmse luna_r.jp2 luna_r.png null:
So there is a slight difference is the two images. Would this slight difference cause the spikes in the jp2 histogram that is seen above?