Plugin: getting the colormap

Plug-ins, add-ons, skins, icons, templates and other downloads. Contributions are welcome.

Moderators: XnTriq, helmut, xnview

Post Reply
__sam__
Posts: 1
Joined: Sun Jul 24, 2011 2:17 pm

Plugin: getting the colormap

Post 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.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Plugin: getting the colormap

Post by xnview »

you have gfpSavePicturePutColormap
Pierre.
Post Reply