crop black border
Posted: 2008-10-16T04:10:25-07:00
Hi,
I'm new to ImageMagick, I'm usign this (actually RMagick) to generate thumbnails.
I can do that very easily but I would like to trim black borders (letterbox) if present in the source jpg.
Is there a function for this, or a way to do that?
I could access pixel by pixel and understand where to crop, but I don't know how to do that.
Thanks in advance
bye
I'm new to ImageMagick, I'm usign this (actually RMagick) to generate thumbnails.
I can do that very easily but I would like to trim black borders (letterbox) if present in the source jpg.
Is there a function for this, or a way to do that?
I could access pixel by pixel and understand where to crop, but I don't know how to do that.
Thanks in advance
bye