Jp2: speed gives unexpected output file size

Heyho,

I am using imagemagick 6.8. (2015-03-20) and I tried to convert the .pgm file to .jp2 file. The output file must be less by the factor specified in the jp2: rate = x option, but it does not work.

I am using this command

convert input.pgm -define jp2:rate=20.0 output.jp2

      

But the resulting file output.jp2 is larger than expected (only compression speed 6 instead of expected 20)

Can someone explain this to me please?

+3


source to share


1 answer


The following works for ImageMagick version 6.7.7-10 2017-07-31 Q16 http://www.imagemagick.org



convert input.pgm -define jp2:rate=0.05 #not 20.0

      

-1


source







All Articles