How to convert .tiff / .bmp to JPEG-XR using the Imagemagick conversion tool?

I am using the convert tool from imagemagick to convert images to jpeg-xr format.

I am using the latest version under debian linux (ImageMagick-6.8.6-8).

Problem: convert -format jxr or convert -format wdp creates the same format as the original image and does not have a valid jpeg-xr file. Is the -format parameter incorrect? I did not find anything about it

early

+3
source share
1 answer

The -format parameter -format intended for outputting metadata in a specific format, and not for selecting the format of the output file.

The choice of a specific output format is performed by prefixing the name of the output file with the tag described in http://www.imagemagick.org/script/formats.php , for example

 convert input.jpg jxr:output.jpg 

Typically, imagemagick determines the output format based on the file extension that you have selected for your output file, so by choosing .jxr as the file extension, it should automatically use the JPEG-XR format.

+4
source

Source: https://habr.com/ru/post/1273343/


All Articles