Re: [Gimp-developer] Read/write plugin

2004-07-05 Thread Sven Neumann
Hi,

Shlomi Fish [EMAIL PROTECTED] writes:

 If there's an API function that you don't understand you can look at
 its description in the header files and source code under
 libgimp/, libgimpbase, etc. grep is your friend.

I also suggest you use the API documentation which can be found in the
GIMP source tree in the devel-docs folder or online at

  http://developer.gimp.org/api/2.0/


Sven
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Read/write plugin

2004-07-05 Thread Soren Hauberg
Hi again
Thanks for all the reply's - that was really fast.
Anyway, I'll be looking into the bmp plug-in and then I'll properbly 
come running for help again.

Thanks all,
Søren
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


[Gimp-developer] Read/write plugin

2004-07-04 Thread Soren Hauberg
Hi everybody
This is my first post to this list, so please be gentle :-)
I'm a student of computer science at the University of Copenhagen (DIKU) 
working mostly with image processing. At DIKU we have a rather old image 
C library and hence quite a bit images stored in the image format used 
in this library.
I'd like to be able to read and write this kind of images in gimp, but 
how do I get started?
I guess I have to write a plugin but the docs a rather outdated (at 
least the ones I can find). Any hints on how to get started would be 
appreciated.

Regards,
Søren
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Read/write plugin

2004-07-04 Thread David Neary
Hi Soren,

Soren Hauberg wrote:
 I'd like to be able to read and write this kind of images in gimp, but 
 how do I get started?

I did a presentation on writing plug-ins in GUADEC - *very* basic
but there is a sample plug-in included. The paper is online at
http://dneary.free.fr/gimp

 I guess I have to write a plugin but the docs a rather outdated (at 
 least the ones I can find). Any hints on how to get started would be 
 appreciated.

Your best bet, once you know the basics of a plug-in, is to pick
an existing file plug-in that does a simple format. The one I
usually reccommend is pnm - in the GIMP sources, this is in
plug-ins/common/pnm.c. This is good because it shows the basics
of saving and writing an image without having the overhead of
using a 3rd party library, or having file format overhead
involved.

Cheers,
Dave.

-- 
David Neary,
Lyon, France
   E-Mail: [EMAIL PROTECTED]
CV: http://dneary.free.fr/CV/
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Read/write plugin

2004-07-04 Thread Jeff Trefftzs
On Sun, 2004-07-04 at 11:23, Soren Hauberg wrote:
 Hi everybody
 This is my first post to this list, so please be gentle :-)
 I'm a student of computer science at the University of Copenhagen (DIKU) 
 working mostly with image processing. At DIKU we have a rather old image 
 C library and hence quite a bit images stored in the image format used 
 in this library.
 I'd like to be able to read and write this kind of images in gimp, but 
 how do I get started?

You didn't say what format the C library uses:  perhaps it's one of the
many for which conversion programs already exist.  If you are running on
a *nix system (Unix, Linux, BSD, Solaris ...) the portable bitmap
package may already have a conversion program.  And then there's always
ImageMagick, which also can convert to and from innumerable image
formats.

If the issue is more one of learning how to write a Gimp plug-in, other
messages in this thread will probably be of more help.

HTH,

-- 
Jeff


___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer