Search found 7 matches

by jasonm
2014-03-05T11:39:58-07:00
Forum: Users
Topic: resize, crop and watermark
Replies: 13
Views: 6556

Re: resize, crop and watermark

good one! I'm no unix guru but escape the parentheses worked!

Thank you!
by jasonm
2014-03-05T11:15:32-07:00
Forum: Users
Topic: resize, crop and watermark
Replies: 13
Views: 6556

Re: resize, crop and watermark

I tried both, even copied and pasted in the Code: Select all ... still error -bash: syntax error near unexpected token `('
by jasonm
2014-03-05T11:05:30-07:00
Forum: Users
Topic: resize, crop and watermark
Replies: 13
Views: 6556

Re: resize, crop and watermark

I removed the () because I was getting this error;

convert 1fc214004c9481e4c8073e85323bfd4b.png (+clone -resize 200x200^ -gravity center -crop 200x200+0+0 -write out1.png +delete) (+clone -resize 100x100^ -gravity center -crop 100x100+0+0 -write out2.png +delete) NULL:
-bash: syntax error near ...
by jasonm
2014-03-05T10:40:50-07:00
Forum: Users
Topic: resize, crop and watermark
Replies: 13
Views: 6556

Re: resize, crop and watermark

I added the -gravity center command and it works! However, I'm getting duplicates;

[ ] +delete-0 05-Mar-2014 12:34 12K ????
[ ] +delete-1 05-Mar-2014 12:34 12K ????
[IMG] 1fc214004c9481e4c8073e85323bfd4b.png 20-Feb-2012 19:41 492K
[IMG] out1-0.png 05-Mar-2014 12:34 54K
[IMG] out1-1.png 05-Mar ...
by jasonm
2014-03-05T10:14:58-07:00
Forum: Users
Topic: resize, crop and watermark
Replies: 13
Views: 6556

Re: resize, crop and watermark

Thanks! I missed the caret ^ ... Is it possible to make two different but proportional thumbnails out of this resized and crop image at the same time?

eg. 900x1759 => 200x200 (resized, cropped) => 100x100 thumbnail => 50x50 thumbnail

Thank you.
by jasonm
2014-03-05T10:02:25-07:00
Forum: Users
Topic: resize, crop and watermark
Replies: 13
Views: 6556

Re: resize, crop and watermark

I tried -resize 200x200 but it does not seem to pick the shortest side - I end up with something like 156x200.
convert 1fc214004c9481e4c8073e85323bfd4b.png -resize 200x200 -gravity center -crop 200x200+0+0 200x200.png

I tried the following:
convert 1fc214004c9481e4c8073e85323bfd4b.png -trim -resize ...
by jasonm
2014-03-05T09:38:16-07:00
Forum: Users
Topic: resize, crop and watermark
Replies: 13
Views: 6556

resize, crop and watermark

Hi,

I'm new to ImageMagick and little confused how to do the following to a batch of images in a folder.

1. the images in the folder are various widths and heights (eg. 900x1759, 1280x400, etc)
2. re-size the images to 200px at the shortest dimension (either width or height)
3. crop the images in ...