Hello,
I'm facing some problems in converting a png image to the jxr format with a given filesize.
In jp2 i solved it by adding a additional parameter and made an approch script so i read out the file size and increment/decrement the quality :
convert test.png -define jp2:rate=50 test.jp2
Is there a way to do this for jxr format, the example below doesn't work
convert test.png -define jxr:rate=50 test.jxr
Best Regards
Sprenger Stefan
png to jxr compression rate
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: png to jxr compression rate
IM relies upon the JXR delegate library. So the answer will depend upon what arguments that library supports. I have no experience with it.
Re: png to jxr compression rate
Is this library already included? Really don't know how to handle this on linux Oo
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: png to jxr compression rate
See http://www.imagemagick.org/script/formats.phplilsmoka wrote:Is this library already included? Really don't know how to handle this on linux Oo
If it is loaded, it would show in the list of formats with at least r or rw via
convert -list format
or
in the list of delegates from
convert -version
on current versions of IM
or from
convert -list configure
on older versions of IM
Re: png to jxr compression rate
ok thanks for the information
is there a kind of guide like: "which files should be downloaded and put there and there"?
is there a kind of guide like: "which files should be downloaded and put there and there"?
Re: png to jxr compression rate
I installed the library now with the help of:
https://packages.debian.org/de/sid/libjxr-dev
I'm also have the right code i think:
JxrEncApp -i test.png test.jxr -q 0.5
But everytime i execute this command, the man page of JxrEncApp is displayed and nothing is converted
Any ideas?
Solved:
JxrEncApp only takes .bmp,.tif or hdr as input format
https://packages.debian.org/de/sid/libjxr-dev
I'm also have the right code i think:
JxrEncApp -i test.png test.jxr -q 0.5
But everytime i execute this command, the man page of JxrEncApp is displayed and nothing is converted
Any ideas?
Solved:
JxrEncApp only takes .bmp,.tif or hdr as input format