[Gimp-developer] file-pdf patch

2009-07-14 Thread Thomas Frieling
Hi all! Just wanted to share a litte patch for file-pdf.c to support a max width/height and a page number as parameters. Maybe someone can clean the code and push it into the next gimp release. Usage: gimp -i -b '(pdftojpg inputfilename maxWidth maxHeight outputfilename quality radius delta

Re: [Gimp-developer] file-pdf patch

2009-07-14 Thread Thomas Frieling
I guess I also need to copypast the patch (attachments don't seem to work here...) So here it is: *** file-pdf.c 2008-11-20 23:43:49.0 +0100 --- file-pdf-patched.c 2009-05-07 16:51:02.0 +0200 *** *** 264,271 static const GimpParamDef thumb_args[] = {

Re: [Gimp-developer] file-pdf patch

2009-07-14 Thread Martin Nordholts
On 07/14/2009 08:00 PM, Thomas Frieling wrote: Hi all! Just wanted to share a litte patch for file-pdf.c to support a max width/height and a page number as parameters. Maybe someone can clean the code and push it into the next gimp release. Hi! Please attach this patch to bugzilla in

Re: [Gimp-developer] file-pdf patch

2009-07-14 Thread Sven Neumann
Hi, On Tue, 2009-07-14 at 20:04 +0200, Thomas Frieling wrote: I guess I also need to copypast the patch (attachments don't seem to work here...) That's why we kindly asked you to open an enhancement request and then attach your patch there. Thanks. Sven