Hi,

On Fri, 2006-11-24 at 22:09 -0600, Chris Mohler wrote:

> I thought I'd give a shot at adding spot colors to the GIMP TIFF 
> implementation.

Nice.

> If I understand, I need to look at /gimp/plug-ins/common/tiff.c and
> add some of the functionality found in /gimp/app/xcf/(?)
> (specifically, the portion that assigns the channel color and
> opacity), and have tiff.c write the channels to file following the
> TIFF 6 spec.

Saving and loading TIFF files is implemented as a plug-in. You can't
easily copy code from the core application (as found in the app
directory) to a plug-in. You can only use the API that is exported to
plug-ins. But you should find everything you need there. Check the API
reference and look for gimp_channel_get_color() and
gimp_channel_get_opacity().

Please base your efforts on the development branch or a recent 2.3
snapshot.


Sven


_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to