Hi Siriam,

If you want to get the colorspaces of objects on a page, you might
want to look at podofocolor from the podofotools package. It extracs
colorspace information from the content stream of a page.

But, be aware that the whole topic is far more complex than just
getting the colorspace of a page - as Leonard has pointed out.

Cheers,
 Dominik

On Mon, Jun 17, 2013 at 8:46 AM, Sriram Gopalan -ERS, HCL Tech
<srira...@hcl.com> wrote:
> Hi Leonard,
>
>
>
> Thanks for your help/support.
>
>
>
> Please find my requirement below:
>
> Given a PDF document, I want to get B/W pages separately and Color Pages
> separately.
>
> A B/W page mean a PDF page in which all the objects use  “Mono Chrome/Gray
> Scale” Color Space.
>
> Any page that has  objects which uses Color space other  than “Mono
> Chrome/Gray Scale” color spaces is considered to be a color page.
>
>
>
>
>
> Thanks & Rgds
>
> Sriram K G
>
>
>
>
>
> From: Leonard Rosenthol [mailto:lrose...@adobe.com]
> Sent: Friday, June 14, 2013 9:46 PM
> To: Sriram Gopalan -ERS, HCL Tech; podofo-users@lists.sourceforge.net
> Subject: Re: [Podofo-users] PDF Page Functionalities
>
>
>
> PoDoFo can help you with #1, but not with #2.
>
>
>
> However, your #3 request shows a HUGE misunderstanding of PDF and color.
> As the content on each page is a collection of individual objects (text,
> vector and raster), EACH OBJECT can be represented in ANY of the 11(!!)
> different colorspaces available in PDF.   Perhaps if you gave us a HIGHER
> LEVEL description of the purpose of #3, we could help.
>
>
>
> Leonard
>
>
>
> From: "<Sriram Gopalan -ERS>", HCL Tech <srira...@hcl.com>
> Date: Friday, June 14, 2013 11:22 AM
> To: "podofo-users@lists.sourceforge.net"
> <podofo-users@lists.sourceforge.net>
> Subject: [Podofo-users] PDF Page Functionalities
>
>
>
> Hi,
>
>
>
> I require the following functionalities with respect to PDF Operations:
>
>
>
> 1)      Splitting a Page into multiple pages – I need to split some pages
> from one PDF and form a new PDF with those pages.
>
> 2)       Exporting Page as Image - I have a requirement to export a PDF page
> as an image file say GIF/JPEG.
>
> 3)      Identification Of Page Color –How to identify the color palette of a
> PDF Page. If I get the page exported as image, I can find that by reading
>
> PIXEL by PIXEL. Please share if there are direct methods available in
> library which would be better in performance.
>
>
>
> Thanks to everyone in advance for the support to my queries.
>
>
>
> Thanks & Rgds
>
> Sriram K G
>
>
>
> ::DISCLAIMER::
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only.
> E-mail transmission is not guaranteed to be secure or error-free as
> information could be intercepted, corrupted,
> lost, destroyed, arrive late or incomplete, or may contain viruses in
> transmission. The e mail and its contents
> (with or without referred errors) shall therefore not attach any liability
> on the originator or HCL or its affiliates.
> Views or opinions, if any, presented in this email are solely those of the
> author and may not necessarily reflect the
> views or opinions of HCL or its affiliates. Any form of reproduction,
> dissemination, copying, disclosure, modification,
> distribution and / or publication of this message without the prior written
> consent of authorized representative of
> HCL is strictly prohibited. If you have received this email in error please
> delete it and notify the sender immediately.
> Before opening any email and/or attachments, please check them for viruses
> and other defects.
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Podofo-users mailing list
> Podofo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/podofo-users
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to