Re: [Gimp-developer] how to convert gimps xcf format to pdf..
On 10/8/07, Pcdokteraanhuis wrote: > > I am a new user off GIMP and I like it.. > > but how canI how to convert gimps xcf format to pdf.. I started to write a plugin for gimp that allows to save an image directly to PDF. At the moment, each layer is stored separately in the PDF (compared to "print to PDF"). Text layers are not stored as selectable text but as an image layer. The plugin already works but needs some polish, before I will submit it. I try to work on it during the next couple of weeks. Stefan ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Print plugin
Hi, On Tue, Jul 24, 2007 at 07:29:20PM +0200, Sven Neumann wrote: > > I think the current implementation of the print plugin is fine, i.e. > > generate the PDF with opaque images. If someone needs to have a PDF with > > images with alpha values, it would be possible to write a 'save-as-pdf > > plugin' similar to the print plugin that uses also gtk_print_* > > functionality. I think that even layers could be embedded into the PDF. > > I > > could (try to) write such a plugin. > > I wouldn't base this on GtkPrint but directly on Cairo. GtkPrint just > adds funtionality to deal with printers, it wouldn't offer any advantage > if you are just creating a PDF file. Yes, this would of course also be possible and not too different from a GtkPrint approach. GtkPrint offers dialogs to choose the PageSize etc, which Cairo does not. > Export to PDF has often been requested. It would be particularly > interesting if it could contain text layers as PDF text elements. We are > missing some additions to the PDB text API to make this possible. But > the missing API could be added (after 2.4 of course). Ok, I will try to implement a plugin based on Cairo, but this will take some time... Stefan ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Print plugin
Hi, On Mon, Jul 23, 2007 at 07:35:17PM +0200, Sven Neumann wrote: > > If yes, a solution could be to not distinguish between a Postscript and a > > PDF target (i.e. to embed only opaque images into a PDF despite the fact > > that PDF can handle images with alpha values). > > Would this approach have any disadvantages? I think the current implementation of the print plugin is fine, i.e. generate the PDF with opaque images. If someone needs to have a PDF with images with alpha values, it would be possible to write a 'save-as-pdf plugin' similar to the print plugin that uses also gtk_print_* functionality. I think that even layers could be embedded into the PDF. I could (try to) write such a plugin. So, there the question remains whether someone would use this? Stefan ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
[Gimp-developer] Print plugin
Hi, I have submitted a patch which (slightly) improves the quality of the print plugin (see Bug #387604). The problem basically was that Postscript can't cope with transparency. In contrast, PDF is able to do so. The current implementation/patch now has a disadvantage: if you print to a postscript target, the image has to be exported TWICE: once for the 'print preview widget' (with alpha) and once for the postscript target (without alpha). This is certainly not optimal regarding memory consumption. So the question is, whether this is a real problem or not. If yes, a solution could be to not distinguish between a Postscript and a PDF target (i.e. to embed only opaque images into a PDF despite the fact that PDF can handle images with alpha values). In this case, we only have to export the image at most once. Stefan ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer