Page 1 of 1

Plugin: getting the colormap

Posted: Sun Jul 24, 2011 2:28 pm
by __sam__
I'm currently writing a plugin to read a custom format (Thomson's machines MAP format). Reading works fine, and I'm wishing to add support to save pictures into that format. When looking at the plugin example I only get gfpSavePictureIsSupported(), gfpSavePictureInit() gfpSavePicturePutLine(). My question is: where do I get the colormap in case gfpSavePictureIsSupported received has_colormap==TRUE? gfpSavePictureGetColormap() seems to be lacking, isn't it?

regards,

sam.

Re: Plugin: getting the colormap

Posted: Mon Aug 08, 2011 12:52 pm
by xnview
you have gfpSavePicturePutColormap