On 2002-10-14 at 1337.06 -0500, Kevin Myers typed this: > > ----- Original Message ----- > From: "Kevin Myers" <KevinMyers@xxxxxxxxxxxxx> > To: "gimp users" <gimp-user@xxxxxxxxxxxxxxxxxxxxxx> > Sent: Monday, October 14, 2002 10:23 AM > Subject: [Gimp-user] Threshold Crop Plug-in > > > > Hello, > > > > I would like to develop (or preferably locate) a tool somewhat similar to > > the default gimp autocrop, but with this difference: It would allow you > to > > specify a threshold range in some manner for the border that is to be > > cropped. If it handles RGB that would be fine, but in my case all that I > > really care about is grayscale. > > > > I've searched the gimp registry and didn't see anything similar, so I'm > > considering writing one of my own by using the existing autocrop plug-in > as > > a starting point. I've done some preliminary looking at the code and have > > written pseudo-code for the primary changes that would be needed. > However, > > I can't seem to locate any docs on what you actually need in order to > > compile a plug-in... > > http://gimp-plug-ins.sourceforge.net/doc/Writing/html/plug-in.html gimptool builds plugins. try "gimptool --help" although the man page (included in the source) would prolly help anyone developing gimp more. > > I would think that I can easily locate and download the header file(s) for > > libgimp. But I'm an inexperienced C developer, and don't know what else > if > > anything that I may need. I will be mucking with tiff files, but since > gimp > > itself will be doing all of the actual file interaction, I don't think > that > > I should need libtiff or anything like that, right? Also, I don't need > the > > libgimp source other than the header files, do I? > > check Xtns -->Pdb for gimp access to the various libraries > > Finally, I will be doing my work under Windows. I have several compilers > > available, including a couple of versions of Microsoft Visual C++. I > don't > > want my plug-in to be dependent on Cygwin libraries or anything like that, > > so I don't plan to use Cygwin for this development. By default (because I > > don't know any better) I was planning to MSVC++ 6.0 to write and compile > the > > plug-in. Will this work? Are there any other tools that I am likely to > > need in order to develop this extremely simple plug-in? > > my first instinct is to tell you *not* to try to build anything for gimp on windows. actually, my second and third instinct tell me this too. but if you must, there is a win-gimp developers list that will prolly be more helpful to you. most of the gimp developers don't waste their time with propietory software ... here is a document describing the dirty truth as to why gimp exists on windows: http://www.gimp.org/~tml/gimp/win32/why.html and here is the mail list for those poor bas^H^H^Hdevelopers: gimpwin-dev@xxxxxxxxxxxxxxx carol