Tag Archive for: image

Resize a bunch of images at the same time using a Bash loop

You can take advantage of Bash and ImageMagick to quickly do processing of many images.

for file in *.jpg; do convert $file -resize 1000 resized-$file; done

But it could be even easier using the command mogrify from the same library:

HOW TO RESIZE MULTIPLE IMAGES AT ONCE

How to Resize Multiple Images at Once

mogrify *.jpg -scale 50% *

Basic Optical Character Recognition with Tesseract

Choose an image with some text written to start detection.

Tumblr’s images viewer

It shows up one image every 5 seconds (one per post). You can go forward and backward using cursor arrows (click inside first to be in context).

You could extend this example adding up and down cursor arrows to switch between different tumblrs.