[1046] | 1 | /*
|
---|
| 2 | * gdiplusimaging.h
|
---|
| 3 | *
|
---|
| 4 | * GDI+ Imaging and image metadata
|
---|
| 5 | *
|
---|
| 6 | * This file is part of the w32api package.
|
---|
| 7 | *
|
---|
| 8 | * Contributors:
|
---|
| 9 | * Created by Markus Koenig <markus@stber-koenig.de>
|
---|
| 10 | *
|
---|
| 11 | * THIS SOFTWARE IS NOT COPYRIGHTED
|
---|
| 12 | *
|
---|
| 13 | * This source code is offered for use in the public domain. You may
|
---|
| 14 | * use, modify or distribute it freely.
|
---|
| 15 | *
|
---|
| 16 | * This code is distributed in the hope that it will be useful but
|
---|
| 17 | * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
---|
| 18 | * DISCLAIMED. This includes but is not limited to warranties of
|
---|
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
---|
| 20 | *
|
---|
| 21 | */
|
---|
| 22 |
|
---|
| 23 | #ifndef __GDIPLUS_IMAGING_H
|
---|
| 24 | #define __GDIPLUS_IMAGING_H
|
---|
| 25 | #if __GNUC__ >=3
|
---|
| 26 | #pragma GCC system_header
|
---|
| 27 | #endif
|
---|
| 28 |
|
---|
| 29 | typedef enum ImageCodecFlags {
|
---|
| 30 | ImageCodecFlagsEncoder = 0x00000001,
|
---|
| 31 | ImageCodecFlagsDecoder = 0x00000002,
|
---|
| 32 | ImageCodecFlagsSupportBitmap = 0x00000004,
|
---|
| 33 | ImageCodecFlagsSupportVector = 0x00000008,
|
---|
| 34 | ImageCodecFlagsSeekableEncode = 0x00000010,
|
---|
| 35 | ImageCodecFlagsBlockingDecode = 0x00000020,
|
---|
| 36 | ImageCodecFlagsBuiltin = 0x00010000,
|
---|
| 37 | ImageCodecFlagsSystem = 0x00020000,
|
---|
| 38 | ImageCodecFlagsUser = 0x00040000
|
---|
| 39 | } ImageCodecFlags;
|
---|
| 40 |
|
---|
| 41 | typedef enum ImageFlags {
|
---|
| 42 | ImageFlagsNone = 0,
|
---|
| 43 | ImageFlagsScalable = 0x00000001,
|
---|
| 44 | ImageFlagsHasAlpha = 0x00000002,
|
---|
| 45 | ImageFlagsHasTranslucent = 0x00000004,
|
---|
| 46 | ImageFlagsPartiallyScalable = 0x00000008,
|
---|
| 47 | ImageFlagsColorSpaceRGB = 0x00000010,
|
---|
| 48 | ImageFlagsColorSpaceCMYK = 0x00000020,
|
---|
| 49 | ImageFlagsColorSpaceGRAY = 0x00000040,
|
---|
| 50 | ImageFlagsColorSpaceYCBCR = 0x00000080,
|
---|
| 51 | ImageFlagsColorSpaceYCCK = 0x00000100,
|
---|
| 52 | ImageFlagsHasRealDPI = 0x00001000,
|
---|
| 53 | ImageFlagsHasRealPixelSize = 0x00002000,
|
---|
| 54 | ImageFlagsReadOnly = 0x00010000,
|
---|
| 55 | ImageFlagsCaching = 0x00020000
|
---|
| 56 | } ImageFlags;
|
---|
| 57 |
|
---|
| 58 | typedef enum ImageLockMode {
|
---|
| 59 | ImageLockModeRead = 1,
|
---|
| 60 | ImageLockModeWrite = 2,
|
---|
| 61 | ImageLockModeUserInputBuf = 4
|
---|
| 62 | } ImageLockMode;
|
---|
| 63 |
|
---|
| 64 | typedef enum ItemDataPosition {
|
---|
| 65 | ItemDataPositionAfterHeader = 0,
|
---|
| 66 | ItemDataPositionAfterPalette = 1,
|
---|
| 67 | ItemDataPositionAfterBits = 2
|
---|
| 68 | } ItemDataPosition;
|
---|
| 69 |
|
---|
| 70 | typedef enum RotateFlipType {
|
---|
| 71 | RotateNoneFlipNone = 0,
|
---|
| 72 | Rotate90FlipNone = 1,
|
---|
| 73 | Rotate180FlipNone = 2,
|
---|
| 74 | Rotate270FlipNone = 3,
|
---|
| 75 | RotateNoneFlipX = 4,
|
---|
| 76 | Rotate90FlipX = 5,
|
---|
| 77 | Rotate180FlipX = 6,
|
---|
| 78 | Rotate270FlipX = 7,
|
---|
| 79 | Rotate180FlipXY = 0,
|
---|
| 80 | Rotate270FlipXY = 1,
|
---|
| 81 | RotateNoneFlipXY = 2,
|
---|
| 82 | Rotate90FlipXY = 3,
|
---|
| 83 | Rotate180FlipY = 4,
|
---|
| 84 | Rotate270FlipY = 5,
|
---|
| 85 | RotateNoneFlipY = 6,
|
---|
| 86 | Rotate90FlipY = 7
|
---|
| 87 | } RotateFlipType;
|
---|
| 88 |
|
---|
| 89 | typedef struct BitmapData {
|
---|
| 90 | UINT Width;
|
---|
| 91 | UINT Height;
|
---|
| 92 | INT Stride;
|
---|
| 93 | INT PixelFormat; /* MSDN: "PixelFormat PixelFormat;" */
|
---|
| 94 | VOID *Scan0;
|
---|
| 95 | UINT_PTR Reserved;
|
---|
| 96 | } BitmapData;
|
---|
| 97 |
|
---|
| 98 | typedef struct EncoderParameter {
|
---|
| 99 | GUID Guid;
|
---|
| 100 | ULONG NumberOfValues;
|
---|
| 101 | ULONG Type;
|
---|
| 102 | VOID *Value;
|
---|
| 103 | } EncoderParameter;
|
---|
| 104 |
|
---|
| 105 | typedef struct EncoderParameters {
|
---|
| 106 | UINT Count;
|
---|
| 107 | EncoderParameter Parameter[1];
|
---|
| 108 | } EncoderParameters;
|
---|
| 109 |
|
---|
| 110 | typedef struct ImageCodecInfo {
|
---|
| 111 | CLSID Clsid;
|
---|
| 112 | GUID FormatID;
|
---|
| 113 | WCHAR *CodecName;
|
---|
| 114 | WCHAR *DllName;
|
---|
| 115 | WCHAR *FormatDescription;
|
---|
| 116 | WCHAR *FilenameExtension;
|
---|
| 117 | WCHAR *MimeType;
|
---|
| 118 | DWORD Flags;
|
---|
| 119 | DWORD Version;
|
---|
| 120 | DWORD SigCount;
|
---|
| 121 | DWORD SigSize;
|
---|
| 122 | BYTE *SigPattern;
|
---|
| 123 | BYTE *SigMask;
|
---|
| 124 | } ImageCodecInfo;
|
---|
| 125 |
|
---|
| 126 | /* FIXME: The order of fields is probably wrong. Please don't use this
|
---|
| 127 | * structure until this problem is resolved! Can't test because
|
---|
| 128 | * ImageItemData is not supported by the redistributable GDI+ 1.0 DLL. */
|
---|
| 129 | typedef struct ImageItemData {
|
---|
| 130 | UINT Size;
|
---|
| 131 | UINT Position;
|
---|
| 132 | VOID *Desc;
|
---|
| 133 | UINT DescSize;
|
---|
| 134 | UINT *Data;
|
---|
| 135 | UINT DataSize;
|
---|
| 136 | UINT Cookie;
|
---|
| 137 | } ImageItemData;
|
---|
| 138 |
|
---|
| 139 | typedef struct PropertyItem {
|
---|
| 140 | PROPID id;
|
---|
| 141 | ULONG length;
|
---|
| 142 | WORD type;
|
---|
| 143 | VOID *value;
|
---|
| 144 | } PropertyItem;
|
---|
| 145 |
|
---|
| 146 | #define PropertyTagGpsVer ((PROPID) 0x0000)
|
---|
| 147 | #define PropertyTagGpsLatitudeRef ((PROPID) 0x0001)
|
---|
| 148 | #define PropertyTagGpsLatitude ((PROPID) 0x0002)
|
---|
| 149 | #define PropertyTagGpsLongitudeRef ((PROPID) 0x0003)
|
---|
| 150 | #define PropertyTagGpsLongitude ((PROPID) 0x0004)
|
---|
| 151 | #define PropertyTagGpsAltitudeRef ((PROPID) 0x0005)
|
---|
| 152 | #define PropertyTagGpsAltitude ((PROPID) 0x0006)
|
---|
| 153 | #define PropertyTagGpsGpsTime ((PROPID) 0x0007)
|
---|
| 154 | #define PropertyTagGpsGpsSatellites ((PROPID) 0x0008)
|
---|
| 155 | #define PropertyTagGpsGpsStatus ((PROPID) 0x0009)
|
---|
| 156 | #define PropertyTagGpsGpsMeasureMode ((PROPID) 0x000A)
|
---|
| 157 | #define PropertyTagGpsGpsDop ((PROPID) 0x000B)
|
---|
| 158 | #define PropertyTagGpsSpeedRef ((PROPID) 0x000C)
|
---|
| 159 | #define PropertyTagGpsSpeed ((PROPID) 0x000D)
|
---|
| 160 | #define PropertyTagGpsTrackRef ((PROPID) 0x000E)
|
---|
| 161 | #define PropertyTagGpsTrack ((PROPID) 0x000F)
|
---|
| 162 | #define PropertyTagGpsImgDirRef ((PROPID) 0x0010)
|
---|
| 163 | #define PropertyTagGpsImgDir ((PROPID) 0x0011)
|
---|
| 164 | #define PropertyTagGpsMapDatum ((PROPID) 0x0012)
|
---|
| 165 | #define PropertyTagGpsDestLatRef ((PROPID) 0x0013)
|
---|
| 166 | #define PropertyTagGpsDestLat ((PROPID) 0x0014)
|
---|
| 167 | #define PropertyTagGpsDestLongRef ((PROPID) 0x0015)
|
---|
| 168 | #define PropertyTagGpsDestLong ((PROPID) 0x0016)
|
---|
| 169 | #define PropertyTagGpsDestBearRef ((PROPID) 0x0017)
|
---|
| 170 | #define PropertyTagGpsDestBear ((PROPID) 0x0018)
|
---|
| 171 | #define PropertyTagGpsDestDistRef ((PROPID) 0x0019)
|
---|
| 172 | #define PropertyTagGpsDestDist ((PROPID) 0x001A)
|
---|
| 173 | #define PropertyTagNewSubfileType ((PROPID) 0x00FE)
|
---|
| 174 | #define PropertyTagSubfileType ((PROPID) 0x00FF)
|
---|
| 175 | #define PropertyTagImageWidth ((PROPID) 0x0100)
|
---|
| 176 | #define PropertyTagImageHeight ((PROPID) 0x0101)
|
---|
| 177 | #define PropertyTagBitsPerSample ((PROPID) 0x0102)
|
---|
| 178 | #define PropertyTagCompression ((PROPID) 0x0103)
|
---|
| 179 | #define PropertyTagPhotometricInterp ((PROPID) 0x0106)
|
---|
| 180 | #define PropertyTagThreshHolding ((PROPID) 0x0107)
|
---|
| 181 | #define PropertyTagCellWidth ((PROPID) 0x0108)
|
---|
| 182 | #define PropertyTagCellHeight ((PROPID) 0x0109)
|
---|
| 183 | #define PropertyTagFillOrder ((PROPID) 0x010A)
|
---|
| 184 | #define PropertyTagDocumentName ((PROPID) 0x010D)
|
---|
| 185 | #define PropertyTagImageDescription ((PROPID) 0x010E)
|
---|
| 186 | #define PropertyTagEquipMake ((PROPID) 0x010F)
|
---|
| 187 | #define PropertyTagEquipModel ((PROPID) 0x0110)
|
---|
| 188 | #define PropertyTagStripOffsets ((PROPID) 0x0111)
|
---|
| 189 | #define PropertyTagOrientation ((PROPID) 0x0112)
|
---|
| 190 | #define PropertyTagSamplesPerPixel ((PROPID) 0x0115)
|
---|
| 191 | #define PropertyTagRowsPerStrip ((PROPID) 0x0116)
|
---|
| 192 | #define PropertyTagStripBytesCount ((PROPID) 0x0117)
|
---|
| 193 | #define PropertyTagMinSampleValue ((PROPID) 0x0118)
|
---|
| 194 | #define PropertyTagMaxSampleValue ((PROPID) 0x0119)
|
---|
| 195 | #define PropertyTagXResolution ((PROPID) 0x011A)
|
---|
| 196 | #define PropertyTagYResolution ((PROPID) 0x011B)
|
---|
| 197 | #define PropertyTagPlanarConfig ((PROPID) 0x011C)
|
---|
| 198 | #define PropertyTagPageName ((PROPID) 0x011D)
|
---|
| 199 | #define PropertyTagXPosition ((PROPID) 0x011E)
|
---|
| 200 | #define PropertyTagYPosition ((PROPID) 0x011F)
|
---|
| 201 | #define PropertyTagFreeOffset ((PROPID) 0x0120)
|
---|
| 202 | #define PropertyTagFreeByteCounts ((PROPID) 0x0121)
|
---|
| 203 | #define PropertyTagGrayResponseUnit ((PROPID) 0x0122)
|
---|
| 204 | #define PropertyTagGrayResponseCurve ((PROPID) 0x0123)
|
---|
| 205 | #define PropertyTagT4Option ((PROPID) 0x0124)
|
---|
| 206 | #define PropertyTagT6Option ((PROPID) 0x0125)
|
---|
| 207 | #define PropertyTagResolutionUnit ((PROPID) 0x0128)
|
---|
| 208 | #define PropertyTagPageNumber ((PROPID) 0x0129)
|
---|
| 209 | #define PropertyTagTransferFunction ((PROPID) 0x012D)
|
---|
| 210 | #define PropertyTagSoftwareUsed ((PROPID) 0x0131)
|
---|
| 211 | #define PropertyTagDateTime ((PROPID) 0x0132)
|
---|
| 212 | #define PropertyTagArtist ((PROPID) 0x013B)
|
---|
| 213 | #define PropertyTagHostComputer ((PROPID) 0x013C)
|
---|
| 214 | #define PropertyTagPredictor ((PROPID) 0x013D)
|
---|
| 215 | #define PropertyTagWhitePoint ((PROPID) 0x013E)
|
---|
| 216 | #define PropertyTagPrimaryChromaticities ((PROPID) 0x013F)
|
---|
| 217 | #define PropertyTagColorMap ((PROPID) 0x0140)
|
---|
| 218 | #define PropertyTagHalftoneHints ((PROPID) 0x0141)
|
---|
| 219 | #define PropertyTagTileWidth ((PROPID) 0x0142)
|
---|
| 220 | #define PropertyTagTileLength ((PROPID) 0x0143)
|
---|
| 221 | #define PropertyTagTileOffset ((PROPID) 0x0144)
|
---|
| 222 | #define PropertyTagTileByteCounts ((PROPID) 0x0145)
|
---|
| 223 | #define PropertyTagInkSet ((PROPID) 0x014C)
|
---|
| 224 | #define PropertyTagInkNames ((PROPID) 0x014D)
|
---|
| 225 | #define PropertyTagNumberOfInks ((PROPID) 0x014E)
|
---|
| 226 | #define PropertyTagDotRange ((PROPID) 0x0150)
|
---|
| 227 | #define PropertyTagTargetPrinter ((PROPID) 0x0151)
|
---|
| 228 | #define PropertyTagExtraSamples ((PROPID) 0x0152)
|
---|
| 229 | #define PropertyTagSampleFormat ((PROPID) 0x0153)
|
---|
| 230 | #define PropertyTagSMinSampleValue ((PROPID) 0x0154)
|
---|
| 231 | #define PropertyTagSMaxSampleValue ((PROPID) 0x0155)
|
---|
| 232 | #define PropertyTagTransferRange ((PROPID) 0x0156)
|
---|
| 233 | #define PropertyTagJPEGProc ((PROPID) 0x0200)
|
---|
| 234 | #define PropertyTagJPEGInterFormat ((PROPID) 0x0201)
|
---|
| 235 | #define PropertyTagJPEGInterLength ((PROPID) 0x0202)
|
---|
| 236 | #define PropertyTagJPEGRestartInterval ((PROPID) 0x0203)
|
---|
| 237 | #define PropertyTagJPEGLosslessPredictors ((PROPID) 0x0205)
|
---|
| 238 | #define PropertyTagJPEGPointTransforms ((PROPID) 0x0206)
|
---|
| 239 | #define PropertyTagJPEGQTables ((PROPID) 0x0207)
|
---|
| 240 | #define PropertyTagJPEGDCTables ((PROPID) 0x0208)
|
---|
| 241 | #define PropertyTagJPEGACTables ((PROPID) 0x0209)
|
---|
| 242 | #define PropertyTagYCbCrCoefficients ((PROPID) 0x0211)
|
---|
| 243 | #define PropertyTagYCbCrSubsampling ((PROPID) 0x0212)
|
---|
| 244 | #define PropertyTagYCbCrPositioning ((PROPID) 0x0213)
|
---|
| 245 | #define PropertyTagREFBlackWhite ((PROPID) 0x0214)
|
---|
| 246 | #define PropertyTagGamma ((PROPID) 0x0301)
|
---|
| 247 | #define PropertyTagICCProfileDescriptor ((PROPID) 0x0302)
|
---|
| 248 | #define PropertyTagSRGBRenderingIntent ((PROPID) 0x0303)
|
---|
| 249 | #define PropertyTagImageTitle ((PROPID) 0x0320)
|
---|
| 250 | #define PropertyTagResolutionXUnit ((PROPID) 0x5001)
|
---|
| 251 | #define PropertyTagResolutionYUnit ((PROPID) 0x5002)
|
---|
| 252 | #define PropertyTagResolutionXLengthUnit ((PROPID) 0x5003)
|
---|
| 253 | #define PropertyTagResolutionYLengthUnit ((PROPID) 0x5004)
|
---|
| 254 | #define PropertyTagPrintFlags ((PROPID) 0x5005)
|
---|
| 255 | #define PropertyTagPrintFlagsVersion ((PROPID) 0x5006)
|
---|
| 256 | #define PropertyTagPrintFlagsCrop ((PROPID) 0x5007)
|
---|
| 257 | #define PropertyTagPrintFlagsBleedWidth ((PROPID) 0x5008)
|
---|
| 258 | #define PropertyTagPrintFlagsBleedWidthScale ((PROPID) 0x5009)
|
---|
| 259 | #define PropertyTagHalftoneLPI ((PROPID) 0x500A)
|
---|
| 260 | #define PropertyTagHalftoneLPIUnit ((PROPID) 0x500B)
|
---|
| 261 | #define PropertyTagHalftoneDegree ((PROPID) 0x500C)
|
---|
| 262 | #define PropertyTagHalftoneShape ((PROPID) 0x500D)
|
---|
| 263 | #define PropertyTagHalftoneMisc ((PROPID) 0x500E)
|
---|
| 264 | #define PropertyTagHalftoneScreen ((PROPID) 0x500F)
|
---|
| 265 | #define PropertyTagJPEGQuality ((PROPID) 0x5010)
|
---|
| 266 | #define PropertyTagGridSize ((PROPID) 0x5011)
|
---|
| 267 | #define PropertyTagThumbnailFormat ((PROPID) 0x5012)
|
---|
| 268 | #define PropertyTagThumbnailWidth ((PROPID) 0x5013)
|
---|
| 269 | #define PropertyTagThumbnailHeight ((PROPID) 0x5014)
|
---|
| 270 | #define PropertyTagThumbnailColorDepth ((PROPID) 0x5015)
|
---|
| 271 | #define PropertyTagThumbnailPlanes ((PROPID) 0x5016)
|
---|
| 272 | #define PropertyTagThumbnailRawBytes ((PROPID) 0x5017)
|
---|
| 273 | #define PropertyTagThumbnailSize ((PROPID) 0x5018)
|
---|
| 274 | #define PropertyTagThumbnailCompressedSize ((PROPID) 0x5019)
|
---|
| 275 | #define PropertyTagColorTransferFunction ((PROPID) 0x501A)
|
---|
| 276 | #define PropertyTagThumbnailData ((PROPID) 0x501B)
|
---|
| 277 | #define PropertyTagThumbnailImageWidth ((PROPID) 0x5020)
|
---|
| 278 | #define PropertyTagThumbnailImageHeight ((PROPID) 0x5021)
|
---|
| 279 | #define PropertyTagThumbnailBitsPerSample ((PROPID) 0x5022)
|
---|
| 280 | #define PropertyTagThumbnailCompression ((PROPID) 0x5023)
|
---|
| 281 | #define PropertyTagThumbnailPhotometricInterp ((PROPID) 0x5024)
|
---|
| 282 | #define PropertyTagThumbnailImageDescription ((PROPID) 0x5025)
|
---|
| 283 | #define PropertyTagThumbnailEquipMake ((PROPID) 0x5026)
|
---|
| 284 | #define PropertyTagThumbnailEquipModel ((PROPID) 0x5027)
|
---|
| 285 | #define PropertyTagThumbnailStripOffsets ((PROPID) 0x5028)
|
---|
| 286 | #define PropertyTagThumbnailOrientation ((PROPID) 0x5029)
|
---|
| 287 | #define PropertyTagThumbnailSamplesPerPixel ((PROPID) 0x502A)
|
---|
| 288 | #define PropertyTagThumbnailRowsPerStrip ((PROPID) 0x502B)
|
---|
| 289 | #define PropertyTagThumbnailStripBytesCount ((PROPID) 0x502C)
|
---|
| 290 | #define PropertyTagThumbnailResolutionX ((PROPID) 0x502D)
|
---|
| 291 | #define PropertyTagThumbnailResolutionY ((PROPID) 0x502E)
|
---|
| 292 | #define PropertyTagThumbnailPlanarConfig ((PROPID) 0x502F)
|
---|
| 293 | #define PropertyTagThumbnailResolutionUnit ((PROPID) 0x5030)
|
---|
| 294 | #define PropertyTagThumbnailTransferFunction ((PROPID) 0x5031)
|
---|
| 295 | #define PropertyTagThumbnailSoftwareUsed ((PROPID) 0x5032)
|
---|
| 296 | #define PropertyTagThumbnailDateTime ((PROPID) 0x5033)
|
---|
| 297 | #define PropertyTagThumbnailArtist ((PROPID) 0x5034)
|
---|
| 298 | #define PropertyTagThumbnailWhitePoint ((PROPID) 0x5035)
|
---|
| 299 | #define PropertyTagThumbnailPrimaryChromaticities ((PROPID) 0x5036)
|
---|
| 300 | #define PropertyTagThumbnailYCbCrCoefficients ((PROPID) 0x5037)
|
---|
| 301 | #define PropertyTagThumbnailYCbCrSubsampling ((PROPID) 0x5038)
|
---|
| 302 | #define PropertyTagThumbnailYCbCrPositioning ((PROPID) 0x5039)
|
---|
| 303 | #define PropertyTagThumbnailRefBlackWhite ((PROPID) 0x503A)
|
---|
| 304 | #define PropertyTagThumbnailCopyRight ((PROPID) 0x503B)
|
---|
| 305 | #define PropertyTagLuminanceTable ((PROPID) 0x5090)
|
---|
| 306 | #define PropertyTagChrominanceTable ((PROPID) 0x5091)
|
---|
| 307 | #define PropertyTagFrameDelay ((PROPID) 0x5100)
|
---|
| 308 | #define PropertyTagLoopCount ((PROPID) 0x5101)
|
---|
| 309 | #define PropertyTagGlobalPalette ((PROPID) 0x5102)
|
---|
| 310 | #define PropertyTagIndexBackground ((PROPID) 0x5103)
|
---|
| 311 | #define PropertyTagIndexTransparent ((PROPID) 0x5104)
|
---|
| 312 | #define PropertyTagPixelUnit ((PROPID) 0x5110)
|
---|
| 313 | #define PropertyTagPixelPerUnitX ((PROPID) 0x5111)
|
---|
| 314 | #define PropertyTagPixelPerUnitY ((PROPID) 0x5112)
|
---|
| 315 | #define PropertyTagPaletteHistogram ((PROPID) 0x5113)
|
---|
| 316 | #define PropertyTagCopyright ((PROPID) 0x8298)
|
---|
| 317 | #define PropertyTagExifExposureTime ((PROPID) 0x829A)
|
---|
| 318 | #define PropertyTagExifFNumber ((PROPID) 0x829D)
|
---|
| 319 | #define PropertyTagExifIFD ((PROPID) 0x8769)
|
---|
| 320 | #define PropertyTagICCProfile ((PROPID) 0x8773)
|
---|
| 321 | #define PropertyTagExifExposureProg ((PROPID) 0x8822)
|
---|
| 322 | #define PropertyTagExifSpectralSense ((PROPID) 0x8824)
|
---|
| 323 | #define PropertyTagGpsIFD ((PROPID) 0x8825)
|
---|
| 324 | #define PropertyTagExifISOSpeed ((PROPID) 0x8827)
|
---|
| 325 | #define PropertyTagExifOECF ((PROPID) 0x8828)
|
---|
| 326 | #define PropertyTagExifVer ((PROPID) 0x9000)
|
---|
| 327 | #define PropertyTagExifDTOrig ((PROPID) 0x9003)
|
---|
| 328 | #define PropertyTagExifDTDigitized ((PROPID) 0x9004)
|
---|
| 329 | #define PropertyTagExifCompConfig ((PROPID) 0x9101)
|
---|
| 330 | #define PropertyTagExifCompBPP ((PROPID) 0x9102)
|
---|
| 331 | #define PropertyTagExifShutterSpeed ((PROPID) 0x9201)
|
---|
| 332 | #define PropertyTagExifAperture ((PROPID) 0x9202)
|
---|
| 333 | #define PropertyTagExifBrightness ((PROPID) 0x9203)
|
---|
| 334 | #define PropertyTagExifExposureBias ((PROPID) 0x9204)
|
---|
| 335 | #define PropertyTagExifMaxAperture ((PROPID) 0x9205)
|
---|
| 336 | #define PropertyTagExifSubjectDist ((PROPID) 0x9206)
|
---|
| 337 | #define PropertyTagExifMeteringMode ((PROPID) 0x9207)
|
---|
| 338 | #define PropertyTagExifLightSource ((PROPID) 0x9208)
|
---|
| 339 | #define PropertyTagExifFlash ((PROPID) 0x9209)
|
---|
| 340 | #define PropertyTagExifFocalLength ((PROPID) 0x920A)
|
---|
| 341 | #define PropertyTagExifMakerNote ((PROPID) 0x927C)
|
---|
| 342 | #define PropertyTagExifUserComment ((PROPID) 0x9286)
|
---|
| 343 | #define PropertyTagExifDTSubsec ((PROPID) 0x9290)
|
---|
| 344 | #define PropertyTagExifDTOrigSS ((PROPID) 0x9291)
|
---|
| 345 | #define PropertyTagExifDTDigSS ((PROPID) 0x9292)
|
---|
| 346 | #define PropertyTagExifFPXVer ((PROPID) 0xA000)
|
---|
| 347 | #define PropertyTagExifColorSpace ((PROPID) 0xA001)
|
---|
| 348 | #define PropertyTagExifPixXDim ((PROPID) 0xA002)
|
---|
| 349 | #define PropertyTagExifPixYDim ((PROPID) 0xA003)
|
---|
| 350 | #define PropertyTagExifRelatedWav ((PROPID) 0xA004)
|
---|
| 351 | #define PropertyTagExifInterop ((PROPID) 0xA005)
|
---|
| 352 | #define PropertyTagExifFlashEnergy ((PROPID) 0xA20B)
|
---|
| 353 | #define PropertyTagExifSpatialFR ((PROPID) 0xA20C)
|
---|
| 354 | #define PropertyTagExifFocalXRes ((PROPID) 0xA20E)
|
---|
| 355 | #define PropertyTagExifFocalYRes ((PROPID) 0xA20F)
|
---|
| 356 | #define PropertyTagExifFocalResUnit ((PROPID) 0xA210)
|
---|
| 357 | #define PropertyTagExifSubjectLoc ((PROPID) 0xA214)
|
---|
| 358 | #define PropertyTagExifExposureIndex ((PROPID) 0xA215)
|
---|
| 359 | #define PropertyTagExifSensingMethod ((PROPID) 0xA217)
|
---|
| 360 | #define PropertyTagExifFileSource ((PROPID) 0xA300)
|
---|
| 361 | #define PropertyTagExifSceneType ((PROPID) 0xA301)
|
---|
| 362 | #define PropertyTagExifCfaPattern ((PROPID) 0xA302)
|
---|
| 363 |
|
---|
| 364 | #define PropertyTagTypeByte ((WORD) 1)
|
---|
| 365 | #define PropertyTagTypeASCII ((WORD) 2)
|
---|
| 366 | #define PropertyTagTypeShort ((WORD) 3)
|
---|
| 367 | #define PropertyTagTypeLong ((WORD) 4)
|
---|
| 368 | #define PropertyTagTypeRational ((WORD) 5)
|
---|
| 369 | #define PropertyTagTypeUndefined ((WORD) 7)
|
---|
| 370 | #define PropertyTagTypeSLONG ((WORD) 9)
|
---|
| 371 | #define PropertyTagTypeSRational ((WORD) 10)
|
---|
| 372 |
|
---|
| 373 | #ifdef __cplusplus
|
---|
| 374 | extern "C" {
|
---|
| 375 | #endif
|
---|
| 376 |
|
---|
| 377 | extern const GUID EncoderChrominanceTable; /* f2e455dc-09b3-4316-8260-676ada32481c */
|
---|
| 378 | extern const GUID EncoderColorDepth; /* 66087055-ad66-4c7c-9a18-38a2310b8337 */
|
---|
| 379 | extern const GUID EncoderColorSpace; /* ? */
|
---|
| 380 | extern const GUID EncoderCompression; /* e09d739d-ccd4-44ee-8eba-3fbf8be4fc58 */
|
---|
| 381 | extern const GUID EncoderImageItems; /* ? */
|
---|
| 382 | extern const GUID EncoderLuminanceTable; /* edb33bce-0266-4a77-b904-27216099e717 */
|
---|
| 383 | extern const GUID EncoderQuality; /* 1d5be4b5-fa4a-452d-9cdd-5db35105e7eb */
|
---|
| 384 | extern const GUID EncoderRenderMethod; /* 6d42c53a-229a-4825-8bb7-5c99e2b9a8b8 */
|
---|
| 385 | extern const GUID EncoderSaveAsCMYK; /* ? */
|
---|
| 386 | extern const GUID EncoderSaveFlag; /* 292266fc-ac40-47bf-8cfc-a85b89a655de */
|
---|
| 387 | extern const GUID EncoderScanMethod; /* 3a4e2661-3109-4e56-8536-42c156e7dcfa */
|
---|
| 388 | extern const GUID EncoderTransformation; /* 8d0eb2d1-a58e-4ea8-aa14-108074b7b6f9 */
|
---|
| 389 | extern const GUID EncoderVersion; /* 24d18c76-814a-41a4-bf53-1c219cccf797 */
|
---|
| 390 |
|
---|
| 391 | extern const GUID ImageFormatBMP; /* b96b3cab-0728-11d3-9d7b-0000f81ef32e */
|
---|
| 392 | extern const GUID ImageFormatEMF; /* b96b3cac-0728-11d3-9d7b-0000f81ef32e */
|
---|
| 393 | extern const GUID ImageFormatEXIF; /* ? */
|
---|
| 394 | extern const GUID ImageFormatGIF; /* b96b3cb0-0728-11d3-9d7b-0000f81ef32e */
|
---|
| 395 | extern const GUID ImageFormatIcon; /* b96b3cb5-0728-11d3-9d7b-0000f81ef32e */
|
---|
| 396 | extern const GUID ImageFormatJPEG; /* b96b3cae-0728-11d3-9d7b-0000f81ef32e */
|
---|
| 397 | extern const GUID ImageFormatMemoryBMP; /* b96b3caa-0728-11d3-9d7b-0000f81ef32e */
|
---|
| 398 | extern const GUID ImageFormatPNG; /* b96b3caf-0728-11d3-9d7b-0000f81ef32e */
|
---|
| 399 | extern const GUID ImageFormatTIFF; /* b96b3cb1-0728-11d3-9d7b-0000f81ef32e */
|
---|
| 400 | extern const GUID ImageFormatUndefined; /* ? */
|
---|
| 401 | extern const GUID ImageFormatWMF; /* b96b3cad-0728-11d3-9d7b-0000f81ef32e */
|
---|
| 402 |
|
---|
| 403 | extern const GUID FrameDimensionPage; /* 7462dc86-6180-4c7e-8e3f-ee7333a7a483 */
|
---|
| 404 | extern const GUID FrameDimensionResolution; /* ? */
|
---|
| 405 | extern const GUID FrameDimensionTime; /* 6aedbd6d-3fb5-418a-83a6-7f45229dc872 */
|
---|
| 406 |
|
---|
| 407 | #ifdef __cplusplus
|
---|
| 408 | } /* extern "C" */
|
---|
| 409 | #endif
|
---|
| 410 |
|
---|
| 411 | #endif /* __GDIPLUS_IMAGING_H */
|
---|