Unable to convert attached EPS file to JP2

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
rajivrp
Posts: 7
Joined: 2017-05-25T23:37:23-07:00
Authentication code: 1151

Unable to convert attached EPS file to JP2

Post by rajivrp » 2017-12-30T05:02:31-07:00

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

User avatar
magick
Site Admin
Posts: 10824
Joined: 2003-05-31T11:32:55-07:00

Re: Unable to convert attached EPS file to JP2

Post by magick » 2017-12-30T08:28:56-07:00

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.

Post Reply