/usr/include/GraphicsMagick/magick/profile.h is in libgraphicsmagick1-dev 1.3.12-1.1build1.
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 | /*
Copyright (C) 2004 - 2009 GraphicsMagick Group
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 Methods For Manipulating Embedded Image Profiles.
*/
#ifndef _MAGICK_PROFILE_H
#define _MAGICK_PROFILE_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif /* defined(__cplusplus) || defined(c_plusplus) */
/*
Retrieve a profile from the image by name.
*/
extern MagickExport const unsigned char
*GetImageProfile(const Image* image, const char *name, size_t *length);
/*
Remove a profile from the image by name.
*/
extern MagickExport MagickPassFail
DeleteImageProfile(Image *image,const char *name);
/*
Apply (or add) a profile to the image.
*/
extern MagickExport MagickPassFail
ProfileImage(Image *image,const char *name,unsigned char *profile,
const size_t length,MagickBool clone);
/*
Add (or replace) profile to the image by name.
*/
extern MagickExport MagickPassFail
SetImageProfile(Image *image,const char *name,const unsigned char *profile,
const size_t length);
/*
Add (or append) profile to the image by name.
*/
extern MagickExport MagickPassFail
AppendImageProfile(Image *image,const char *name,
const unsigned char *profile_chunk,
const size_t chunk_length);
/*
Generic iterator for traversing profiles.
*/
typedef void *ImageProfileIterator;
/*
Allocate an image profile iterator which points to one before the
list so NextImageProfile() must be used to advance to first entry.
*/
extern MagickExport ImageProfileIterator
AllocateImageProfileIterator(const Image *image);
/*
Advance to next image profile. Name, profile, and length are
updated with information on current profile. MagickFail is returned
when there are no more entries.
*/
extern MagickExport MagickPassFail
NextImageProfile(ImageProfileIterator profile_iterator,const char **name,
const unsigned char **profile,size_t *length);
/*
Deallocate profile iterator.
*/
extern MagickExport void
DeallocateImageProfileIterator(ImageProfileIterator profile_iterator);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif /* defined(__cplusplus) || defined(c_plusplus) */
#endif /* _MAGICK_PROFILE_H */
/*
* Local Variables:
* mode: c
* c-basic-offset: 2
* fill-column: 78
* End:
*/
|