问题
i'm using the convert
tool from imagemagick to convert images to the jpeg-xr format.
i'm using the latest version under debian linux (ImageMagick-6.8.6-8).
The problem is convert -format jxr
or convert -format wdp
produce the same format as my source image and no valid jpeg-xr file.
Is my -format
parameter wrong? i didn't find anything about it
thanks in advance
回答1:
The -format
option is for outputting metadata in a specific format, not selecting the output file format.
Selecting a specific output format is done by prefixing the output filename with the tag described at http://www.imagemagick.org/script/formats.php, so for example
convert input.jpg jxr:output.jpg
Normally, imagemagick detects the output format based on the file extension you chose for your output file, so by choosing .jxr
as your file extension it should automatically use the JPEG-XR format.
来源:https://stackoverflow.com/questions/18211517/how-to-convert-tiff-bmp-to-jpeg-xr-with-imagemagicks-convert-tool