Re: issues on install from RPM
Posted: 2008-09-23T18:19:41-07:00
Do you have JP2 or JPX using the Jpeg-2000 library? Your input image may be using that format which is incompatible with the older JPEG format.
Use https://github.com/ImageMagick/ImageMagick/discussions instead.
https://imagemagick.com/discourse-server/
https://imagemagick.com/discourse-server/viewtopic.php?t=12093
Code: Select all
convert rose: rose.jpx
convert: unable to encode image file `rose.jpx'.
Somebody have solution for this? I have the same problem. I tried to reinstall Jasper(1.900.1), JPEG2000(v8), ImageMagick(6.5.0-10), GhostScript(8.70) but no result.anthony wrote:PS I have JPX but...
A zero sized rose.jpx file was created.Code: Select all
convert rose: rose.jpx convert: unable to encode image file `rose.jpx'.
however jp2 works prefectly! Whats the difference between these two formats, as both are listed as JPEG-2000
I resolve this problem.jemils wrote:Somebody have solution for this? I have the same problem. I tried to reinstall Jasper(1.900.1), JPEG2000(v8), ImageMagick(6.5.0-10), GhostScript(8.70) but no result.anthony wrote:PS I have JPX but...
A zero sized rose.jpx file was created.Code: Select all
convert rose: rose.jpx convert: unable to encode image file `rose.jpx'.
however jp2 works prefectly! Whats the difference between these two formats, as both are listed as JPEG-2000
identify -list format | grep JPEG
JNG* PNG rw- JPEG Network Graphics
JP2* JP2 rw- JPEG-2000 File Format Syntax
JPC* JPC rw- JPEG-2000 Code Stream Syntax
JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (80)
JPG* JPEG rw- Joint Photographic Experts Group JFIF format
JPX* JPX rw- JPEG-2000 File Format Syntax
PGX* PGX r-- JPEG-2000 VM Format
PJPEG* JPEG rw- Progessive Joint Photographic Experts Group JFIF
JPX format is important for pdf convert to jpeg images after command:
convert -colorspace RGB -density 130 -limit memory 1mb -limit map 1mb '.$uploadfile.' '.str_replace('.pdf','.jpeg',$uploadfile).' 2>&1'
but return error:
jasper (code 0) error: cannot decode code stream unable to decode JPX image data. **** Warning: File has insufficient data for an image. ****
This file had errors that were repaired or ignored. **** The file was produced by: **** >>>> Adobe PDF Library 9.0 <<<<
**** Please notify the author of the software that produced this **** file that it does not conform to Adobe's published PDF **** specification.
in result I get jpegs without some images...
Please somebody help.