Tag Archive for: resize

Let’s allow the user to resize any element

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% *

Text Fill

You can easily resize text to make it fit into a container. The font size gets as big as possible. Open the example in JSFiddle, resize the result window and/or change the text into the div tag and rerun.