RSS/Atom feed Twitter
Site is read-only, email is disabled

Request for script - Guillotine + Watermark

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

Request for script - Guillotine + Watermark sunslick 12 Sep 02:12
2017-09-12 02:12:10 UTC (over 6 years ago)
postings
2

Request for script - Guillotine + Watermark

Hi everyone,

I perform a very repetitive task which I would like to automate.

I have a lot of PDF files, that I need to cut in pieces, watermark them (based on name of source file) and then save them back as PDF. For example

This is the source file called Sample.PDF (attached)

I insert 2 horizontal guides to divide the file in three areas (the guides are always horizontal). They location and number of the guides varies from file to file.

Then I use the Guillotine tool to split the file in 3 files. Each of these files have to be watermarked at the bottom as Sample_00, Sample_01, Sample_02 and saved as Sample_00.pdf, Sample_01.pdf and Sample_02.pdf respectively (all attached). I am not fussed about the naming format as long as it starts with the name of the source file and ends with a sequence number.

I have been trying to automate the following steps 1. Run Guillotine 2. Add watermark (format eg Sample_nn) near the middle bottom of the page generated by guillotine 3. Save files as Sample_nn.pdf in the same directory as the source file.

I am afraid I don't enough Python-Fu to be able to do it. Could any one of you assist please? Much appreciate your help !