What I'm trying to do:Version: ImageMagick 7.0.3-1 Q16 x64 2016-09-20
Code: Select all
magick rose: -interlace Plane -define jpeg:dct-method=float -quality 95 -sampling-factor 4:2:2 422.jpg
magick rose: -interlace Plane -define jpeg:dct-method=float -quality 95 -sampling-factor 4:4:4 444.jpg
1. identify -verbose 422.jpg | grep sampling-factor
2. identify -verbose 444.jpg | grep sampling-factor
Hmmm... Does this look right?1. jpeg:sampling-factor: 2x1,1x1,1x1
2. jpeg:sampling-factor: 1x1,1x1,1x1
But there's another problem when creating JPEG in TIFF:
Code: Select all
magick rose: -interlace Plane -define jpeg:dct-method=float -quality 95 -sampling-factor 4:2:2 -compress jpeg 422.tif
magick rose: -interlace Plane -define jpeg:dct-method=float -quality 95 -sampling-factor 4:4:4 -compress jpeg 444.tif
1. identify -verbose 422.tif | grep sampling-factor
2. identify -verbose 444.tif | grep sampling-factor
Oops... seems like we've got a bug?!1. jpeg:sampling-factor: 2x2
2. jpeg:sampling-factor: 2x2
Best regards,
Lars-Daniel