I try to define some separation color spaces for a presepareted document
(PdfStreamedDocument). PdfColorSeparation::BuildColorSpace does exactly
the job I otherwise would have to do manually, so I want to use it to
create all of the objects needed for my separation color spaces inside
my document object. But as soon as I call
PdfColorSeparation::BuildColorSpace an exception is raised. Shouldn't it
work together? I've attached a sample code.
#include "PoDoFo/podofo.h"
using namespace PoDoFo;
int main(int argc, char *argv[])
{
try
{
PdfStreamedDocument pdf_doc("test.pdf");
PdfColorSeparation sep("LightPink", 1.0, PdfColorCMYK(0.0,
0.32, 0.27, 0.0));
PdfObject *obj = sep.BuildColorSpace(pdf_doc.GetObjects());
pdf_doc.Close();
}
catch(const exception &)
{
return -1;
}
return 0;
}------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users