Re: [Gimp-developer] Plug-in question

2001-03-29 Thread Nathan C Summers
On Thu, 29 Mar 2001, Wolfgang Mueller wrote: > SB> Why using hyphen-seaparated-words-is-better is beyond > SB> me, but it seems to be what folks decided upon. > > I guess: it's lisp-ish, and it's what emacs does. > > (I would still be interested in hearing the real reason ;-) Only the illustriou

Re: [Gimp-developer] Plug-in question

2001-03-29 Thread Wolfgang Mueller
SB> Why using hyphen-seaparated-words-is-better is beyond SB> me, but it seems to be what folks decided upon. I guess: it's lisp-ish, and it's what emacs does. (I would still be interested in hearing the real reason ;-) SB> Happy GIMPing, Same to you, Wolfgang -- Wolfgang Müller, assistant-

Re: [Gimp-developer] Plug-in question

2001-03-29 Thread Seth Burgess
They are file-jpeg-load if used within script-fu (and python? dunno) and file_jpeg_load if used from C or perl (which don't like using '-' in function names). Why using hyphen-seaparated-words-is-better is beyond me, but it seems to be what folks decided upon. Happy GIMPing, Seth --- Mark <[EM

Re: [Gimp-developer] Plug-in question

2001-03-29 Thread Mark
Just a quick question. I did get this working, but I want to be certain of one issue. The PDB function is file-jpeg-load, but I have to spell it file_jpeg_load in my const char * which I pass to gimp_run_procedure. Is this the standard, are all functions o fthe form xxx-xxx-xxx really xxx_xx

Re: [Gimp-developer] Plug-in question

2001-03-29 Thread Simon Budig
Mark ([EMAIL PROTECTED]) wrote: > What is the PDB function call to automatically open a jpeg from within an > extension? "file-jpeg-load" (surprise!) :-) This returns an image ID and you need to do an "gimp-display-new" (and probably a "gimp-displays-flush" is a good idea). There is also a "

[Gimp-developer] Plug-in question

2001-03-28 Thread Mark
I'm trying to code a simple plug-in that will be used by my company. The purpose is to grab a photo from a database server and load it into gimp. When the photo needs to be saved, it should go back to the db, not the filesystem. I am using the filesystem for temp storage of the photos for a