| 1 | ' Classes/System/Drawing/Imaging/misc.ab
|
|---|
| 2 |
|
|---|
| 3 | #ifndef __SYSTEM_DRAWING_IMAGING_MISC_AB__
|
|---|
| 4 | #define __SYSTEM_DRAWING_IMAGING_MISC_AB__
|
|---|
| 5 |
|
|---|
| 6 | #include <Classes/System/Drawing/Color.ab>
|
|---|
| 7 |
|
|---|
| 8 | TypeDef ARGB = DWord
|
|---|
| 9 | TypeDef ARGB64 = QWord
|
|---|
| 10 |
|
|---|
| 11 | Enum ColorMode
|
|---|
| 12 | ARGB32 = 0
|
|---|
| 13 | ARGB64 = 1
|
|---|
| 14 | End Enum
|
|---|
| 15 |
|
|---|
| 16 | Const ALPHA_SHIFT = 24
|
|---|
| 17 | Const RED_SHIFT = 16
|
|---|
| 18 | Const GREEN_SHIFT = 8
|
|---|
| 19 | Const BLUE_SHIFT = 0
|
|---|
| 20 | Const ALPHA_MASK = ((&hff As ARGB) << ALPHA_SHIFT)
|
|---|
| 21 |
|
|---|
| 22 | ' In-memory pixel data formats:
|
|---|
| 23 | ' bits 0-7 = format index
|
|---|
| 24 | ' bits 8-15 = pixel size (in bits)
|
|---|
| 25 | ' bits 16-23 = flags
|
|---|
| 26 | ' bits 24-31 = reserved
|
|---|
| 27 |
|
|---|
| 28 | Enum PixelFormat
|
|---|
| 29 | Indexed = &h00010000
|
|---|
| 30 | Gdi = &h00020000
|
|---|
| 31 | Alpha = &h00040000
|
|---|
| 32 | PAlpha = &h00080000
|
|---|
| 33 | Extended = &h00100000
|
|---|
| 34 | Canonical = &h00200000
|
|---|
| 35 |
|
|---|
| 36 | Undefined = 0
|
|---|
| 37 | DontCare = 0
|
|---|
| 38 |
|
|---|
| 39 | Format1bppIndexed = (1 Or ( 1 << 8) Or PixelFormat.Indexed Or PixelFormat.Gdi)
|
|---|
| 40 | Format4bppIndexed = (2 Or ( 4 << 8) Or PixelFormat.Indexed Or PixelFormat.Gdi)
|
|---|
| 41 | Format8bppIndexed = (3 Or ( 8 << 8) Or PixelFormat.Indexed Or PixelFormat.Gdi)
|
|---|
| 42 | Format16bppGrayScale = (4 Or (16 << 8) Or PixelFormat.Extended)
|
|---|
| 43 | Format16bppRGB555 = (5 Or (16 << 8) Or PixelFormat.Gdi)
|
|---|
| 44 | Format16bppRGB565 = (6 Or (16 << 8) Or PixelFormat.Gdi)
|
|---|
| 45 | Format16bppARGB1555 = (7 Or (16 << 8) Or PixelFormat.Alpha Or PixelFormat.Gdi)
|
|---|
| 46 | Format24bppRGB = (8 Or (24 << 8) Or PixelFormat.Gdi)
|
|---|
| 47 | Format32bppRGB = (9 Or (32 << 8) Or PixelFormat.Gdi)
|
|---|
| 48 | Format32bppARGB = (10 Or (32 << 8) Or PixelFormat.Alpha Or PixelFormat.Gdi Or PixelFormat.Canonical)
|
|---|
| 49 | Format32bppPARGB = (11 Or (32 << 8) Or PixelFormat.Alpha Or PixelFormat.PAlpha Or PixelFormat.Gdi)
|
|---|
| 50 | Format48bppRGB = (12 Or (48 << 8) Or PixelFormat.Extended)
|
|---|
| 51 | Format64bppARGB = (13 Or (64 << 8) Or PixelFormat.FormatAlpha Or PixelFormat.Canonical Or PixelFormat.Extended)
|
|---|
| 52 | Format64bppPARGB = (14 Or (64 << 8) Or PixelFormat.FormatAlpha Or PixelFormat.PAlpha Or PixelFormat.Extended)
|
|---|
| 53 | Max = 15
|
|---|
| 54 | End Enum
|
|---|
| 55 |
|
|---|
| 56 | Const GetPixelFormatSize(pixfmt) = ((((pixfmt As PixelFormat) >> 8) And &hff) As DWord)
|
|---|
| 57 |
|
|---|
| 58 | Const IsIndexedPixelFormat(pixfmt) = ((((pixfmt As PixelFormat) And PixelFormat.Indexed) <> 0) As BOOL)
|
|---|
| 59 |
|
|---|
| 60 | Const IsAlphaPixelFormat(pixfmt) = ((((pixfmt As PixelFormat) And PixelFormat.Alpha) <> 0) As BOOL)
|
|---|
| 61 |
|
|---|
| 62 | Const IsExtendedPixelFormat(pixfmt) = ((((pixfmt As PixelFormat) And PixelFormat.Extended) <> 0) As BOOL)
|
|---|
| 63 |
|
|---|
| 64 | Const IsCanonicalPixelFormat(pixfmt) = ((((pixfmt As PixelFormat) And PixelFormat.Canonical) <> 0) As BOOL)
|
|---|
| 65 |
|
|---|
| 66 | Enum PaletteFlags
|
|---|
| 67 | PaletteFlagsHasAlpha = &h0001
|
|---|
| 68 | PaletteFlagsGrayScale = &h0002
|
|---|
| 69 | PaletteFlagsHalftone = &h0004
|
|---|
| 70 | End Enum
|
|---|
| 71 |
|
|---|
| 72 | Type Align(8) ColorPalette
|
|---|
| 73 | Flags As DWord
|
|---|
| 74 | Count As DWord
|
|---|
| 75 | Entries[1] As ARGB
|
|---|
| 76 | End Type
|
|---|
| 77 |
|
|---|
| 78 | Enum ColorAdjustType
|
|---|
| 79 | Default
|
|---|
| 80 | Bitmap
|
|---|
| 81 | Brush
|
|---|
| 82 | Pen
|
|---|
| 83 | Text
|
|---|
| 84 | Count
|
|---|
| 85 | Any
|
|---|
| 86 | End Enum
|
|---|
| 87 |
|
|---|
| 88 | Type ColorMatrix
|
|---|
| 89 | m[5][5] As Single
|
|---|
| 90 | End Type
|
|---|
| 91 |
|
|---|
| 92 | Type ColorMap
|
|---|
| 93 | OldColor As Color
|
|---|
| 94 | NewColor As Color
|
|---|
| 95 | End Type
|
|---|
| 96 |
|
|---|
| 97 | Enum ColorMatrixFlag
|
|---|
| 98 | Default = 0
|
|---|
| 99 | SkipGrays = 1
|
|---|
| 100 | AltGray = 2
|
|---|
| 101 | End Enum
|
|---|
| 102 |
|
|---|
| 103 | Enum ImageCodecFlags
|
|---|
| 104 | Encoder = &h00000001
|
|---|
| 105 | Decoder = &h00000002
|
|---|
| 106 | SupportBitmap = &h00000004
|
|---|
| 107 | SupportVector = &h00000008
|
|---|
| 108 | SeekableEncode = &h00000010
|
|---|
| 109 | BlockingDecode = &h00000020
|
|---|
| 110 |
|
|---|
| 111 | Builtin = &h00010000
|
|---|
| 112 | System = &h00020000
|
|---|
| 113 | User = &h00040000
|
|---|
| 114 | End Enum
|
|---|
| 115 |
|
|---|
| 116 | Enum ImageLockMode
|
|---|
| 117 | Read = &h0001
|
|---|
| 118 | Write = &h0002
|
|---|
| 119 | UserInputBuf= &h0004
|
|---|
| 120 | End Enum
|
|---|
| 121 |
|
|---|
| 122 | Type Align(8) BitmapData
|
|---|
| 123 | Width As DWord
|
|---|
| 124 | Height As DWord
|
|---|
| 125 | Stride As Long
|
|---|
| 126 | PixelFormat As PixelFormat
|
|---|
| 127 | Scan0 As VoidPtr
|
|---|
| 128 | Reserved As ULONG_PTR
|
|---|
| 129 | End Type
|
|---|
| 130 |
|
|---|
| 131 | Type Align(8) EncoderParameter
|
|---|
| 132 | Guid As GUID
|
|---|
| 133 | NumberOfValues As DWord
|
|---|
| 134 | EncoderType As DWord '元はTypeという名前
|
|---|
| 135 | Value As VoidPtr
|
|---|
| 136 | End Type
|
|---|
| 137 |
|
|---|
| 138 | Type Align(8) EncoderParameters
|
|---|
| 139 | Count As DWord
|
|---|
| 140 | Parameter[1] As EncoderParameter
|
|---|
| 141 | End Type
|
|---|
| 142 |
|
|---|
| 143 | Type Align(8) PropertyItem
|
|---|
| 144 | id As PROPID
|
|---|
| 145 | length As DWord
|
|---|
| 146 | piType As Word
|
|---|
| 147 | value As VoidPtr
|
|---|
| 148 | End Type
|
|---|
| 149 |
|
|---|
| 150 | Const PropertyTagTypeByte = 1
|
|---|
| 151 | Const PropertyTagTypeASCII = 2
|
|---|
| 152 | Const PropertyTagTypeShort = 3
|
|---|
| 153 | Const PropertyTagTypeLong = 4
|
|---|
| 154 | Const PropertyTagTypeRational = 5
|
|---|
| 155 | Const PropertyTagTypeUndefined = 7
|
|---|
| 156 | Const PropertyTagTypeSLONG = 9
|
|---|
| 157 | Const PropertyTagTypeSRational = 10
|
|---|
| 158 |
|
|---|
| 159 | Const PropertyTagExifIFD = &h8769
|
|---|
| 160 | Const PropertyTagGpsIFD = &h8825
|
|---|
| 161 |
|
|---|
| 162 | Const PropertyTagNewSubfileType = &h00FE
|
|---|
| 163 | Const PropertyTagSubfileType = &h00FF
|
|---|
| 164 | Const PropertyTagImageWidth = &h0100
|
|---|
| 165 | Const PropertyTagImageHeight = &h0101
|
|---|
| 166 | Const PropertyTagBitsPerSample = &h0102
|
|---|
| 167 | Const PropertyTagCompression = &h0103
|
|---|
| 168 | Const PropertyTagPhotometricInterp = &h0106
|
|---|
| 169 | Const PropertyTagThreshHolding = &h0107
|
|---|
| 170 | Const PropertyTagCellWidth = &h0108
|
|---|
| 171 | Const PropertyTagCellHeight = &h0109
|
|---|
| 172 | Const PropertyTagFillOrder = &h010A
|
|---|
| 173 | Const PropertyTagDocumentName = &h010D
|
|---|
| 174 | Const PropertyTagImageDescription = &h010E
|
|---|
| 175 | Const PropertyTagEquipMake = &h010F
|
|---|
| 176 | Const PropertyTagEquipModel = &h0110
|
|---|
| 177 | Const PropertyTagStripOffsets = &h0111
|
|---|
| 178 | Const PropertyTagOrientation = &h0112
|
|---|
| 179 | Const PropertyTagSamplesPerPixel = &h0115
|
|---|
| 180 | Const PropertyTagRowsPerStrip = &h0116
|
|---|
| 181 | Const PropertyTagStripBytesCount = &h0117
|
|---|
| 182 | Const PropertyTagMinSampleValue = &h0118
|
|---|
| 183 | Const PropertyTagMaxSampleValue = &h0119
|
|---|
| 184 | Const PropertyTagXResolution = &h011A ' Image resolution in width direction
|
|---|
| 185 | Const PropertyTagYResolution = &h011B ' Image resolution in height direction
|
|---|
| 186 | Const PropertyTagPlanarConfig = &h011C ' Image data arrangement
|
|---|
| 187 | Const PropertyTagPageName = &h011D
|
|---|
| 188 | Const PropertyTagXPosition = &h011E
|
|---|
| 189 | Const PropertyTagYPosition = &h011F
|
|---|
| 190 | Const PropertyTagFreeOffset = &h0120
|
|---|
| 191 | Const PropertyTagFreeByteCounts = &h0121
|
|---|
| 192 | Const PropertyTagGrayResponseUnit = &h0122
|
|---|
| 193 | Const PropertyTagGrayResponseCurve = &h0123
|
|---|
| 194 | Const PropertyTagT4Option = &h0124
|
|---|
| 195 | Const PropertyTagT6Option = &h0125
|
|---|
| 196 | Const PropertyTagResolutionUnit = &h0128 ' Unit of X and Y resolution
|
|---|
| 197 | Const PropertyTagPageNumber = &h0129
|
|---|
| 198 | Const PropertyTagTransferFuncition = &h012D
|
|---|
| 199 | Const PropertyTagSoftwareUsed = &h0131
|
|---|
| 200 | Const PropertyTagDateTime = &h0132
|
|---|
| 201 | Const PropertyTagArtist = &h013B
|
|---|
| 202 | Const PropertyTagHostComputer = &h013C
|
|---|
| 203 | Const PropertyTagPredictor = &h013D
|
|---|
| 204 | Const PropertyTagWhitePoint = &h013E
|
|---|
| 205 | Const PropertyTagPrimaryChromaticities = &h013F
|
|---|
| 206 | Const PropertyTagColorMap = &h0140
|
|---|
| 207 | Const PropertyTagHalftoneHints = &h0141
|
|---|
| 208 | Const PropertyTagTileWidth = &h0142
|
|---|
| 209 | Const PropertyTagTileLength = &h0143
|
|---|
| 210 | Const PropertyTagTileOffset = &h0144
|
|---|
| 211 | Const PropertyTagTileByteCounts = &h0145
|
|---|
| 212 | Const PropertyTagInkSet = &h014C
|
|---|
| 213 | Const PropertyTagInkNames = &h014D
|
|---|
| 214 | Const PropertyTagNumberOfInks = &h014E
|
|---|
| 215 | Const PropertyTagDotRange = &h0150
|
|---|
| 216 | Const PropertyTagTargetPrinter = &h0151
|
|---|
| 217 | Const PropertyTagExtraSamples = &h0152
|
|---|
| 218 | Const PropertyTagSampleFormat = &h0153
|
|---|
| 219 | Const PropertyTagSMinSampleValue = &h0154
|
|---|
| 220 | Const PropertyTagSMaxSampleValue = &h0155
|
|---|
| 221 | Const PropertyTagTransferRange = &h0156
|
|---|
| 222 |
|
|---|
| 223 | Const PropertyTagJPEGProc = &h0200
|
|---|
| 224 | Const PropertyTagJPEGInterFormat = &h0201
|
|---|
| 225 | Const PropertyTagJPEGInterLength = &h0202
|
|---|
| 226 | Const PropertyTagJPEGRestartInterval = &h0203
|
|---|
| 227 | Const PropertyTagJPEGLosslessPredictors = &h0205
|
|---|
| 228 | Const PropertyTagJPEGPointTransforms = &h0206
|
|---|
| 229 | Const PropertyTagJPEGQTables = &h0207
|
|---|
| 230 | Const PropertyTagJPEGDCTables = &h0208
|
|---|
| 231 | Const PropertyTagJPEGACTables = &h0209
|
|---|
| 232 |
|
|---|
| 233 | Const PropertyTagYCbCrCoefficients = &h0211
|
|---|
| 234 | Const PropertyTagYCbCrSubsampling = &h0212
|
|---|
| 235 | Const PropertyTagYCbCrPositioning = &h0213
|
|---|
| 236 | Const PropertyTagREFBlackWhite = &h0214
|
|---|
| 237 |
|
|---|
| 238 | Const PropertyTagICCProfile = &h8773 ' This TAG is defined by ICC
|
|---|
| 239 | ' for embedded ICC in TIFF
|
|---|
| 240 | Const PropertyTagGamma = &h0301
|
|---|
| 241 | Const PropertyTagICCProfileDescriptor = &h0302
|
|---|
| 242 | Const PropertyTagSRGBRenderingIntent = &h0303
|
|---|
| 243 |
|
|---|
| 244 | Const PropertyTagImageTitle = &h0320
|
|---|
| 245 | Const PropertyTagCopyright = &h8298
|
|---|
| 246 |
|
|---|
| 247 | ' Extra TAGs (Like Adobe Image Information tags etc.)
|
|---|
| 248 |
|
|---|
| 249 | Const PropertyTagResolutionXUnit = &h5001
|
|---|
| 250 | Const PropertyTagResolutionYUnit = &h5002
|
|---|
| 251 | Const PropertyTagResolutionXLengthUnit = &h5003
|
|---|
| 252 | Const PropertyTagResolutionYLengthUnit = &h5004
|
|---|
| 253 | Const PropertyTagPrintFlags = &h5005
|
|---|
| 254 | Const PropertyTagPrintFlagsVersion = &h5006
|
|---|
| 255 | Const PropertyTagPrintFlagsCrop = &h5007
|
|---|
| 256 | Const PropertyTagPrintFlagsBleedWidth = &h5008
|
|---|
| 257 | Const PropertyTagPrintFlagsBleedWidthScale = &h5009
|
|---|
| 258 | Const PropertyTagHalftoneLPI = &h500A
|
|---|
| 259 | Const PropertyTagHalftoneLPIUnit = &h500B
|
|---|
| 260 | Const PropertyTagHalftoneDegree = &h500C
|
|---|
| 261 | Const PropertyTagHalftoneShape = &h500D
|
|---|
| 262 | Const PropertyTagHalftoneMisc = &h500E
|
|---|
| 263 | Const PropertyTagHalftoneScreen = &h500F
|
|---|
| 264 | Const PropertyTagJPEGQuality = &h5010
|
|---|
| 265 | Const PropertyTagGridSize = &h5011
|
|---|
| 266 | Const PropertyTagThumbnailFormat = &h5012 ' 1 = JPEG, 0 = RAW RGB
|
|---|
| 267 | Const PropertyTagThumbnailWidth = &h5013
|
|---|
| 268 | Const PropertyTagThumbnailHeight = &h5014
|
|---|
| 269 | Const PropertyTagThumbnailColorDepth = &h5015
|
|---|
| 270 | Const PropertyTagThumbnailPlanes = &h5016
|
|---|
| 271 | Const PropertyTagThumbnailRawBytes = &h5017
|
|---|
| 272 | Const PropertyTagThumbnailSize = &h5018
|
|---|
| 273 | Const PropertyTagThumbnailCompressedSize = &h5019
|
|---|
| 274 | Const PropertyTagColorTransferFunction = &h501A
|
|---|
| 275 | Const PropertyTagThumbnailData = &h501B' RAW thumbnail bits in
|
|---|
| 276 | ' JPEG format or RGB format
|
|---|
| 277 | ' depends on
|
|---|
| 278 | ' PropertyTagThumbnailFormat
|
|---|
| 279 |
|
|---|
| 280 | ' Thumbnail related TAGs
|
|---|
| 281 |
|
|---|
| 282 | Const PropertyTagThumbnailImageWidth = &h5020 ' Thumbnail width
|
|---|
| 283 | Const PropertyTagThumbnailImageHeight = &h5021 ' Thumbnail height
|
|---|
| 284 | Const PropertyTagThumbnailBitsPerSample = &h5022 ' Number of bits per
|
|---|
| 285 | ' component
|
|---|
| 286 | Const PropertyTagThumbnailCompression = &h5023 ' Compression Scheme
|
|---|
| 287 | Const PropertyTagThumbnailPhotometricInterp = &h5024 ' Pixel composition
|
|---|
| 288 | Const PropertyTagThumbnailImageDescription = &h5025 ' Image Tile
|
|---|
| 289 | Const PropertyTagThumbnailEquipMake = &h5026 ' Manufacturer of Image
|
|---|
| 290 | ' Input equipment
|
|---|
| 291 | Const PropertyTagThumbnailEquipModel = &h5027 ' Model of Image input
|
|---|
| 292 | ' equipment
|
|---|
| 293 | Const PropertyTagThumbnailStripOffsets = &h5028 ' Image data location
|
|---|
| 294 | Const PropertyTagThumbnailOrientation = &h5029 ' Orientation of image
|
|---|
| 295 | Const PropertyTagThumbnailSamplesPerPixel = &h502A ' Number of components
|
|---|
| 296 | Const PropertyTagThumbnailRowsPerStrip = &h502B ' Number of rows per strip
|
|---|
| 297 | Const PropertyTagThumbnailStripBytesCount = &h502C ' Bytes per compressed
|
|---|
| 298 | ' strip
|
|---|
| 299 | Const PropertyTagThumbnailResolutionX = &h502D ' Resolution in width
|
|---|
| 300 | ' direction
|
|---|
| 301 | Const PropertyTagThumbnailResolutionY = &h502E ' Resolution in height
|
|---|
| 302 | ' direction
|
|---|
| 303 | Const PropertyTagThumbnailPlanarConfig = &h502F ' Image data arrangement
|
|---|
| 304 | Const PropertyTagThumbnailResolutionUnit = &h5030 ' Unit of X and Y
|
|---|
| 305 | ' Resolution
|
|---|
| 306 | Const PropertyTagThumbnailTransferFunction = &h5031 ' Transfer function
|
|---|
| 307 | Const PropertyTagThumbnailSoftwareUsed = &h5032 ' Software used
|
|---|
| 308 | Const PropertyTagThumbnailDateTime = &h5033 ' File change date and
|
|---|
| 309 | ' time
|
|---|
| 310 | Const PropertyTagThumbnailArtist = &h5034 ' Person who created the
|
|---|
| 311 | ' image
|
|---|
| 312 | Const PropertyTagThumbnailWhitePoint = &h5035 ' White point chromaticity
|
|---|
| 313 | Const PropertyTagThumbnailPrimaryChromaticities = &h5036
|
|---|
| 314 | ' Chromaticities of
|
|---|
| 315 | ' primaries
|
|---|
| 316 | Const PropertyTagThumbnailYCbCrCoefficients = &h5037 ' Color space transforma-
|
|---|
| 317 | ' tion coefficients
|
|---|
| 318 | Const PropertyTagThumbnailYCbCrSubsampling = &h5038 ' Subsampling ratio of Y
|
|---|
| 319 | ' to C
|
|---|
| 320 | Const PropertyTagThumbnailYCbCrPositioning = &h5039 ' Y and C position
|
|---|
| 321 | Const PropertyTagThumbnailRefBlackWhite = &h503A ' Pair of black and white
|
|---|
| 322 | ' reference values
|
|---|
| 323 | Const PropertyTagThumbnailCopyRight = &h503B ' CopyRight holder
|
|---|
| 324 |
|
|---|
| 325 | Const PropertyTagLuminanceTable = &h5090
|
|---|
| 326 | Const PropertyTagChrominanceTable = &h5091
|
|---|
| 327 |
|
|---|
| 328 | Const PropertyTagFrameDelay = &h5100
|
|---|
| 329 | Const PropertyTagLoopCount = &h5101
|
|---|
| 330 |
|
|---|
| 331 | Const PropertyTagPixelUnit = &h5110 ' Unit specifier for pixel/unit
|
|---|
| 332 | Const PropertyTagPixelPerUnitX = &h5111 ' Pixels per unit in X
|
|---|
| 333 | Const PropertyTagPixelPerUnitY = &h5112 ' Pixels per unit in Y
|
|---|
| 334 | Const PropertyTagPaletteHistogram = &h5113 ' Palette histogram
|
|---|
| 335 |
|
|---|
| 336 | ' EXIF specific tag
|
|---|
| 337 |
|
|---|
| 338 | Const PropertyTagExifExposureTime = &h829A
|
|---|
| 339 | Const PropertyTagExifFNumber = &h829D
|
|---|
| 340 |
|
|---|
| 341 | Const PropertyTagExifExposureProg = &h8822
|
|---|
| 342 | Const PropertyTagExifSpectralSense = &h8824
|
|---|
| 343 | Const PropertyTagExifISOSpeed = &h8827
|
|---|
| 344 | Const PropertyTagExifOECF = &h8828
|
|---|
| 345 |
|
|---|
| 346 | Const PropertyTagExifVer = &h9000
|
|---|
| 347 | Const PropertyTagExifDTOrig = &h9003 ' Date & time of original
|
|---|
| 348 | Const PropertyTagExifDTDigitized = &h9004 ' Date & time of digital data generation
|
|---|
| 349 |
|
|---|
| 350 | Const PropertyTagExifCompConfig = &h9101
|
|---|
| 351 | Const PropertyTagExifCompBPP = &h9102
|
|---|
| 352 |
|
|---|
| 353 | Const PropertyTagExifShutterSpeed = &h9201
|
|---|
| 354 | Const PropertyTagExifAperture = &h9202
|
|---|
| 355 | Const PropertyTagExifBrightness = &h9203
|
|---|
| 356 | Const PropertyTagExifExposureBias = &h9204
|
|---|
| 357 | Const PropertyTagExifMaxAperture = &h9205
|
|---|
| 358 | Const PropertyTagExifSubjectDist = &h9206
|
|---|
| 359 | Const PropertyTagExifMeteringMode = &h9207
|
|---|
| 360 | Const PropertyTagExifLightSource = &h9208
|
|---|
| 361 | Const PropertyTagExifFlash = &h9209
|
|---|
| 362 | Const PropertyTagExifFocalLength = &h920A
|
|---|
| 363 | Const PropertyTagExifMakerNote = &h927C
|
|---|
| 364 | Const PropertyTagExifUserComment = &h9286
|
|---|
| 365 | Const PropertyTagExifDTSubsec = &h9290 ' Date & Time subseconds
|
|---|
| 366 | Const PropertyTagExifDTOrigSS = &h9291 ' Date & Time original subseconds
|
|---|
| 367 | Const PropertyTagExifDTDigSS = &h9292 ' Date & TIme digitized subseconds
|
|---|
| 368 |
|
|---|
| 369 | Const PropertyTagExifFPXVer = &hA000
|
|---|
| 370 | Const PropertyTagExifColorSpace = &hA001
|
|---|
| 371 | Const PropertyTagExifPixXDim = &hA002
|
|---|
| 372 | Const PropertyTagExifPixYDim = &hA003
|
|---|
| 373 | Const PropertyTagExifRelatedWav = &hA004 ' related sound file
|
|---|
| 374 | Const PropertyTagExifInterop = &hA005
|
|---|
| 375 | Const PropertyTagExifFlashEnergy = &hA20B
|
|---|
| 376 | Const PropertyTagExifSpatialFR = &hA20C ' Spatial Frequency Response
|
|---|
| 377 | Const PropertyTagExifFocalXRes = &hA20E ' Focal Plane X Resolution
|
|---|
| 378 | Const PropertyTagExifFocalYRes = &hA20F ' Focal Plane Y Resolution
|
|---|
| 379 | Const PropertyTagExifFocalResUnit = &hA210 ' Focal Plane Resolution Unit
|
|---|
| 380 | Const PropertyTagExifSubjectLoc = &hA214
|
|---|
| 381 | Const PropertyTagExifExposureIndex = &hA215
|
|---|
| 382 | Const PropertyTagExifSensingMethod = &hA217
|
|---|
| 383 | Const PropertyTagExifFileSource = &hA300
|
|---|
| 384 | Const PropertyTagExifSceneType = &hA301
|
|---|
| 385 | Const PropertyTagExifCfaPattern = &hA302
|
|---|
| 386 |
|
|---|
| 387 | Const PropertyTagGpsVer = &h0000
|
|---|
| 388 | Const PropertyTagGpsLatitudeRef = &h0001
|
|---|
| 389 | Const PropertyTagGpsLatitude = &h0002
|
|---|
| 390 | Const PropertyTagGpsLongitudeRef = &h0003
|
|---|
| 391 | Const PropertyTagGpsLongitude = &h0004
|
|---|
| 392 | Const PropertyTagGpsAltitudeRef = &h0005
|
|---|
| 393 | Const PropertyTagGpsAltitude = &h0006
|
|---|
| 394 | Const PropertyTagGpsGpsTime = &h0007
|
|---|
| 395 | Const PropertyTagGpsGpsSatellites = &h0008
|
|---|
| 396 | Const PropertyTagGpsGpsStatus = &h0009
|
|---|
| 397 | Const PropertyTagGpsGpsMeasureMode = &h00A
|
|---|
| 398 | Const PropertyTagGpsGpsDop = &h000B ' Measurement precision
|
|---|
| 399 | Const PropertyTagGpsSpeedRef = &h000C
|
|---|
| 400 | Const PropertyTagGpsSpeed = &h000D
|
|---|
| 401 | Const PropertyTagGpsTrackRef = &h000E
|
|---|
| 402 | Const PropertyTagGpsTrack = &h000F
|
|---|
| 403 | Const PropertyTagGpsImgDirRef = &h0010
|
|---|
| 404 | Const PropertyTagGpsImgDir = &h0011
|
|---|
| 405 | Const PropertyTagGpsMapDatum = &h0012
|
|---|
| 406 | Const PropertyTagGpsDestLatRef = &h0013
|
|---|
| 407 | Const PropertyTagGpsDestLat = &h0014
|
|---|
| 408 | Const PropertyTagGpsDestLongRef = &h0015
|
|---|
| 409 | Const PropertyTagGpsDestLong = &h0016
|
|---|
| 410 | Const PropertyTagGpsDestBearRef = &h0017
|
|---|
| 411 | Const PropertyTagGpsDestBear = &h0018
|
|---|
| 412 | Const PropertyTagGpsDestDistRef = &h0019
|
|---|
| 413 | Const PropertyTagGpsDestDist = &h001A
|
|---|
| 414 |
|
|---|
| 415 | Type ImageCodecInfo
|
|---|
| 416 | Clsid As CLSID
|
|---|
| 417 | FormatID As GUID
|
|---|
| 418 | CodecName As PCWSTR
|
|---|
| 419 | DllName As PCWSTR
|
|---|
| 420 | FormatDescription As PCWSTR
|
|---|
| 421 | FilenameExtension As PCWSTR
|
|---|
| 422 | MimeType As PCWSTR
|
|---|
| 423 | Flags As DWord
|
|---|
| 424 | Version As DWord
|
|---|
| 425 | SigCount As DWord
|
|---|
| 426 | SigSize As DWord
|
|---|
| 427 | SigPattern As *Byte
|
|---|
| 428 | SigMask As DWord
|
|---|
| 429 | End Type
|
|---|
| 430 |
|
|---|
| 431 | #endif '__SYSTEM_DRAWING_IMAGING_MISC_AB__
|
|---|