Dominik Seichter wrote: > Hi, > > You mean ICC colour profiles? They cannot be set directly using PoDoFo's API > yet. Support for ICC profiles could be added easily though. If you want to, > you could read the relevant chapters in the PDF reference by yourself. It is > chapter 4.5.4. The relevant paragraph is about ICCBased ColorSpace > dictionaries. > > It should be fairly easy to construct such a dictionary by youself.
If you take this approach, you might want to consider extending the PdfImage class with your code to set the profile, and supplying a patch. ICC colour dictionaries need to be supported in PoDoFo and having the beginnings of that support would be quite nice if you're going to be writing it anyway. I'm sure you've noticed by now that much of PoDoFo is rather low level. It's not the ideal PDF library if you just want to make pretty boring PDF; it's more useful for modifying PDF, doing trickier things with the document structure or working with very large streams (like big images). That doesn't mean it shouldn't be usable to write PDF easily though, and if you land up with any enhancements to the canvas code etc I'd be glad to review any patches you might have. -- Craig Ringer ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
