/usr/include/GraphicsMagick/magick/color_lookup.h is in libgraphicsmagick1-dev 1.3.28-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | /*
Copyright (C) 2003 - 2009 GraphicsMagick Group
Copyright (C) 2002 ImageMagick Studio
This program is covered by multiple licenses, which are described in
Copyright.txt. You should have received a copy of Copyright.txt with this
package; otherwise see http://www.graphicsmagick.org/www/Copyright.html.
GraphicsMagick Color Lookup Methods.
*/
#ifndef _MAGICK_COLOR_LOOKUP_H
#define _MAGICK_COLOR_LOOKUP_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif /* defined(__cplusplus) || defined(c_plusplus) */
/*
Specifications that color is compliant with.
*/
typedef enum
{
UndefinedCompliance = 0x0000,
NoCompliance = 0x0000,
SVGCompliance = 0x0001,
X11Compliance = 0x0002,
XPMCompliance = 0x0004,
AllCompliance = 0xffff
} ComplianceType;
extern MagickExport char
**GetColorList(const char *pattern,unsigned long *number_colors);
extern MagickExport unsigned int
QueryColorDatabase(const char *name,PixelPacket *color,ExceptionInfo *exception),
QueryColorname(const Image *image,const PixelPacket *color,
const ComplianceType compliance,char *name,ExceptionInfo *exception);
#if defined(MAGICK_IMPLEMENTATION)
/*
Information about a named color (Internal).
*/
typedef struct _ColorInfo
{
char
*path,
*name;
ComplianceType
compliance;
PixelPacket
color;
unsigned int
stealth;
unsigned long
signature;
struct _ColorInfo
*previous,
*next;
} ColorInfo;
extern MagickExport const ColorInfo
*GetColorInfo(const char *name, ExceptionInfo *exception);
extern MagickExport ColorInfo
**GetColorInfoArray(ExceptionInfo *exception);
extern MagickExport void
DestroyColorInfo(void);
extern MagickExport unsigned int
ListColorInfo(FILE *file,ExceptionInfo *exception);
extern MagickPassFail
InitializeColorInfo(void);
#endif /* defined(MAGICK_IMPLEMENTATION) */
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif /* defined(__cplusplus) || defined(c_plusplus) */
#endif /* _MAGICK_COLOR_LOOKUP_H */
/*
* Local Variables:
* mode: c
* c-basic-offset: 2
* fill-column: 78
* End:
*/
|