jpegtran jpeg with -scale 8/16 can't be opened, smartscaling issue?

320 views Asked by At

I m trying get a scaled down version of a jpeg with jpegtran by using the scaling feature.

this works (it produces a jpeg that can be opened by any program)

cjpeg.exe -scale 8/16 -outfile halfrez.jpg -optimize -progressive fullrez.ppm

but this don't (it produces a jpeg that can't be opened by windows explorer or chrome for example)

jpegtran.exe -scale 8/16 -outfile halfrez.jpg -optimize -progressive fullrez.jpg

I suspect that jpegtran is using the new smartscaling feature that makes the jpeg not compatible, but with block size of 8 it should be ok and it's working with the cjpeg compressor.

any help on how I scale the jpeg with DCT and stile being compatible?

0

There are 0 answers