Search found 5 matches

by mopi42
2016-02-08T13:47:36-07:00
Forum: Users
Topic: converting with max size
Replies: 8
Views: 15488

Re: converting with max size

Yes it works thank you very much ! You have an answer for all questions thank you !
by mopi42
2016-02-08T12:01:35-07:00
Forum: Users
Topic: converting with max size
Replies: 8
Views: 15488

Re: converting with max size

Thank's for your help. I used : for jpg images : mogrify -resize 1500x1500> -path /home/result *.jpg and for png images : mogrify -background White -alpha remove -format JPG -resize 1500x1500> -path /home/result *.png But 2 problems : 1) The path /home/result (destination) doesn't work and the ...
by mopi42
2016-02-08T11:13:00-07:00
Forum: Users
Topic: converting with max size
Replies: 8
Views: 15488

Re: converting with max size

I found this:

Code: Select all

-define jpeg:size=128x128
But I would like to keep ratio ..
by mopi42
2016-02-08T11:11:21-07:00
Forum: Users
Topic: converting with max size
Replies: 8
Views: 15488

Re: converting with max size

OK thank's but is there any way to also resize image (because I would like maximum 1500*1500) So something like -maxsize 1500*1500 (and keep ratio so for example make an image 1500*1354) But if the picture is less than 1500*1500 don't resize it. So first step is resize near from 1500*1500 and second ...
by mopi42
2016-02-08T02:31:31-07:00
Forum: Users
Topic: converting with max size
Replies: 8
Views: 15488

converting with max size

Hey, Sorry for my english. Actually, I'm using 2 command line to resize images (jpg to jpg or png to jpg depend of original type). mogrify -resize 50% /home/repository_destination *.jpg or convert -background white -flatten -resize 50% img_src.png img_dest.jpg 1) For the second command line, how to ...