I think you have been given a requirement that doesn’t really make sense.
First, a PDF doesn’t have a single color. Each object on each page of the document can be any one of eleven (yes, 11!) different ways that color can be represented inside of a PDF. So what does it mean to “detect the color” in such an environment? Second, the bleed and trim boxes are just that – boxes. An array of four values that represents the four corners of a box/rectangle. It has not color, size, etc. You can easily get the values of the boxes from PoDoFo, but not sure what that will do for you. If you can get clearer requirements, we will be happy to help you. Leonard From: Ulagan Asokan <ulaga...@hcl.com> Date: Friday, August 19, 2016 at 6:21 AM To: "podofo-users@lists.sourceforge.net" <podofo-users@lists.sourceforge.net> Cc: Hariprabhakaran C <hariprabhakara...@hcl.com> Subject: [Podofo-users] Podofo reading Bleed/Trim box Hi, Our requirement is to detect the color of PDF based on the Bleed box/ Trim box contents. Is there any way to read the contents of trim box/bleed box from a PDF document? Best Regards, Ulagan ::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. ----------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------
_______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users