Page 1 of 1

Create image from decoded FlatDecode PDF Image (XObject)

Posted: 2018-04-05T05:05:49-07:00
by Roman80
Hello,

if I have the decoded data, icc profile and resources from an extracted XObject from an PDF file and informations such as BitsPerComponent, width, height, ...
Is it possible to create an image with the help of ImageMagick?

Please, could anybody give me a hint?
Thanks

Re: Create image from decoded FlatDecode PDF Image (XObject)

Posted: 2018-04-05T05:31:35-07:00
by snibgo
The obvious tool for extracting raster images from PDF files is pdfimages. That may do what you want from a command line. If not, perhaps you can hack it.

Re: Create image from decoded FlatDecode PDF Image (XObject)

Posted: 2018-04-05T22:28:49-07:00
by Roman80
But I was mean the C API from ImageMagick, and no command line tools.

Sorry, i thought that was clear