Signing a multi page PDF

DateReadtime 2 minutes Tags

Background

Rather than printing a document, filling it out by hand and then scanning to so that you are able to return it electronically, use Gimp and ImageMagick to sign documents electronically.

Instructions

  1. First, make sure to have a png image with the signature on a transparent background.

  2. Next, open …

more ...

Making time lapses

DateReadtime 1 minutes Tags

Instructions

  1. Make a new directory and copy only the images that are used for the timelapse.
mkdir /tmp/tl
cp timelapse*.jpg /tmp/tl/
  1. Resize the images to a certain size. (Optional):

    for i in *.JPG; do echo -e "$i...\c"; convert "$i" -resize 1920x1080 "$i"; echo done; done
    
  2. Create …

more ...

Watermarking with Image Magick

DateSeries Part 4 of Image Magick Tags

I decided to try and start signing my pictures.

composite -watermark 15% -gravity southeast sign-1.png $i $i;

It needs more tweaking but that will do for now.

To convert all files in a directory:

for i in *.JPG; do
        echo -e "$i... \c";
        composite -watermark 15% -gravity southeast sign-1 …
more ...

Image Resizing with Image Magick II

DateSeries Part 2 of Image Magick Tags

I already posted about image magick before but since this time I actually needed to use it, I found the "for" statement to work better than find.

$ for i in *.jpg; do echo "$i"; convert "$i" -resize 600x "$i"; done

Edited:

$ for i in *.JPG; do echo -e "$i...\c …
more ...