S
S
Sergey Goryachev2016-02-29 16:04:24
linux
Sergey Goryachev, 2016-02-29 16:04:24

Mass reduction and cropping of pictures. How?

Here is a command that works well, but changes filenames(

convert -resize 250 -gravity Center -crop 150x150+0+0 *.jpg 1/

Actually, what is required: take pictures from the folder, resize, align to the center, crop.
After all operations, we transfer the files to folder 1.
Important : We transfer with the preservation of names!
Problem with filenames.
How to write a command here?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Goryachev, 2016-02-29
@webirus

I found the solution myself
Taken from here

M
mureevms, 2016-02-29
@mureevms

If you do not disdain the GUI, then I recommend the xnconvert cross-platform software .

A
abcd0x00, 2016-03-02
@abcd0x00

How to write a command here?

It must be written as functions: the first function will convert one file, as it should; the second function feeds the file to the first function and saves the result as it should.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question