Am Sonntag, 4. Januar 2015, 15:12:57 schrieb Pascal Obry: > Le dimanche 04 janvier 2015 à 13:25 +0100, Tobias Ellinghaus a écrit : > > Without having looked at your code I personally would prefer to create a > > PDF file with the image(s) embedded. That has the benefit of using the > > standard format future CUPS printing will base on. And creating a static > > PDF isn't that hard. If you do that manually or via Cairo isn't that > > important (as long as Cairo doesn't get in the way by only supporting > > some small color space, bitdepth, ...). > > I've not followed this path, I saw your message just now! But all is > possible, do you have a link on how to create a PDF (never done that) > without dragging too many libraries? If possible I'll do that, no > problem.
I hope to have working PDF creation code ready by tomorrow. It already works in general, it's just super wasteful (3.2 MB JPEG turns into a 117 MB PDF since I haven't implemented image compression yet). And I didn't look into color profiles yet. Oh, and it is hardcoded to only support a single page with a single image until now. I will ping you once I have something worth looking at. Tobias
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________ darktable-devel mailing list darktable-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-devel