Search found 4 matches

by weavermedia
2015-08-31T16:50:06-07:00
Forum: Users
Topic: Crop portrait/landscape to square without resizing or knowing the width/height
Replies: 4
Views: 6336

Re: Crop portrait/landscape to square without resizing or knowing the width/height

Thanks again snibgo!

Is it possible to nest -identify inside a mogrify command so I can process a whole folder with a one-liner?

Or will I have to loop through all files with this bash script. No problem to do that, I just like one-liners :D
by weavermedia
2015-08-30T17:30:23-07:00
Forum: Users
Topic: Crop portrait/landscape to square without resizing or knowing the width/height
Replies: 4
Views: 6336

Crop portrait/landscape to square without resizing or knowing the width/height

I have portrait and landscape images of varying dimensions. I'd like to crop them all to square, from the center, based on the shortest out of width and height. In math terms I think of it like this: (Math.min(width, height)) x (Math.min(width,height)) For example: 500x1000 > crops to 500x500 ...
by weavermedia
2015-08-30T17:17:56-07:00
Forum: Users
Topic: How to batch trim a white/gray legend from the bottom of image?
Replies: 2
Views: 1294

Re: How to batch trim a white/gray legend from the bottom of image?

Thanks snibgo, I'll give that try and see what I get.
by weavermedia
2015-08-30T16:47:12-07:00
Forum: Users
Topic: How to batch trim a white/gray legend from the bottom of image?
Replies: 2
Views: 1294

How to batch trim a white/gray legend from the bottom of image?

I have several hundred images of varying sizes and orientations. I need to trim them for a project. Each has a short (~30px) white border across the bottom which contains the filename in gray text. The height of the border varies by a few pixels between images. I'd like to trim this bottom border ...