Conversion of JPEG2000 image to pdf using ImageMagick
Posted: 2014-04-28T22:06:15-07:00
I have an image file with extension .jpg. The linux file command shows the format as JPEG2000.
file myfile.jpg
myfile.jpg: JPEG 2000 image data
I get the following error when converting this file to pdf.
ICC Profile CS 52474220
convert: missing image channel 'myfile.jpg'
@ error/jp2.c/ReadJP2Image/421.
convert: no images defined `image.pdf' @ error/convert.c/ConvertImageCommand/3103.
Image Magick/convert version is 6.8 (installed using rpm) and shows jp2 as one of the delegates.
convert -version
Version: ImageMagick 6.8.4-8 2013-04-07 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenMP Modules
Delegates: bzlib djvu fftw fontconfig freetype gslib jng jp2 jpeg lcms lzma openexr png ps rsvg tiff wmf x xml zlib
I would appreciate any feedback as to how to make the conversion to pdf work for this kind of file.
file myfile.jpg
myfile.jpg: JPEG 2000 image data
I get the following error when converting this file to pdf.
ICC Profile CS 52474220
convert: missing image channel 'myfile.jpg'
@ error/jp2.c/ReadJP2Image/421.
convert: no images defined `image.pdf' @ error/convert.c/ConvertImageCommand/3103.
Image Magick/convert version is 6.8 (installed using rpm) and shows jp2 as one of the delegates.
convert -version
Version: ImageMagick 6.8.4-8 2013-04-07 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenMP Modules
Delegates: bzlib djvu fftw fontconfig freetype gslib jng jp2 jpeg lcms lzma openexr png ps rsvg tiff wmf x xml zlib
I would appreciate any feedback as to how to make the conversion to pdf work for this kind of file.