V
V
vanyaseverin2015-10-27 14:01:42
Automation
vanyaseverin, 2015-10-27 14:01:42

How to bulk resize images provided they are larger than given height and width values?

Hello, let's say we have 1000 images that have different widths and heights. Of these images, only those whose width values ​​are larger than a certain value (for example, 800 px) need to be scaled down. Perhaps someone knows if there is already a ready-made solution?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
nirvimel, 2015-10-27
@vanyaseverin

All questions about batch image conversion have one answer - Imagemagick .
Specifically, in your case, it can help: convert -resize 600x600\> filename.jpg
This problem was discussed in more detail here .

M
Mrrl, 2015-10-27
@Mrl

I do this with Picasa. If you specify a size in the export, it will reduce those images that are needed so that both the width and height fit into this size. If the dimensions for width and height are different - I don't know.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question