MagickCore  6.9.11-59
Convert, Edit, Or Compose Bitmap Images
colormap.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2021 ImageMagick Studio LLC, a non-profit organization
3  dedicated to making software imaging solutions freely available.
4 
5  You may not use this file except in compliance with the License. You may
6  obtain a copy of the License at
7 
8  https://imagemagick.org/script/license.php
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 
16  MagickCore image colormap methods.
17 */
18 #ifndef MAGICKCORE_COLORMAP_H
19 #define MAGICKCORE_COLORMAP_H
20 
21 #if defined(__cplusplus) || defined(c_plusplus)
22 extern "C" {
23 #endif
24 
26  AcquireImageColormap(Image *,const size_t),
27  CycleColormapImage(Image *,const ssize_t),
29 
30 #if defined(__cplusplus) || defined(c_plusplus)
31 }
32 #endif
33 
34 #endif
SetImageType
MagickExport MagickBooleanType SetImageType(Image *image, const ImageType type)
Definition: attribute.c:1536
AcquireImageColormap
MagickExport MagickBooleanType AcquireImageColormap(Image *, const size_t)
MagickExport
#define MagickExport
Definition: method-attribute.h:80
_Image::debug
MagickBooleanType debug
Definition: image.h:290
_Image::filename
char filename[MaxTextExtent]
Definition: image.h:278
colormap-private.h
OpaqueOpacity
#define OpaqueOpacity
Definition: image.h:27
DirectClass
@ DirectClass
Definition: magick-type.h:198
GetMagickModule
#define GetMagickModule()
Definition: log.h:29
DestroyCacheView
MagickExport CacheView * DestroyCacheView(CacheView *cache_view)
Definition: cache-view.c:256
geometry.h
MagickCoreSignature
#define MagickCoreSignature
Definition: method-attribute.h:86
ResizeQuantumMemory
MagickExport void * ResizeQuantumMemory(void *memory, const size_t count, const size_t quantum)
Definition: memory.c:1447
GetCacheViewAuthenticPixels
MagickExport PixelPacket * GetCacheViewAuthenticPixels(CacheView *cache_view, const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, ExceptionInfo *exception)
Definition: cache-view.c:473
magick_restrict
#define magick_restrict
Definition: MagickCore.h:41
SetPixelRGBO
#define SetPixelRGBO(pixel, packet)
Definition: pixel-accessor.h:96
image-private.h
monitor.h
_Image::columns
size_t columns
Definition: image.h:174
AcquireImageColormap
MagickExport MagickBooleanType AcquireImageColormap(Image *image, const size_t colors)
Definition: colormap.c:103
IndexPacket
Quantum IndexPacket
Definition: pixel.h:129
resource_.h
ResourceLimitError
@ ResourceLimitError
Definition: exception.h:55
_PixelPacket::blue
Quantum blue
Definition: pixel.h:143
utility.h
CycleColormapImage
MagickExport MagickBooleanType CycleColormapImage(Image *image, const ssize_t displace)
Definition: colormap.c:177
_CacheView
Definition: cache-view.c:66
ConstrainColormapIndex
static IndexPacket ConstrainColormapIndex(Image *image, const ssize_t index)
Definition: colormap-private.h:29
string_.h
quantum.h
ThrowBinaryImageException
#define ThrowBinaryImageException(severity, tag, context)
Definition: exception-private.h:35
MagickTrue
@ MagickTrue
Definition: magick-type.h:205
blob.h
semaphore.h
PixelPacketIntensity
static Quantum PixelPacketIntensity(const PixelPacket *pixel)
Definition: pixel-accessor.h:219
GetPixelIndex
#define GetPixelIndex(indexes)
Definition: pixel-accessor.h:44
SyncCacheViewAuthenticPixels
MagickExport MagickBooleanType SyncCacheViewAuthenticPixels(CacheView *magick_restrict cache_view, ExceptionInfo *exception)
Definition: cache-view.c:1000
thread-private.h
TraceEvent
@ TraceEvent
Definition: log.h:38
_Image::colormap
PixelPacket * colormap
Definition: image.h:180
SortColormapByIntensity
MagickExport MagickBooleanType SortColormapByIntensity(Image *)
Definition: colormap.c:292
_Image
Definition: image.h:153
GetCacheViewAuthenticIndexQueue
MagickExport IndexPacket * GetCacheViewAuthenticIndexQueue(CacheView *cache_view)
Definition: cache-view.c:564
SortColormapByIntensity
MagickExport MagickBooleanType SortColormapByIntensity(Image *image)
Definition: colormap.c:292
MaxColormapSize
#define MaxColormapSize
Definition: magick-type.h:81
AcquireAuthenticCacheView
MagickExport CacheView * AcquireAuthenticCacheView(const Image *image, ExceptionInfo *exception)
Definition: cache-view.c:111
MagickMax
#define MagickMax(x, y)
Definition: image-private.h:36
attribute.h
_Image::colors
size_t colors
Definition: image.h:177
quantize.h
_Image::exception
ExceptionInfo exception
Definition: image.h:287
PaletteType
@ PaletteType
Definition: image.h:55
MagickFalse
@ MagickFalse
Definition: magick-type.h:204
xml-tree.h
pixel-private.h
IntensityCompare
static int IntensityCompare(const void *x, const void *y)
Definition: colormap.c:273
_PixelPacket::opacity
Quantum opacity
Definition: pixel.h:146
color-private.h
_PixelPacket::red
Quantum red
Definition: pixel.h:145
QuantumRange
#define QuantumRange
Definition: magick-type.h:90
_Image::rows
size_t rows
Definition: image.h:175
_PixelPacket::green
Quantum green
Definition: pixel.h:144
cache-view.h
cache.h
CycleColormapImage
MagickExport MagickBooleanType CycleColormapImage(Image *, const ssize_t)
_Image::signature
size_t signature
Definition: image.h:307
MagickBooleanType
MagickBooleanType
Definition: magick-type.h:203
RelinquishMagickMemory
MagickExport void * RelinquishMagickMemory(void *memory)
Definition: memory.c:1162
_ExceptionInfo
Definition: exception.h:103
SetPixelIndex
#define SetPixelIndex(indexes, value)
Definition: pixel-accessor.h:78
studio.h
_Image::storage_class
ClassType storage_class
Definition: image.h:155
monitor-private.h
PseudoClass
@ PseudoClass
Definition: magick-type.h:199
memory_.h
color.h
pixel-accessor.h
exception-private.h
exception.h
option.h
SetImageStorageClass
MagickExport MagickBooleanType SetImageStorageClass(Image *image, const ClassType storage_class)
Definition: image.c:2595
gem.h
LogMagickEvent
MagickExport MagickBooleanType LogMagickEvent(const LogEventType type, const char *module, const char *function, const size_t line, const char *format,...)
Definition: log.c:1420
token.h
client.h
_PixelPacket
Definition: pixel.h:132
ThrowBinaryException
#define ThrowBinaryException(severity, tag, context)
Definition: exception-private.h:29
AcquireQuantumMemory
MagickExport void * AcquireQuantumMemory(const size_t count, const size_t quantum)
Definition: memory.c:665
Quantum
unsigned short Quantum
Definition: magick-type.h:89
configure.h
colormap.h