PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
Determine PDF is Color or Black&White https://forum.pdfsharp.net/viewtopic.php?f=2&t=1348 |
Page 1 of 1 |
Author: | klenzade [ Fri Sep 24, 2010 1:49 pm ] |
Post subject: | Determine PDF is Color or Black&White |
Is there a method to determine if the PDF is a color or grayscale or B&W document? I'm a pdfsharp noob so be gentle. |
Author: | klenzade [ Mon Oct 04, 2010 11:30 pm ] |
Post subject: | Re: Determine PDF is Color or Black&White |
Currently, we're reading in the pdf as string and using regex for /DeviceRGB or /DeviceGray. It's not always entirely accurate so was hoping there was a more formal (better) way. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |