May 16
Jolle Carlestam ImageMagick / Ghostscript error dealing with jpeg2000 images in pdfs
May 16, 2013; 07:48
Jolle Carlestam
ImageMagick / Ghostscript error dealing with jpeg2000 images in pdfs
We have a solution where users can upload pdf files that we convert to images for further processing.
On occasion this fails with the following error reported from the convert process:
**** ERROR: Unable to process JPXDecode data. Page will be missing data.
Some web scanning indicates that it's a ghostscript error in that ghostscript can't deal with jpeg2000 images embedded in pdf files.
But I also found signs that later versions of ghostscript had this fixed. What version of ghostscript would imagemagick be using on Centos 5?
Here's the code producing the error:
local(img_create_process) = sys_process('/usr/bin/convert', (:'-density', '600x600', '-resize', '612x756', '-quality', '90', file_forceroot(#pdf_filepath_name), file_forceroot(#image_path)))
#img_create_process -> wait
stdoutnl('img_create_process read ' + #img_create_process -> read)
local(process_error = #img_create_process -> readerror)
if(string(#process_error) -> size > 0) => {
stdoutnl('img_create_process readerror ' + #process_error)
}
#img_create_process -> close
And this would off course be Lasso 9.2.6 on Centos 5.
HDB
Jolle
#############################################################
Attend the Lasso Developer Conference 2013!
Sept 12-14, 2013 in Niagara Falls, Canada
http://www.lassosoft.com/LDC-niagara-falls-2013
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
May 16
Brad Lindsay Re: ImageMagick / Ghostscript error dealing with jpeg2000 images in pdfs
May 16, 2013; 07:34
Brad Lindsay
Re: ImageMagick / Ghostscript error dealing with jpeg2000 images in pdfs
May 16
Steffan A. Cline Re: ImageMagick / Ghostscript error dealing with jpeg2000 images in pdfs
May 16, 2013; 06:15
Steffan A. Cline
Re: ImageMagick / Ghostscript error dealing with jpeg2000 images in pdfs
May 16
Steve Piercy - Web Site Builder Re: ImageMagick / Ghostscript error dealing with jpeg2000 images in pdfs
May 16, 2013; 07:43
Steve Piercy - Web Site Builder
Re: ImageMagick / Ghostscript error dealing with jpeg2000 images in pdfs
May 16
Jolle Carlestam Re: ImageMagick / Ghostscript error dealing with jpeg2000 images in pdfs
May 16, 2013; 17:56
Jolle Carlestam
Re: ImageMagick / Ghostscript error dealing with jpeg2000 images in pdfs
May 16
Steffan A. Cline Re: ImageMagick / Ghostscript error dealing with jpeg2000 images in pdfs
May 16, 2013; 11:46
Steffan A. Cline
Re: ImageMagick / Ghostscript error dealing with jpeg2000 images in pdfs