[Gllug] Image cropping from a script

John Winters john at sinodun.org.uk
Wed Jul 4 17:14:04 UTC 2007


- Tethys wrote:
> I need to be able to crop an image from within a script, such that the
> resulting image is the smallest possible rectangle containing pixels
> of a given foreground colour. Any ideas?

I'm not sure I've fully understood your requirement here.  Surely the 
smallest possible rectangle containing pixels of a given foreground 
colour is a 1x1 square?

John
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list