P.S. - Like Tor Lillqvist, I do have reasons why running gimp under Windows is pretty much a requirement, at least for right now. Also, Kevin Turner's pages are great for helping you understand how to get started wrting code for a plug-in, but unfortunately there is virtually nothing there with regard to compiling or building. Finally, thank God for all of Tor's win-gimp stuff. Without that I probably would have been way out in the weeds forever!!!
----- Original Message ----- From: "Kevin Myers" <[EMAIL PROTECTED]> To: "Carol Spears" <[EMAIL PROTECTED]>; "gimp developers" <[EMAIL PROTECTED]> Sent: Tuesday, October 15, 2002 10:26 PM Subject: Re: [Gimp-developer] Re: Fw: [Gimp-user] Threshold Crop Plug-in > Hi Carol - > > Thanks a lot for your reply, and the warnings! As it turns out, I am > already well down this path, and with surprisingly little difficulty have > been able to compile and run the first version of my new plug-in. In fact, > I am presently in the process of documenting the steps that were required. > BTW, I didn't even use gimptool. Admittedly, my plug-in is not very > complex, so I probably had an easier time of it than most. Anyway, I will > be posting back to the list soon with my results. Thanks again for your > reply and all of the links that you provided. I had already seen some of > them, but there were a few that were new to me. > > Regards, > s/KAM > > > ----- Original Message ----- > From: "Carol Spears" <[EMAIL PROTECTED]> > To: "gimp developers" <[EMAIL PROTECTED]> > Sent: Tuesday, October 15, 2002 8:49 PM > Subject: [Gimp-developer] Re: Fw: [Gimp-user] Threshold Crop Plug-in > > > > On 2002-10-14 at 1337.06 -0500, Kevin Myers typed this: > > > > > > ----- Original Message ----- > > > From: "Kevin Myers" <[EMAIL PROTECTED]> > > > To: "gimp users" <[EMAIL PROTECTED]> > > > 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: > > [EMAIL PROTECTED] > > > > carol > > > > _______________________________________________ > > Gimp-developer mailing list > > [EMAIL PROTECTED] > > http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer > > _______________________________________________ > Gimp-developer mailing list > [EMAIL PROTECTED] > http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer _______________________________________________ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer