New Forum | Previous | Next | (P-PDF) Developers
Topic: Extracting Images from a PDF file
Conf: (P-PDF) Developers, Msg: 86627
Date: 4/25/2003 03:18 AM
I am working on an Acrobat plug-in which extracts text from a PDF file. Now I want to add a functionality to extract images from a pdf file and save it into an external file in any of jpg/tif/gif format. I tried both PDEImageGetDataStm & PDEImageGetData, but I don't know how can I generate a jpg file using the binary stream I get. The images come with FlateDecode, I may have to anticipate DCTDecode as well.
I saw some helpful links in this forum especially Shan, Aandi and Leonard were involved. Probably you guys can help me in this.
Any help will be highly appreciated.