forked from FMXExpress/ios-object-pascal-wrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
iOSapi.ImageIO.pas
2484 lines (2115 loc) · 79.8 KB
/
iOSapi.ImageIO.pas
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{ *********************************************************** }
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Copyright(c) 2012-2014 Embarcadero Technologies, Inc. }
{ }
{ *********************************************************** }
//
// Delphi-Objective-C Bridge
// Interfaces for Cocoa framework ImageIO
//
unit iOSapi.ImageIO;
interface
uses
Macapi.CoreFoundation,
Macapi.CoreServices,
Macapi.Dispatch,
Macapi.Foundation,
Macapi.Mach,
Macapi.ObjCRuntime,
Macapi.ObjectiveC,
Macapi.QuartzCore,
iOSapi.CocoaTypes,
iOSapi.CoreGraphics,
iOSapi.Foundation;
const
kCGImageMetadataTypeInvalid = -1;
kCGImageMetadataTypeDefault = 0;
kCGImageMetadataTypeString = 1;
kCGImageMetadataTypeArrayUnordered = 2;
kCGImageMetadataTypeArrayOrdered = 3;
kCGImageMetadataTypeAlternateArray = 4;
kCGImageMetadataTypeAlternateText = 5;
kCGImageMetadataTypeStructure = 6;
kCGImageMetadataErrorUnknown = 0;
kCGImageMetadataErrorUnsupportedFormat = 1;
kCGImageMetadataErrorBadArgument = 2;
kCGImageMetadataErrorConflictingArguments = 3;
kCGImageMetadataErrorPrefixConflict = 4;
kCGImageStatusUnexpectedEOF = -5;
kCGImageStatusInvalidData = -4;
kCGImageStatusUnknownType = -3;
kCGImageStatusReadingHeader = -2;
kCGImageStatusIncomplete = -1;
kCGImageStatusComplete = 0;
kCGImagePropertyOrientationUp = 1;
kCGImagePropertyOrientationUpMirrored = 2;
kCGImagePropertyOrientationDown = 3;
kCGImagePropertyOrientationDownMirrored = 4;
kCGImagePropertyOrientationLeftMirrored = 5;
kCGImagePropertyOrientationRight = 6;
kCGImagePropertyOrientationRightMirrored = 7;
kCGImagePropertyOrientationLeft = 8;
type
// ===== Framework typedefs =====
{$M+}
CGImageDestinationRef = Pointer;
CGImageSourceRef = Pointer;
CGImageMetadataRef = Pointer;
CFTypeID = LongWord;
CGMutableImageMetadataRef = Pointer;
CGImageMetadataTagRef = Pointer;
CFStringRef = Pointer;
CGImageMetadataType = Int32;
CFTypeRef = Pointer;
CFArrayRef = Pointer;
CGImageMetadataTagBlock = function(param1: CFStringRef;
param2: CGImageMetadataTagRef): Integer; cdecl;
CFDictionaryRef = Pointer;
CFDataRef = Pointer;
CGImageMetadataErrors = Int32;
CGImageSourceStatus = Int32;
CGDataProviderRef = Pointer;
CFURLRef = Pointer;
__darwin_size_t = LongWord;
CGImageRef = Pointer;
CGDataConsumerRef = Pointer;
CFMutableDataRef = Pointer;
CGImagePropertyOrientation = LongWord;
// ===== Exported string consts =====
function kCGImageMetadataNamespaceExif: Pointer;
function kCGImageMetadataNamespaceExifAux: Pointer;
function kCGImageMetadataNamespaceExifEX: Pointer;
function kCGImageMetadataNamespaceDublinCore: Pointer;
function kCGImageMetadataNamespaceIPTCCore: Pointer;
function kCGImageMetadataNamespacePhotoshop: Pointer;
function kCGImageMetadataNamespaceTIFF: Pointer;
function kCGImageMetadataNamespaceXMPBasic: Pointer;
function kCGImageMetadataNamespaceXMPRights: Pointer;
function kCGImageMetadataPrefixExif: Pointer;
function kCGImageMetadataPrefixExifAux: Pointer;
function kCGImageMetadataPrefixExifEX: Pointer;
function kCGImageMetadataPrefixDublinCore: Pointer;
function kCGImageMetadataPrefixIPTCCore: Pointer;
function kCGImageMetadataPrefixPhotoshop: Pointer;
function kCGImageMetadataPrefixTIFF: Pointer;
function kCGImageMetadataPrefixXMPBasic: Pointer;
function kCGImageMetadataPrefixXMPRights: Pointer;
function kCGImageMetadataEnumerateRecursively: Pointer;
function kCFErrorDomainCGImageMetadata: Pointer;
function kCGImageSourceTypeIdentifierHint: Pointer;
function kCGImageSourceShouldCache: Pointer;
function kCGImageSourceShouldCacheImmediately: Pointer;
function kCGImageSourceShouldAllowFloat: Pointer;
function kCGImageSourceCreateThumbnailFromImageIfAbsent: Pointer;
function kCGImageSourceCreateThumbnailFromImageAlways: Pointer;
function kCGImageSourceThumbnailMaxPixelSize: Pointer;
function kCGImageSourceCreateThumbnailWithTransform: Pointer;
function kCGImageSourceSubsampleFactor: Pointer;
function kCGImageDestinationLossyCompressionQuality: Pointer;
function kCGImageDestinationBackgroundColor: Pointer;
function kCGImageDestinationImageMaxPixelSize: Pointer;
function kCGImageDestinationEmbedThumbnail: Pointer;
function kCGImageDestinationMetadata: Pointer;
function kCGImageDestinationMergeMetadata: Pointer;
function kCGImageMetadataShouldExcludeXMP: Pointer;
function kCGImageMetadataShouldExcludeGPS: Pointer;
function kCGImageDestinationDateTime: Pointer;
function kCGImageDestinationOrientation: Pointer;
function kCGImagePropertyTIFFDictionary: Pointer;
function kCGImagePropertyGIFDictionary: Pointer;
function kCGImagePropertyJFIFDictionary: Pointer;
function kCGImagePropertyExifDictionary: Pointer;
function kCGImagePropertyPNGDictionary: Pointer;
function kCGImagePropertyIPTCDictionary: Pointer;
function kCGImagePropertyGPSDictionary: Pointer;
function kCGImagePropertyRawDictionary: Pointer;
function kCGImagePropertyCIFFDictionary: Pointer;
function kCGImagePropertyMakerCanonDictionary: Pointer;
function kCGImagePropertyMakerNikonDictionary: Pointer;
function kCGImagePropertyMakerMinoltaDictionary: Pointer;
function kCGImagePropertyMakerFujiDictionary: Pointer;
function kCGImagePropertyMakerOlympusDictionary: Pointer;
function kCGImagePropertyMakerPentaxDictionary: Pointer;
function kCGImageProperty8BIMDictionary: Pointer;
function kCGImagePropertyDNGDictionary: Pointer;
function kCGImagePropertyExifAuxDictionary: Pointer;
function kCGImagePropertyOpenEXRDictionary: Pointer;
function kCGImagePropertyMakerAppleDictionary: Pointer;
function kCGImagePropertyFileSize: Pointer;
function kCGImagePropertyPixelHeight: Pointer;
function kCGImagePropertyPixelWidth: Pointer;
function kCGImagePropertyDPIHeight: Pointer;
function kCGImagePropertyDPIWidth: Pointer;
function kCGImagePropertyDepth: Pointer;
function kCGImagePropertyOrientation: Pointer;
function kCGImagePropertyIsFloat: Pointer;
function kCGImagePropertyIsIndexed: Pointer;
function kCGImagePropertyHasAlpha: Pointer;
function kCGImagePropertyColorModel: Pointer;
function kCGImagePropertyProfileName: Pointer;
function kCGImagePropertyColorModelRGB: Pointer;
function kCGImagePropertyColorModelGray: Pointer;
function kCGImagePropertyColorModelCMYK: Pointer;
function kCGImagePropertyColorModelLab: Pointer;
function kCGImagePropertyTIFFCompression: Pointer;
function kCGImagePropertyTIFFPhotometricInterpretation: Pointer;
function kCGImagePropertyTIFFDocumentName: Pointer;
function kCGImagePropertyTIFFImageDescription: Pointer;
function kCGImagePropertyTIFFMake: Pointer;
function kCGImagePropertyTIFFModel: Pointer;
function kCGImagePropertyTIFFOrientation: Pointer;
function kCGImagePropertyTIFFXResolution: Pointer;
function kCGImagePropertyTIFFYResolution: Pointer;
function kCGImagePropertyTIFFResolutionUnit: Pointer;
function kCGImagePropertyTIFFSoftware: Pointer;
function kCGImagePropertyTIFFTransferFunction: Pointer;
function kCGImagePropertyTIFFDateTime: Pointer;
function kCGImagePropertyTIFFArtist: Pointer;
function kCGImagePropertyTIFFHostComputer: Pointer;
function kCGImagePropertyTIFFCopyright: Pointer;
function kCGImagePropertyTIFFWhitePoint: Pointer;
function kCGImagePropertyTIFFPrimaryChromaticities: Pointer;
function kCGImagePropertyTIFFTileWidth: Pointer;
function kCGImagePropertyTIFFTileLength: Pointer;
function kCGImagePropertyJFIFVersion: Pointer;
function kCGImagePropertyJFIFXDensity: Pointer;
function kCGImagePropertyJFIFYDensity: Pointer;
function kCGImagePropertyJFIFDensityUnit: Pointer;
function kCGImagePropertyJFIFIsProgressive: Pointer;
function kCGImagePropertyExifExposureTime: Pointer;
function kCGImagePropertyExifFNumber: Pointer;
function kCGImagePropertyExifExposureProgram: Pointer;
function kCGImagePropertyExifSpectralSensitivity: Pointer;
function kCGImagePropertyExifISOSpeedRatings: Pointer;
function kCGImagePropertyExifOECF: Pointer;
function kCGImagePropertyExifSensitivityType: Pointer;
function kCGImagePropertyExifStandardOutputSensitivity: Pointer;
function kCGImagePropertyExifRecommendedExposureIndex: Pointer;
function kCGImagePropertyExifISOSpeed: Pointer;
function kCGImagePropertyExifISOSpeedLatitudeyyy: Pointer;
function kCGImagePropertyExifISOSpeedLatitudezzz: Pointer;
function kCGImagePropertyExifVersion: Pointer;
function kCGImagePropertyExifDateTimeOriginal: Pointer;
function kCGImagePropertyExifDateTimeDigitized: Pointer;
function kCGImagePropertyExifComponentsConfiguration: Pointer;
function kCGImagePropertyExifCompressedBitsPerPixel: Pointer;
function kCGImagePropertyExifShutterSpeedValue: Pointer;
function kCGImagePropertyExifApertureValue: Pointer;
function kCGImagePropertyExifBrightnessValue: Pointer;
function kCGImagePropertyExifExposureBiasValue: Pointer;
function kCGImagePropertyExifMaxApertureValue: Pointer;
function kCGImagePropertyExifSubjectDistance: Pointer;
function kCGImagePropertyExifMeteringMode: Pointer;
function kCGImagePropertyExifLightSource: Pointer;
function kCGImagePropertyExifFlash: Pointer;
function kCGImagePropertyExifFocalLength: Pointer;
function kCGImagePropertyExifSubjectArea: Pointer;
function kCGImagePropertyExifMakerNote: Pointer;
function kCGImagePropertyExifUserComment: Pointer;
function kCGImagePropertyExifSubsecTime: Pointer;
function kCGImagePropertyExifSubsecTimeOriginal: Pointer;
function kCGImagePropertyExifSubsecTimeDigitized: Pointer;
function kCGImagePropertyExifFlashPixVersion: Pointer;
function kCGImagePropertyExifColorSpace: Pointer;
function kCGImagePropertyExifPixelXDimension: Pointer;
function kCGImagePropertyExifPixelYDimension: Pointer;
function kCGImagePropertyExifRelatedSoundFile: Pointer;
function kCGImagePropertyExifFlashEnergy: Pointer;
function kCGImagePropertyExifSpatialFrequencyResponse: Pointer;
function kCGImagePropertyExifFocalPlaneXResolution: Pointer;
function kCGImagePropertyExifFocalPlaneYResolution: Pointer;
function kCGImagePropertyExifFocalPlaneResolutionUnit: Pointer;
function kCGImagePropertyExifSubjectLocation: Pointer;
function kCGImagePropertyExifExposureIndex: Pointer;
function kCGImagePropertyExifSensingMethod: Pointer;
function kCGImagePropertyExifFileSource: Pointer;
function kCGImagePropertyExifSceneType: Pointer;
function kCGImagePropertyExifCFAPattern: Pointer;
function kCGImagePropertyExifCustomRendered: Pointer;
function kCGImagePropertyExifExposureMode: Pointer;
function kCGImagePropertyExifWhiteBalance: Pointer;
function kCGImagePropertyExifDigitalZoomRatio: Pointer;
function kCGImagePropertyExifFocalLenIn35mmFilm: Pointer;
function kCGImagePropertyExifSceneCaptureType: Pointer;
function kCGImagePropertyExifGainControl: Pointer;
function kCGImagePropertyExifContrast: Pointer;
function kCGImagePropertyExifSaturation: Pointer;
function kCGImagePropertyExifSharpness: Pointer;
function kCGImagePropertyExifDeviceSettingDescription: Pointer;
function kCGImagePropertyExifSubjectDistRange: Pointer;
function kCGImagePropertyExifImageUniqueID: Pointer;
function kCGImagePropertyExifCameraOwnerName: Pointer;
function kCGImagePropertyExifBodySerialNumber: Pointer;
function kCGImagePropertyExifLensSpecification: Pointer;
function kCGImagePropertyExifLensMake: Pointer;
function kCGImagePropertyExifLensModel: Pointer;
function kCGImagePropertyExifLensSerialNumber: Pointer;
function kCGImagePropertyExifGamma: Pointer;
function kCGImagePropertyExifSubsecTimeOrginal: Pointer;
function kCGImagePropertyExifAuxLensInfo: Pointer;
function kCGImagePropertyExifAuxLensModel: Pointer;
function kCGImagePropertyExifAuxSerialNumber: Pointer;
function kCGImagePropertyExifAuxLensID: Pointer;
function kCGImagePropertyExifAuxLensSerialNumber: Pointer;
function kCGImagePropertyExifAuxImageNumber: Pointer;
function kCGImagePropertyExifAuxFlashCompensation: Pointer;
function kCGImagePropertyExifAuxOwnerName: Pointer;
function kCGImagePropertyExifAuxFirmware: Pointer;
function kCGImagePropertyGIFLoopCount: Pointer;
function kCGImagePropertyGIFDelayTime: Pointer;
function kCGImagePropertyGIFImageColorMap: Pointer;
function kCGImagePropertyGIFHasGlobalColorMap: Pointer;
function kCGImagePropertyGIFUnclampedDelayTime: Pointer;
function kCGImagePropertyPNGGamma: Pointer;
function kCGImagePropertyPNGInterlaceType: Pointer;
function kCGImagePropertyPNGXPixelsPerMeter: Pointer;
function kCGImagePropertyPNGYPixelsPerMeter: Pointer;
function kCGImagePropertyPNGsRGBIntent: Pointer;
function kCGImagePropertyPNGChromaticities: Pointer;
function kCGImagePropertyPNGAuthor: Pointer;
function kCGImagePropertyPNGCopyright: Pointer;
function kCGImagePropertyPNGCreationTime: Pointer;
function kCGImagePropertyPNGDescription: Pointer;
function kCGImagePropertyPNGModificationTime: Pointer;
function kCGImagePropertyPNGSoftware: Pointer;
function kCGImagePropertyPNGTitle: Pointer;
function kCGImagePropertyAPNGLoopCount: Pointer;
function kCGImagePropertyAPNGDelayTime: Pointer;
function kCGImagePropertyAPNGUnclampedDelayTime: Pointer;
function kCGImagePropertyGPSVersion: Pointer;
function kCGImagePropertyGPSLatitudeRef: Pointer;
function kCGImagePropertyGPSLatitude: Pointer;
function kCGImagePropertyGPSLongitudeRef: Pointer;
function kCGImagePropertyGPSLongitude: Pointer;
function kCGImagePropertyGPSAltitudeRef: Pointer;
function kCGImagePropertyGPSAltitude: Pointer;
function kCGImagePropertyGPSTimeStamp: Pointer;
function kCGImagePropertyGPSSatellites: Pointer;
function kCGImagePropertyGPSStatus: Pointer;
function kCGImagePropertyGPSMeasureMode: Pointer;
function kCGImagePropertyGPSDOP: Pointer;
function kCGImagePropertyGPSSpeedRef: Pointer;
function kCGImagePropertyGPSSpeed: Pointer;
function kCGImagePropertyGPSTrackRef: Pointer;
function kCGImagePropertyGPSTrack: Pointer;
function kCGImagePropertyGPSImgDirectionRef: Pointer;
function kCGImagePropertyGPSImgDirection: Pointer;
function kCGImagePropertyGPSMapDatum: Pointer;
function kCGImagePropertyGPSDestLatitudeRef: Pointer;
function kCGImagePropertyGPSDestLatitude: Pointer;
function kCGImagePropertyGPSDestLongitudeRef: Pointer;
function kCGImagePropertyGPSDestLongitude: Pointer;
function kCGImagePropertyGPSDestBearingRef: Pointer;
function kCGImagePropertyGPSDestBearing: Pointer;
function kCGImagePropertyGPSDestDistanceRef: Pointer;
function kCGImagePropertyGPSDestDistance: Pointer;
function kCGImagePropertyGPSProcessingMethod: Pointer;
function kCGImagePropertyGPSAreaInformation: Pointer;
function kCGImagePropertyGPSDateStamp: Pointer;
function kCGImagePropertyGPSDifferental: Pointer;
function kCGImagePropertyGPSHPositioningError: Pointer;
function kCGImagePropertyIPTCObjectTypeReference: Pointer;
function kCGImagePropertyIPTCObjectAttributeReference: Pointer;
function kCGImagePropertyIPTCObjectName: Pointer;
function kCGImagePropertyIPTCEditStatus: Pointer;
function kCGImagePropertyIPTCEditorialUpdate: Pointer;
function kCGImagePropertyIPTCUrgency: Pointer;
function kCGImagePropertyIPTCSubjectReference: Pointer;
function kCGImagePropertyIPTCCategory: Pointer;
function kCGImagePropertyIPTCSupplementalCategory: Pointer;
function kCGImagePropertyIPTCFixtureIdentifier: Pointer;
function kCGImagePropertyIPTCKeywords: Pointer;
function kCGImagePropertyIPTCContentLocationCode: Pointer;
function kCGImagePropertyIPTCContentLocationName: Pointer;
function kCGImagePropertyIPTCReleaseDate: Pointer;
function kCGImagePropertyIPTCReleaseTime: Pointer;
function kCGImagePropertyIPTCExpirationDate: Pointer;
function kCGImagePropertyIPTCExpirationTime: Pointer;
function kCGImagePropertyIPTCSpecialInstructions: Pointer;
function kCGImagePropertyIPTCActionAdvised: Pointer;
function kCGImagePropertyIPTCReferenceService: Pointer;
function kCGImagePropertyIPTCReferenceDate: Pointer;
function kCGImagePropertyIPTCReferenceNumber: Pointer;
function kCGImagePropertyIPTCDateCreated: Pointer;
function kCGImagePropertyIPTCTimeCreated: Pointer;
function kCGImagePropertyIPTCDigitalCreationDate: Pointer;
function kCGImagePropertyIPTCDigitalCreationTime: Pointer;
function kCGImagePropertyIPTCOriginatingProgram: Pointer;
function kCGImagePropertyIPTCProgramVersion: Pointer;
function kCGImagePropertyIPTCObjectCycle: Pointer;
function kCGImagePropertyIPTCByline: Pointer;
function kCGImagePropertyIPTCBylineTitle: Pointer;
function kCGImagePropertyIPTCCity: Pointer;
function kCGImagePropertyIPTCSubLocation: Pointer;
function kCGImagePropertyIPTCProvinceState: Pointer;
function kCGImagePropertyIPTCCountryPrimaryLocationCode: Pointer;
function kCGImagePropertyIPTCCountryPrimaryLocationName: Pointer;
function kCGImagePropertyIPTCOriginalTransmissionReference: Pointer;
function kCGImagePropertyIPTCHeadline: Pointer;
function kCGImagePropertyIPTCCredit: Pointer;
function kCGImagePropertyIPTCSource: Pointer;
function kCGImagePropertyIPTCCopyrightNotice: Pointer;
function kCGImagePropertyIPTCContact: Pointer;
function kCGImagePropertyIPTCCaptionAbstract: Pointer;
function kCGImagePropertyIPTCWriterEditor: Pointer;
function kCGImagePropertyIPTCImageType: Pointer;
function kCGImagePropertyIPTCImageOrientation: Pointer;
function kCGImagePropertyIPTCLanguageIdentifier: Pointer;
function kCGImagePropertyIPTCStarRating: Pointer;
function kCGImagePropertyIPTCCreatorContactInfo: Pointer;
function kCGImagePropertyIPTCRightsUsageTerms: Pointer;
function kCGImagePropertyIPTCScene: Pointer;
function kCGImagePropertyIPTCContactInfoCity: Pointer;
function kCGImagePropertyIPTCContactInfoCountry: Pointer;
function kCGImagePropertyIPTCContactInfoAddress: Pointer;
function kCGImagePropertyIPTCContactInfoPostalCode: Pointer;
function kCGImagePropertyIPTCContactInfoStateProvince: Pointer;
function kCGImagePropertyIPTCContactInfoEmails: Pointer;
function kCGImagePropertyIPTCContactInfoPhones: Pointer;
function kCGImagePropertyIPTCContactInfoWebURLs: Pointer;
function kCGImageProperty8BIMLayerNames: Pointer;
function kCGImageProperty8BIMVersion: Pointer;
function kCGImagePropertyDNGVersion: Pointer;
function kCGImagePropertyDNGBackwardVersion: Pointer;
function kCGImagePropertyDNGUniqueCameraModel: Pointer;
function kCGImagePropertyDNGLocalizedCameraModel: Pointer;
function kCGImagePropertyDNGCameraSerialNumber: Pointer;
function kCGImagePropertyDNGLensInfo: Pointer;
function kCGImagePropertyCIFFDescription: Pointer;
function kCGImagePropertyCIFFFirmware: Pointer;
function kCGImagePropertyCIFFOwnerName: Pointer;
function kCGImagePropertyCIFFImageName: Pointer;
function kCGImagePropertyCIFFImageFileName: Pointer;
function kCGImagePropertyCIFFReleaseMethod: Pointer;
function kCGImagePropertyCIFFReleaseTiming: Pointer;
function kCGImagePropertyCIFFRecordID: Pointer;
function kCGImagePropertyCIFFSelfTimingTime: Pointer;
function kCGImagePropertyCIFFCameraSerialNumber: Pointer;
function kCGImagePropertyCIFFImageSerialNumber: Pointer;
function kCGImagePropertyCIFFContinuousDrive: Pointer;
function kCGImagePropertyCIFFFocusMode: Pointer;
function kCGImagePropertyCIFFMeteringMode: Pointer;
function kCGImagePropertyCIFFShootingMode: Pointer;
function kCGImagePropertyCIFFLensModel: Pointer;
function kCGImagePropertyCIFFLensMaxMM: Pointer;
function kCGImagePropertyCIFFLensMinMM: Pointer;
function kCGImagePropertyCIFFWhiteBalanceIndex: Pointer;
function kCGImagePropertyCIFFFlashExposureComp: Pointer;
function kCGImagePropertyCIFFMeasuredEV: Pointer;
function kCGImagePropertyMakerNikonISOSetting: Pointer;
function kCGImagePropertyMakerNikonColorMode: Pointer;
function kCGImagePropertyMakerNikonQuality: Pointer;
function kCGImagePropertyMakerNikonWhiteBalanceMode: Pointer;
function kCGImagePropertyMakerNikonSharpenMode: Pointer;
function kCGImagePropertyMakerNikonFocusMode: Pointer;
function kCGImagePropertyMakerNikonFlashSetting: Pointer;
function kCGImagePropertyMakerNikonISOSelection: Pointer;
function kCGImagePropertyMakerNikonFlashExposureComp: Pointer;
function kCGImagePropertyMakerNikonImageAdjustment: Pointer;
function kCGImagePropertyMakerNikonLensAdapter: Pointer;
function kCGImagePropertyMakerNikonLensType: Pointer;
function kCGImagePropertyMakerNikonLensInfo: Pointer;
function kCGImagePropertyMakerNikonFocusDistance: Pointer;
function kCGImagePropertyMakerNikonDigitalZoom: Pointer;
function kCGImagePropertyMakerNikonShootingMode: Pointer;
function kCGImagePropertyMakerNikonCameraSerialNumber: Pointer;
function kCGImagePropertyMakerNikonShutterCount: Pointer;
function kCGImagePropertyMakerCanonOwnerName: Pointer;
function kCGImagePropertyMakerCanonCameraSerialNumber: Pointer;
function kCGImagePropertyMakerCanonImageSerialNumber: Pointer;
function kCGImagePropertyMakerCanonFlashExposureComp: Pointer;
function kCGImagePropertyMakerCanonContinuousDrive: Pointer;
function kCGImagePropertyMakerCanonLensModel: Pointer;
function kCGImagePropertyMakerCanonFirmware: Pointer;
function kCGImagePropertyMakerCanonAspectRatioInfo: Pointer;
function kCGImagePropertyOpenEXRAspectRatio: Pointer;
function kCGImagePropertyPNGCompressionFilter: Pointer;
// ===== External functions =====
const
libImageIO = '/System/Library/Frameworks/ImageIO.framework/ImageIO';
function CGImageMetadataGetTypeID: CFTypeID; cdecl;
external libImageIO name _PU + 'CGImageMetadataGetTypeID';
function CGImageMetadataCreateMutable: CGMutableImageMetadataRef; cdecl;
external libImageIO name _PU + 'CGImageMetadataCreateMutable';
function CGImageMetadataCreateMutableCopy(metadata: CGImageMetadataRef)
: CGMutableImageMetadataRef; cdecl;
external libImageIO name _PU + 'CGImageMetadataCreateMutableCopy';
function CGImageMetadataTagGetTypeID: CFTypeID; cdecl;
external libImageIO name _PU + 'CGImageMetadataTagGetTypeID';
function CGImageMetadataTagCreate(xmlns: CFStringRef; prefix: CFStringRef;
name: CFStringRef; &type: CGImageMetadataType; value: CFTypeRef)
: CGImageMetadataTagRef; cdecl;
external libImageIO name _PU + 'CGImageMetadataTagCreate';
function CGImageMetadataTagCopyNamespace(tag: CGImageMetadataTagRef)
: CFStringRef; cdecl; external libImageIO name _PU +
'CGImageMetadataTagCopyNamespace';
function CGImageMetadataTagCopyPrefix(tag: CGImageMetadataTagRef): CFStringRef;
cdecl; external libImageIO name _PU + 'CGImageMetadataTagCopyPrefix';
function CGImageMetadataTagCopyName(tag: CGImageMetadataTagRef): CFStringRef;
cdecl; external libImageIO name _PU + 'CGImageMetadataTagCopyName';
function CGImageMetadataTagCopyValue(tag: CGImageMetadataTagRef): CFTypeRef;
cdecl; external libImageIO name _PU + 'CGImageMetadataTagCopyValue';
function CGImageMetadataTagGetType(tag: CGImageMetadataTagRef)
: CGImageMetadataType; cdecl;
external libImageIO name _PU + 'CGImageMetadataTagGetType';
function CGImageMetadataTagCopyQualifiers(tag: CGImageMetadataTagRef)
: CFArrayRef; cdecl; external libImageIO name _PU +
'CGImageMetadataTagCopyQualifiers';
function CGImageMetadataCopyTags(metadata: CGImageMetadataRef): CFArrayRef;
cdecl; external libImageIO name _PU + 'CGImageMetadataCopyTags';
function CGImageMetadataCopyTagWithPath(metadata: CGImageMetadataRef;
parent: CGImageMetadataTagRef; path: CFStringRef): CGImageMetadataTagRef;
cdecl; external libImageIO name _PU + 'CGImageMetadataCopyTagWithPath';
function CGImageMetadataCopyStringValueWithPath(metadata: CGImageMetadataRef;
parent: CGImageMetadataTagRef; path: CFStringRef): CFStringRef; cdecl;
external libImageIO name _PU + 'CGImageMetadataCopyStringValueWithPath';
function CGImageMetadataRegisterNamespaceForPrefix
(metadata: CGMutableImageMetadataRef; xmlns: CFStringRef; prefix: CFStringRef;
err: Pointer): Integer; cdecl;
external libImageIO name _PU + 'CGImageMetadataRegisterNamespaceForPrefix';
function CGImageMetadataSetTagWithPath(metadata: CGMutableImageMetadataRef;
parent: CGImageMetadataTagRef; path: CFStringRef; tag: CGImageMetadataTagRef)
: Integer; cdecl; external libImageIO name _PU +
'CGImageMetadataSetTagWithPath';
function CGImageMetadataSetValueWithPath(metadata: CGMutableImageMetadataRef;
parent: CGImageMetadataTagRef; path: CFStringRef; value: CFTypeRef): Integer;
cdecl; external libImageIO name _PU + 'CGImageMetadataSetValueWithPath';
function CGImageMetadataRemoveTagWithPath(metadata: CGMutableImageMetadataRef;
parent: CGImageMetadataTagRef; path: CFStringRef): Integer; cdecl;
external libImageIO name _PU + 'CGImageMetadataRemoveTagWithPath';
procedure CGImageMetadataEnumerateTagsUsingBlock(metadata: CGImageMetadataRef;
rootPath: CFStringRef; options: CFDictionaryRef;
block: CGImageMetadataTagBlock); cdecl;
external libImageIO name _PU + 'CGImageMetadataEnumerateTagsUsingBlock';
function CGImageMetadataCopyTagMatchingImageProperty
(metadata: CGImageMetadataRef; dictionaryName: CFStringRef;
propertyName: CFStringRef): CGImageMetadataTagRef; cdecl;
external libImageIO name _PU + 'CGImageMetadataCopyTagMatchingImageProperty';
function CGImageMetadataSetValueMatchingImageProperty
(metadata: CGMutableImageMetadataRef; dictionaryName: CFStringRef;
propertyName: CFStringRef; value: CFTypeRef): Integer; cdecl;
external libImageIO name _PU + 'CGImageMetadataSetValueMatchingImageProperty';
function CGImageMetadataCreateXMPData(metadata: CGImageMetadataRef;
options: CFDictionaryRef): CFDataRef; cdecl;
external libImageIO name _PU + 'CGImageMetadataCreateXMPData';
function CGImageMetadataCreateFromXMPData(data: CFDataRef): CGImageMetadataRef;
cdecl; external libImageIO name _PU + 'CGImageMetadataCreateFromXMPData';
function CGImageSourceGetTypeID: CFTypeID; cdecl;
external libImageIO name _PU + 'CGImageSourceGetTypeID';
function CGImageSourceCopyTypeIdentifiers: CFArrayRef; cdecl;
external libImageIO name _PU + 'CGImageSourceCopyTypeIdentifiers';
function CGImageSourceCreateWithDataProvider(provider: CGDataProviderRef;
options: CFDictionaryRef): CGImageSourceRef; cdecl;
external libImageIO name _PU + 'CGImageSourceCreateWithDataProvider';
function CGImageSourceCreateWithData(data: CFDataRef; options: CFDictionaryRef)
: CGImageSourceRef; cdecl;
external libImageIO name _PU + 'CGImageSourceCreateWithData';
function CGImageSourceCreateWithURL(url: CFURLRef; options: CFDictionaryRef)
: CGImageSourceRef; cdecl;
external libImageIO name _PU + 'CGImageSourceCreateWithURL';
function CGImageSourceGetType(isrc: CGImageSourceRef): CFStringRef; cdecl;
external libImageIO name _PU + 'CGImageSourceGetType';
function CGImageSourceGetCount(isrc: CGImageSourceRef): LongWord; cdecl;
external libImageIO name _PU + 'CGImageSourceGetCount';
function CGImageSourceCopyProperties(isrc: CGImageSourceRef;
options: CFDictionaryRef): CFDictionaryRef; cdecl;
external libImageIO name _PU + 'CGImageSourceCopyProperties';
function CGImageSourceCopyPropertiesAtIndex(isrc: CGImageSourceRef;
index: LongWord; options: CFDictionaryRef): CFDictionaryRef; cdecl;
external libImageIO name _PU + 'CGImageSourceCopyPropertiesAtIndex';
function CGImageSourceCopyMetadataAtIndex(isrc: CGImageSourceRef;
index: LongWord; options: CFDictionaryRef): CGImageMetadataRef; cdecl;
external libImageIO name _PU + 'CGImageSourceCopyMetadataAtIndex';
function CGImageSourceCreateImageAtIndex(isrc: CGImageSourceRef;
index: LongWord; options: CFDictionaryRef): CGImageRef; cdecl;
external libImageIO name _PU + 'CGImageSourceCreateImageAtIndex';
procedure CGImageSourceRemoveCacheAtIndex(isrc: CGImageSourceRef;
index: LongWord); cdecl;
external libImageIO name _PU + 'CGImageSourceRemoveCacheAtIndex';
function CGImageSourceCreateThumbnailAtIndex(isrc: CGImageSourceRef;
index: LongWord; options: CFDictionaryRef): CGImageRef; cdecl;
external libImageIO name _PU + 'CGImageSourceCreateThumbnailAtIndex';
function CGImageSourceCreateIncremental(options: CFDictionaryRef)
: CGImageSourceRef; cdecl;
external libImageIO name _PU + 'CGImageSourceCreateIncremental';
procedure CGImageSourceUpdateData(isrc: CGImageSourceRef; data: CFDataRef;
final: Integer); cdecl;
external libImageIO name _PU + 'CGImageSourceUpdateData';
procedure CGImageSourceUpdateDataProvider(isrc: CGImageSourceRef;
provider: CGDataProviderRef; final: Integer); cdecl;
external libImageIO name _PU + 'CGImageSourceUpdateDataProvider';
function CGImageSourceGetStatus(isrc: CGImageSourceRef): CGImageSourceStatus;
cdecl; external libImageIO name _PU + 'CGImageSourceGetStatus';
function CGImageSourceGetStatusAtIndex(isrc: CGImageSourceRef; index: LongWord)
: CGImageSourceStatus; cdecl;
external libImageIO name _PU + 'CGImageSourceGetStatusAtIndex';
function CGImageDestinationGetTypeID: CFTypeID; cdecl;
external libImageIO name _PU + 'CGImageDestinationGetTypeID';
function CGImageDestinationCopyTypeIdentifiers: CFArrayRef; cdecl;
external libImageIO name _PU + 'CGImageDestinationCopyTypeIdentifiers';
function CGImageDestinationCreateWithDataConsumer(consumer: CGDataConsumerRef;
&type: CFStringRef; count: LongWord; options: CFDictionaryRef)
: CGImageDestinationRef; cdecl;
external libImageIO name _PU + 'CGImageDestinationCreateWithDataConsumer';
function CGImageDestinationCreateWithData(data: CFMutableDataRef;
&type: CFStringRef; count: LongWord; options: CFDictionaryRef)
: CGImageDestinationRef; cdecl;
external libImageIO name _PU + 'CGImageDestinationCreateWithData';
function CGImageDestinationCreateWithURL(url: CFURLRef; &type: CFStringRef;
count: LongWord; options: CFDictionaryRef): CGImageDestinationRef; cdecl;
external libImageIO name _PU + 'CGImageDestinationCreateWithURL';
procedure CGImageDestinationSetProperties(idst: CGImageDestinationRef;
properties: CFDictionaryRef); cdecl;
external libImageIO name _PU + 'CGImageDestinationSetProperties';
procedure CGImageDestinationAddImage(idst: CGImageDestinationRef;
image: CGImageRef; properties: CFDictionaryRef); cdecl;
external libImageIO name _PU + 'CGImageDestinationAddImage';
procedure CGImageDestinationAddImageFromSource(idst: CGImageDestinationRef;
isrc: CGImageSourceRef; index: LongWord; properties: CFDictionaryRef); cdecl;
external libImageIO name _PU + 'CGImageDestinationAddImageFromSource';
function CGImageDestinationFinalize(idst: CGImageDestinationRef): Integer;
cdecl; external libImageIO name _PU + 'CGImageDestinationFinalize';
procedure CGImageDestinationAddImageAndMetadata(idst: CGImageDestinationRef;
image: CGImageRef; metadata: CGImageMetadataRef; options: CFDictionaryRef);
cdecl; external libImageIO name _PU + 'CGImageDestinationAddImageAndMetadata';
function CGImageDestinationCopyImageSource(idst: CGImageDestinationRef;
isrc: CGImageSourceRef; options: CFDictionaryRef; err: Pointer): Integer;
cdecl; external libImageIO name _PU + 'CGImageDestinationCopyImageSource';
implementation
{$IF defined(IOS) and NOT defined(CPUARM)}
uses
Posix.Dlfcn;
var
ImageIOModule: THandle;
{$ENDIF IOS}
function kCGImageMetadataNamespaceExif: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageMetadataNamespaceExif');
end;
function kCGImageMetadataNamespaceExifAux: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageMetadataNamespaceExifAux');
end;
function kCGImageMetadataNamespaceExifEX: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageMetadataNamespaceExifEX');
end;
function kCGImageMetadataNamespaceDublinCore: Pointer;
begin
Result := CocoaPointerConst(libImageIO,
'kCGImageMetadataNamespaceDublinCore');
end;
function kCGImageMetadataNamespaceIPTCCore: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageMetadataNamespaceIPTCCore');
end;
function kCGImageMetadataNamespacePhotoshop: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageMetadataNamespacePhotoshop');
end;
function kCGImageMetadataNamespaceTIFF: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageMetadataNamespaceTIFF');
end;
function kCGImageMetadataNamespaceXMPBasic: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageMetadataNamespaceXMPBasic');
end;
function kCGImageMetadataNamespaceXMPRights: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageMetadataNamespaceXMPRights');
end;
function kCGImageMetadataPrefixExif: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageMetadataPrefixExif');
end;
function kCGImageMetadataPrefixExifAux: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageMetadataPrefixExifAux');
end;
function kCGImageMetadataPrefixExifEX: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageMetadataPrefixExifEX');
end;
function kCGImageMetadataPrefixDublinCore: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageMetadataPrefixDublinCore');
end;
function kCGImageMetadataPrefixIPTCCore: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageMetadataPrefixIPTCCore');
end;
function kCGImageMetadataPrefixPhotoshop: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageMetadataPrefixPhotoshop');
end;
function kCGImageMetadataPrefixTIFF: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageMetadataPrefixTIFF');
end;
function kCGImageMetadataPrefixXMPBasic: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageMetadataPrefixXMPBasic');
end;
function kCGImageMetadataPrefixXMPRights: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageMetadataPrefixXMPRights');
end;
function kCGImageMetadataEnumerateRecursively: Pointer;
begin
Result := CocoaPointerConst(libImageIO,
'kCGImageMetadataEnumerateRecursively');
end;
function kCFErrorDomainCGImageMetadata: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCFErrorDomainCGImageMetadata');
end;
function kCGImageSourceTypeIdentifierHint: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageSourceTypeIdentifierHint');
end;
function kCGImageSourceShouldCache: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageSourceShouldCache');
end;
function kCGImageSourceShouldCacheImmediately: Pointer;
begin
Result := CocoaPointerConst(libImageIO,
'kCGImageSourceShouldCacheImmediately');
end;
function kCGImageSourceShouldAllowFloat: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageSourceShouldAllowFloat');
end;
function kCGImageSourceCreateThumbnailFromImageIfAbsent: Pointer;
begin
Result := CocoaPointerConst(libImageIO,
'kCGImageSourceCreateThumbnailFromImageIfAbsent');
end;
function kCGImageSourceCreateThumbnailFromImageAlways: Pointer;
begin
Result := CocoaPointerConst(libImageIO,
'kCGImageSourceCreateThumbnailFromImageAlways');
end;
function kCGImageSourceThumbnailMaxPixelSize: Pointer;
begin
Result := CocoaPointerConst(libImageIO,
'kCGImageSourceThumbnailMaxPixelSize');
end;
function kCGImageSourceCreateThumbnailWithTransform: Pointer;
begin
Result := CocoaPointerConst(libImageIO,
'kCGImageSourceCreateThumbnailWithTransform');
end;
function kCGImageSourceSubsampleFactor: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageSourceSubsampleFactor');
end;
function kCGImageDestinationLossyCompressionQuality: Pointer;
begin
Result := CocoaPointerConst(libImageIO,
'kCGImageDestinationLossyCompressionQuality');
end;
function kCGImageDestinationBackgroundColor: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageDestinationBackgroundColor');
end;
function kCGImageDestinationImageMaxPixelSize: Pointer;
begin
Result := CocoaPointerConst(libImageIO,
'kCGImageDestinationImageMaxPixelSize');
end;
function kCGImageDestinationEmbedThumbnail: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageDestinationEmbedThumbnail');
end;
function kCGImageDestinationMetadata: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageDestinationMetadata');
end;
function kCGImageDestinationMergeMetadata: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageDestinationMergeMetadata');
end;
function kCGImageMetadataShouldExcludeXMP: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageMetadataShouldExcludeXMP');
end;
function kCGImageMetadataShouldExcludeGPS: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageMetadataShouldExcludeGPS');
end;
function kCGImageDestinationDateTime: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageDestinationDateTime');
end;
function kCGImageDestinationOrientation: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageDestinationOrientation');
end;
function kCGImagePropertyTIFFDictionary: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyTIFFDictionary');
end;
function kCGImagePropertyGIFDictionary: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyGIFDictionary');
end;
function kCGImagePropertyJFIFDictionary: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyJFIFDictionary');
end;
function kCGImagePropertyExifDictionary: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyExifDictionary');
end;
function kCGImagePropertyPNGDictionary: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyPNGDictionary');
end;
function kCGImagePropertyIPTCDictionary: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyIPTCDictionary');
end;
function kCGImagePropertyGPSDictionary: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyGPSDictionary');
end;
function kCGImagePropertyRawDictionary: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyRawDictionary');
end;
function kCGImagePropertyCIFFDictionary: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyCIFFDictionary');
end;
function kCGImagePropertyMakerCanonDictionary: Pointer;
begin
Result := CocoaPointerConst(libImageIO,
'kCGImagePropertyMakerCanonDictionary');
end;
function kCGImagePropertyMakerNikonDictionary: Pointer;
begin
Result := CocoaPointerConst(libImageIO,
'kCGImagePropertyMakerNikonDictionary');
end;
function kCGImagePropertyMakerMinoltaDictionary: Pointer;
begin
Result := CocoaPointerConst(libImageIO,
'kCGImagePropertyMakerMinoltaDictionary');
end;
function kCGImagePropertyMakerFujiDictionary: Pointer;
begin
Result := CocoaPointerConst(libImageIO,
'kCGImagePropertyMakerFujiDictionary');
end;
function kCGImagePropertyMakerOlympusDictionary: Pointer;
begin
Result := CocoaPointerConst(libImageIO,
'kCGImagePropertyMakerOlympusDictionary');
end;
function kCGImagePropertyMakerPentaxDictionary: Pointer;
begin
Result := CocoaPointerConst(libImageIO,
'kCGImagePropertyMakerPentaxDictionary');
end;
function kCGImageProperty8BIMDictionary: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImageProperty8BIMDictionary');
end;
function kCGImagePropertyDNGDictionary: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyDNGDictionary');
end;
function kCGImagePropertyExifAuxDictionary: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyExifAuxDictionary');
end;
function kCGImagePropertyOpenEXRDictionary: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyOpenEXRDictionary');
end;
function kCGImagePropertyMakerAppleDictionary: Pointer;
begin
Result := CocoaPointerConst(libImageIO,
'kCGImagePropertyMakerAppleDictionary');
end;
function kCGImagePropertyFileSize: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyFileSize');
end;
function kCGImagePropertyPixelHeight: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyPixelHeight');
end;
function kCGImagePropertyPixelWidth: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyPixelWidth');
end;
function kCGImagePropertyDPIHeight: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyDPIHeight');
end;
function kCGImagePropertyDPIWidth: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyDPIWidth');
end;
function kCGImagePropertyDepth: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyDepth');
end;
function kCGImagePropertyOrientation: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyOrientation');
end;
function kCGImagePropertyIsFloat: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyIsFloat');
end;
function kCGImagePropertyIsIndexed: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyIsIndexed');
end;
function kCGImagePropertyHasAlpha: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyHasAlpha');
end;
function kCGImagePropertyColorModel: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyColorModel');
end;
function kCGImagePropertyProfileName: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyProfileName');
end;
function kCGImagePropertyColorModelRGB: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyColorModelRGB');
end;
function kCGImagePropertyColorModelGray: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyColorModelGray');
end;
function kCGImagePropertyColorModelCMYK: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyColorModelCMYK');
end;
function kCGImagePropertyColorModelLab: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyColorModelLab');
end;
function kCGImagePropertyTIFFCompression: Pointer;
begin
Result := CocoaPointerConst(libImageIO, 'kCGImagePropertyTIFFCompression');
end;
function kCGImagePropertyTIFFPhotometricInterpretation: Pointer;
begin