Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Imagemagick Convert png to jxr

I am facing some problem by convert and compress a *.png file to a *.jxr file.

I can't find any options like rate or quality that will change the resulting .jxr files size, in the imagemagick convert tool, does anybody now anything to manipulate the converted files size?

like image 749
Stefan Sprenger Avatar asked Mar 06 '14 20:03

Stefan Sprenger


1 Answers

Imagemagick doesn't support JXR only if:

"Requires the jxrlib delegate library. Put the JxrDecApp and JxrEncApp applications in your execution path."

If you have managed to install libjxr0 and the libjxr-tools linux packages, you will face the next problem, if you don't know how the two apps JxrEncApp and JxrDecApp are executed.

So here is the needed background:

  • Supports only BMP,TIF and HDR
  • Errors are not displayed only!!!!! the whole man page
  • Quality parameter starts at 0.000 and ends at 1.000

A call looks like this:

JxrEncApp -i test.tif -o test.jxr -q 0.231
like image 106
Stefan Sprenger Avatar answered Nov 08 '22 11:11

Stefan Sprenger