Page 1 of 1

Unable to convert attached EPS file to JP2

Posted: 2017-12-30T05:02:31-07:00
by rajivrp
Hi,

Image Magick fails while trying to convert attached image file to jp2. It gives this error :

convert.exe: Number of resolutions is too high in comparison to the size of tiles
`OpenJP2' @ error/jp2.c/JP2ErrorHandler/193.
convert.exe: UnableToEncodeImageFile `Output.jp2' @ error/jp2.c/WriteJP2Image/1064.

Command : convert.exe Image_EPS.eps[0] -limit memory 8192 -limit map 16384 -limit area 32768 -background white -flatten -quality 80 -filter Lanczos -profile C:\USWebCoatedSWOP.icc jp2:Output.jp2

Even a simple convert.exe command file without any additional argument do not work. I am using ImageMagick-6.9.2.6, but the issue is reproducible even with the latest version 7.0.7-18.

https://drive.google.com/file/d/1SrE2y_ ... sp=sharing

Thanks,
Rajiv

Re: Unable to convert attached EPS file to JP2

Posted: 2017-12-30T08:28:56-07:00
by magick
Unfortunately we cannot reproduce the problem you reported. We're using ImageMagick 7.0.7-18 under Windows 10 and your command executes without complaint and creates Output.jp2 as expected.