Create image from decoded FlatDecode PDF Image (XObject)

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Roman80
Posts: 25
Joined: 2017-08-03T21:26:15-07:00
Authentication code: 1151

Create image from decoded FlatDecode PDF Image (XObject)

Post 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
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

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

Post 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.
snibgo's IM pages: im.snibgo.com
Roman80
Posts: 25
Joined: 2017-08-03T21:26:15-07:00
Authentication code: 1151

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

Post by Roman80 »

But I was mean the C API from ImageMagick, and no command line tools.

Sorry, i thought that was clear
Post Reply