github.com/kaydxh/golang@v0.0.131/pkg/gocv/cgo/third_path/graphics-magick/include/GraphicsMagick/magick/channel.h (about) 1 /* 2 Copyright (C) 2004 GraphicsMagick Group 3 4 This program is covered by multiple licenses, which are described in 5 Copyright.txt. You should have received a copy of Copyright.txt with this 6 package; otherwise see http://www.graphicsmagick.org/www/Copyright.html. 7 8 */ 9 #ifndef _MAGICK_CHANNEL_H 10 #define _MAGICK_CHANNEL_H 11 12 #if defined(__cplusplus) || defined(c_plusplus) 13 extern "C" { 14 #endif 15 16 17 extern MagickExport Image 18 *ExportImageChannel(const Image *image, 19 const ChannelType channel, 20 ExceptionInfo *exception); 21 22 extern MagickExport unsigned int 23 GetImageChannelDepth(const Image *image, 24 const ChannelType channel, 25 ExceptionInfo *exception); 26 27 extern MagickExport MagickPassFail 28 ChannelImage(Image *image,const ChannelType channel), 29 ImportImageChannel(const Image *src_image, 30 Image *dst_image, 31 const ChannelType channel), 32 ImportImageChannelsMasked(const Image *source_image, 33 Image *update_image, 34 const ChannelType channels), 35 SetImageChannelDepth(Image *image, 36 const ChannelType channel, 37 const unsigned int depth); 38 39 40 #if defined(__cplusplus) || defined(c_plusplus) 41 } 42 #endif 43 44 #endif /* _MAGICK_CHANNEL_H */ 45 46 /* 47 * Local Variables: 48 * mode: c 49 * c-basic-offset: 2 50 * fill-column: 78 51 * End: 52 */