on Wed, Aug 29, 2001 at 10:43:05AM +0200, Nico De Ranter ([EMAIL PROTECTED]) wrote: > Howdy, > > I'm afraid this is not realy Debian related but I'm not sure where > to turn to otherwise and you guys seem to now everything anyway :-) > > I'm looking for a (free) tool (Linux or Windows, Linux prefered ofcourse) to > cut up an image in rows and columns. I'm writing a webinterface to > my ethernet switches, I have a drawing of the switch but I would like > to be able to color the ports depending on some criteria. I figure the > easiest way to do this is to cut up the image, create an HTMl table > that fits it back together and fill in the correct images for the > status of the ports. I tried a number of image editors to cut up > the original image but I found no program that is able the at least > cut an image into two new images. In stead I have to select a part, > cut it into a new image, select another piece... But I always end up > having pieces with 1 line too much or missing :-(. There has to be > something outthere...
'mogrify' includes a '-crop' option which can be used to crop an impage to a certain size. I'd think that this could be applied programmatically to create regularly sized pieces of a graphic. -- Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/ What part of "Gestalt" don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org Free Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org Geek for Hire http://kmself.home.netcom.com/resume.html
pgpWOapFDmsB6.pgp
Description: PGP signature