Hi Anton,
It is a bit strange that they did apply the flate decode and the DCT
filter. Usually there is not much use in ZIP compressing a JPEG image ....
Well, to your question: In this case you would have to apply the flate
decode filter only (take a look on the implementation of
PdfStream::GetFilteredCopy). You do not have to apply the DCTDecode filter,
as DCTDecode just means JPEG compression. I.e. you can just store ther raw
data of the stream as a file and you will get a JPEG file. This is exactly
what ImageExtractor is doing.
Best regards,
Dominik
On Tue, Aug 9, 2016 at 12:17 PM, Anton Heymann <
anton.heym...@cad-essence.com> wrote:
> I need to import images from a PDF where the images have been encoded with
> multiple filters. The images are all DCTEncoded (JPEG) I use
>
>
>
> TVecFilters Filters = PdfFilterFactory::CreateFilterList(pRoot);
>
>
>
> To get a list of the filters on this image object. How do I extract the
> actual JPEG image, with the Filters set as follows
>
>
>
> ePdfFilter_FlateDecode
>
> ePdfFilter_DCTDecode
>
>
>
> Have been studing ImageExtractor::ExtractImage but cannot see how this is
> resolved.
>
> Thanks
>
> ------------------------------------------------------------
> ------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. http://sdm.link/zohodev2dev
> _______________________________________________
> Podofo-users mailing list
> Podofo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/podofo-users
>
>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users