okay, so I use an automated tool (maybe ghostscript) to convert each page in a PDF file to tiff 300dpi 1-bit BW images named by their page number.
However in GIMP, are there ways to automatically open all tiff files in the directory at once? Then all I need to do for each image is to erase the logo, save and close the image. On Mon, Nov 3, 2008 at 2:16 AM, David Gowers <[EMAIL PROTECTED]> wrote: > > Hi, > > On Sun, Nov 2, 2008 at 6:17 PM, Daryna Baikadamova > <[EMAIL PROTECTED]> wrote: > > Hi! > > > > I want to strip logo from every page of a PDF file and would like a script > > that: > > > > - opens a file (say "foo.pdf", preferably allow me to specify source > > filename) > > - specify convert each page to a image with 300dpi resolution > GIMP currently does not allow you to specify resolution when > non-interactively loading PDFs. > > > - convert all images (all pages) from RGB (or whatever) to indexed 1-bit > > black and white > > - save each image with foo_<4 digit page count (i.e. pad the left side with > > 0>.tiff and specify "CCITT group 4 fax" as the compression algorithm > > > > So that when the script finishes, all I have to do is to get rid of the logo > > by the eraser and click "save" again for each image. > > > > Would it be possible to automate the task mentioned above? > Yes, you could do this with a automation tool such as AutoIt (windows) > or xdotool (Linux) and a bit of Python scripting. > However, using ImageMagick instead (and not using GIMP at all for this > task, except the final editing) in conjunction with Python scriptiing > might be a less painful way to do this. > > David _______________________________________________ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user