[Gllug] Image cropping from a script

- Tethys tethys at gmail.com
Wed Jul 4 17:23:18 UTC 2007


On 7/4/07, John Winters <john at sinodun.org.uk> wrote:

> 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?

Sorry, I should have said I want the smallest possible rectangle that
contains *all* the pixels of a given colour in the image.

Tet

-- 
Perl is like vise grips. You can do anything with it but it is the
wrong tool for every job. -- Bruce Eckel
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list