BSOne.SFC/EM.Lib/ImageEn_SRC/Source/Delphi10.1Berlin/iexMetaHelpers.hpp

223 lines
13 KiB
C++

// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'iexMetaHelpers.pas' rev: 37.00 (Windows)
#ifndef iexMetaHelpersHPP
#define iexMetaHelpersHPP
#pragma delphiheader begin
#pragma option push
#if defined(__BORLANDC__) && !defined(__clang__)
#pragma option -w- // All warnings off
#pragma option -Vx // Zero-length empty class member
#endif
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <Vcl.Grids.hpp>
#include <Vcl.ComCtrls.hpp>
#include <imageenio.hpp>
#include <Vcl.Dialogs.hpp>
#include <System.SysUtils.hpp>
#include <System.Math.hpp>
#include <Vcl.Graphics.hpp>
#include <System.Classes.hpp>
#include <iexBitmaps.hpp>
//-- user supplied -----------------------------------------------------------
namespace Iexmetahelpers
{
//-- forward type declarations -----------------------------------------------
struct TIOParamsHelper /* Helper for class 'Iexbitmaps::TIOParams*' */;
struct TStringGridHelper /* Helper for class 'Vcl::Grids::TStringGrid*' */;
struct TListViewHelper /* Helper for class 'Vcl::Comctrls::TListView*' */;
//-- type declarations -------------------------------------------------------
enum DECLSPEC_DENUM Iexmetahelpers__1 : unsigned char { diDeprecated, diProprietary, diChildTags, diUnknown };
typedef System::Set<Iexmetahelpers__1, Iexmetahelpers__1::diDeprecated, Iexmetahelpers__1::diUnknown> TIEDicomInclude;
//-- var, const, procedure ---------------------------------------------------
static _DELPHI_CONST System::Int8 _EXIF_UserComment = System::Int8(0x0);
static _DELPHI_CONST System::Int8 _EXIF_ImageDescription = System::Int8(0x1);
static _DELPHI_CONST System::Int8 _EXIF_CameraMake = System::Int8(0x2);
static _DELPHI_CONST System::Int8 _EXIF_CameraModel = System::Int8(0x3);
static _DELPHI_CONST System::Int8 _EXIF_XResolution = System::Int8(0x4);
static _DELPHI_CONST System::Int8 _EXIF_YResolution = System::Int8(0x5);
static _DELPHI_CONST System::Int8 _EXIF_DateTime = System::Int8(0x6);
static _DELPHI_CONST System::Int8 _EXIF_DateTimeOriginal = System::Int8(0x7);
static _DELPHI_CONST System::Int8 _EXIF_DateTimeDigitized = System::Int8(0x8);
static _DELPHI_CONST System::Int8 _EXIF_Copyright = System::Int8(0x9);
static _DELPHI_CONST System::Int8 _EXIF_Orientation = System::Int8(0xa);
static _DELPHI_CONST System::Int8 _EXIF_ExposureTime = System::Int8(0xb);
static _DELPHI_CONST System::Int8 _EXIF_FNumber = System::Int8(0xc);
static _DELPHI_CONST System::Int8 _EXIF_ExposureProgram = System::Int8(0xd);
static _DELPHI_CONST System::Int8 _EXIF_ISOSpeedRatings = System::Int8(0xe);
static _DELPHI_CONST System::Int8 _EXIF_ShutterSpeedValue = System::Int8(0xf);
static _DELPHI_CONST System::Int8 _EXIF_ApertureValue = System::Int8(0x10);
static _DELPHI_CONST System::Int8 _EXIF_BrightnessValue = System::Int8(0x11);
static _DELPHI_CONST System::Int8 _EXIF_ExposureBiasValue = System::Int8(0x12);
static _DELPHI_CONST System::Int8 _EXIF_MaxApertureValue = System::Int8(0x13);
static _DELPHI_CONST System::Int8 _EXIF_SubjectDistance = System::Int8(0x14);
static _DELPHI_CONST System::Int8 _EXIF_MeteringMode = System::Int8(0x15);
static _DELPHI_CONST System::Int8 _EXIF_LightSource = System::Int8(0x16);
static _DELPHI_CONST System::Int8 _EXIF_Flash = System::Int8(0x17);
static _DELPHI_CONST System::Int8 _EXIF_FocalLength = System::Int8(0x18);
static _DELPHI_CONST System::Int8 _EXIF_FlashPixVersion = System::Int8(0x19);
static _DELPHI_CONST System::Int8 _EXIF_ColorSpace = System::Int8(0x1a);
static _DELPHI_CONST System::Int8 _EXIF_ExifImageWidth = System::Int8(0x1b);
static _DELPHI_CONST System::Int8 _EXIF_ExifImageHeight = System::Int8(0x1c);
static _DELPHI_CONST System::Int8 _EXIF_RelatedSoundFile = System::Int8(0x1d);
static _DELPHI_CONST System::Int8 _EXIF_FocalPlaneXResolution = System::Int8(0x1e);
static _DELPHI_CONST System::Int8 _EXIF_FocalPlaneYResolution = System::Int8(0x1f);
static _DELPHI_CONST System::Int8 _EXIF_ExposureIndex = System::Int8(0x20);
static _DELPHI_CONST System::Int8 _EXIF_SensingMethod = System::Int8(0x21);
static _DELPHI_CONST System::Int8 _EXIF_FileSource = System::Int8(0x22);
static _DELPHI_CONST System::Int8 _EXIF_SceneType = System::Int8(0x23);
static _DELPHI_CONST System::Int8 _EXIF_YCbCrPositioning = System::Int8(0x24);
static _DELPHI_CONST System::Int8 _EXIF_ExposureMode = System::Int8(0x25);
static _DELPHI_CONST System::Int8 _EXIF_WhiteBalance = System::Int8(0x26);
static _DELPHI_CONST System::Int8 _EXIF_DigitalZoomRatio = System::Int8(0x27);
static _DELPHI_CONST System::Int8 _EXIF_FocalLengthIn35mmFilm = System::Int8(0x28);
static _DELPHI_CONST System::Int8 _EXIF_SceneCaptureType = System::Int8(0x29);
static _DELPHI_CONST System::Int8 _EXIF_GainControl = System::Int8(0x2a);
static _DELPHI_CONST System::Int8 _EXIF_Contrast = System::Int8(0x2b);
static _DELPHI_CONST System::Int8 _EXIF_Saturation = System::Int8(0x2c);
static _DELPHI_CONST System::Int8 _EXIF_Sharpness = System::Int8(0x2d);
static _DELPHI_CONST System::Int8 _EXIF_SubjectDistanceRange = System::Int8(0x2e);
static _DELPHI_CONST System::Int8 _EXIF_GPSLatitude = System::Int8(0x2f);
static _DELPHI_CONST System::Int8 _EXIF_GPSLongitude = System::Int8(0x30);
static _DELPHI_CONST System::Int8 _EXIF_GPSAltitude = System::Int8(0x31);
static _DELPHI_CONST System::Int8 _EXIF_GPSImageDirection = System::Int8(0x32);
static _DELPHI_CONST System::Int8 _EXIF_GPSTrack = System::Int8(0x33);
static _DELPHI_CONST System::Int8 _EXIF_GPSSpeed = System::Int8(0x34);
static _DELPHI_CONST System::Int8 _EXIF_GPSDateAndTime = System::Int8(0x35);
static _DELPHI_CONST System::Int8 _EXIF_GPSSatellites = System::Int8(0x36);
static _DELPHI_CONST System::Int8 _EXIF_GPSVersionID = System::Int8(0x37);
static _DELPHI_CONST System::Int8 _EXIF_Artist = System::Int8(0x38);
static _DELPHI_CONST System::Int8 _EXIF_XPTitle = System::Int8(0x39);
static _DELPHI_CONST System::Int8 _EXIF_XPComment = System::Int8(0x3a);
static _DELPHI_CONST System::Int8 _EXIF_XPAuthor = System::Int8(0x3b);
static _DELPHI_CONST System::Int8 _EXIF_XPKeywords = System::Int8(0x3c);
static _DELPHI_CONST System::Int8 _EXIF_XPSubject = System::Int8(0x3d);
static _DELPHI_CONST System::Int8 _EXIF_XPRating = System::Int8(0x3e);
static _DELPHI_CONST System::Int8 _EXIF_InteropVersion = System::Int8(0x3f);
static _DELPHI_CONST System::Int8 _EXIF_CameraOwnerName = System::Int8(0x40);
static _DELPHI_CONST System::Int8 _EXIF_BodySerialNumber = System::Int8(0x41);
static _DELPHI_CONST System::Int8 _EXIF_LensMake = System::Int8(0x42);
static _DELPHI_CONST System::Int8 _EXIF_LensModel = System::Int8(0x43);
static _DELPHI_CONST System::Int8 _EXIF_LensSerialNumber = System::Int8(0x44);
static _DELPHI_CONST System::Int8 _EXIF_Gamma = System::Int8(0x45);
static _DELPHI_CONST System::Int8 _EXIF_SubjectArea = System::Int8(0x46);
static _DELPHI_CONST System::Int8 _EXIF_SubjectLocation = System::Int8(0x47);
static _DELPHI_CONST System::Int8 _EXIF_Tag_Count = System::Int8(0x48);
#define Example_File_Only L"Example File"
#define SKIP_DESCRIPTION L"SKIP_DESCRIPTION"
extern DELPHI_PACKAGE bool Maintain_File_Dates_On_Meta_Write;
#define EXIF_COMPATIBLE_EXTENSIONS L"*.TIF;*.TIFF;*.JPE;*.JPG;*.JPEG;*.CRW;*.CR2;*.DNG;*.NEF;*."\
L"RAW;*.RAF;*.X3F;*.ORF;*.SRF;*.MRW;*.DCR;*.BAY;*.PEF;*.SR2;"\
L"*.ARW;*.KDC;*.MEF;*.3FR;*.K25;*.ERF;*.CAM;*.CS1;*.DC2;*.DC"\
L"S;*.FFF;*.MDC;*.MOS;*.NRW;*.PTX;*.PXN;*.RDC;*.RW2;*.RWL;*."\
L"IIQ;*.SRW"
#define XMP_COMPATIBLE_EXTENSIONS L"*.TIF;*.TIFF;*.JPE;*.JPG;*.JPEG;*.PSD;"
#define XMP_Aux_ApproximateFocusDistance L"aux:ApproximateFocusDistance"
#define XMP_Aux_Firmware L"aux:Firmware"
#define XMP_Aux_FlashCompensation L"aux:FlashCompensation"
#define XMP_Aux_ImageNumber L"aux:ImageNumber"
#define XMP_Aux_Lens L"aux:Lens"
#define XMP_Aux_LensID L"aux:LensID"
#define XMP_Aux_LensInfo L"aux:LensInfo"
#define XMP_Aux_LensSerialNumber L"aux:LensSerialNumber"
#define XMP_Aux_OwnerName L"aux:OwnerName"
#define XMP_Aux_SerialNumber L"aux:SerialNumber"
#define XMP_CC_AttributionName L"cc:AttributionName"
#define XMP_CC_AttributionURL L"cc:AttributionURL"
#define XMP_CC_DeprecatedOn L"cc:DeprecatedOn"
#define XMP_CC_Jurisdiction L"cc:Jurisdiction"
#define XMP_CC_LegalCode L"cc:LegalCode"
#define XMP_CC_License L"cc:License"
#define XMP_CC_MorePermissions L"cc:MorePermissions"
#define XMP_CC_Permits L"cc:Permits"
#define XMP_CC_Prohibits L"cc:Prohibits"
#define XMP_CC_Requires L"cc:Requires"
#define XMP_CC_UseGuidelines L"cc:UseGuidelines"
#define XMP_DC_Contributor L"dc:Contributor"
#define XMP_DC_Coverage L"dc:Coverage"
#define XMP_DC_Creator L"dc:Creator"
#define XMP_DC_Date L"dc:Date"
#define XMP_DC_Description L"dc:Description"
#define XMP_DC_Format L"dc:Format"
#define XMP_DC_Identifier L"dc:Identifier"
#define XMP_DC_Language L"dc:Language"
#define XMP_DC_Publisher L"dc:Publisher"
#define XMP_DC_Relation L"dc:Relation"
#define XMP_DC_Rights L"dc:Rights"
#define XMP_DC_Source L"dc:Source"
#define XMP_DC_Subject L"dc:Subject"
#define XMP_DC_Title L"dc:Title"
#define XMP_DC_Type L"dc:Type"
#define XMP_Photoshop_AuthorsPosition L"photoshop:AuthorsPosition"
#define XMP_Photoshop_CaptionWriter L"photoshop:CaptionWriter"
#define XMP_Photoshop_Category L"photoshop:Category"
#define XMP_Photoshop_City L"photoshop:City"
#define XMP_Photoshop_ColorMode L"photoshop:ColorMode"
#define XMP_Photoshop_Country L"photoshop:Country"
#define XMP_Photoshop_Credit L"photoshop:Credit"
#define XMP_Photoshop_DateCreated L"photoshop:DateCreated"
#define XMP_Photoshop_DocumentAncestorID L"photoshop:DocumentAncestorID"
#define XMP_Photoshop_Headline L"photoshop:Headline"
#define XMP_Photoshop_History L"photoshop:History"
#define XMP_Photoshop_ICCProfileName L"photoshop:ICCProfileName"
#define XMP_Photoshop_Instructions L"photoshop:Instructions"
#define XMP_Photoshop_Source L"photoshop:Source"
#define XMP_Photoshop_State L"photoshop:State"
#define XMP_Photoshop_SupplementalCategories L"photoshop:SupplementalCategories"
#define XMP_Photoshop_TextLayerName L"photoshop:TextLayerName"
#define XMP_Photoshop_TextLayerText L"photoshop:TextLayerText"
#define XMP_Photoshop_TransmissionReference L"photoshop:TransmissionReference"
#define XMP_Photoshop_Urgency L"photoshop:Urgency"
#define XMP_Advisory L"xmp:Advisory"
#define XMP_Author L"xmp:Author"
#define XMP_BaseURL L"xmp:BaseURL"
#define XMP_CreateDate L"xmp:CreateDate"
#define XMP_CreatorTool L"xmp:CreatorTool"
#define XMP_Description L"xmp:Description"
#define XMP_Format L"xmp:Format"
#define XMP_Identifier L"xmp:Identifier"
#define XMP_Keywords L"xmp:Keywords"
#define XMP_Label L"xmp:Label"
#define XMP_MetadataDate L"xmp:MetadataDate"
#define XMP_ModifyDate L"xmp:ModifyDate"
#define XMP_Nickname L"xmp:Nickname"
#define XMP_Rating L"xmp:Rating"
#define XMP_Title L"xmp:Title"
extern DELPHI_PACKAGE System::UnicodeString __fastcall DoubleToFraction(double dValue);
extern DELPHI_PACKAGE double __fastcall FractionToDouble(System::UnicodeString dValue);
extern DELPHI_PACKAGE System::UnicodeString __fastcall ApexToStr(double dBase, double dValue, const System::UnicodeString sPrepend);
extern DELPHI_PACKAGE double __fastcall StrToApex(double dBase, System::UnicodeString Value, System::UnicodeString sPrepended);
extern DELPHI_PACKAGE bool __fastcall ExifCompatibleFile(const System::UnicodeString sFilename);
extern DELPHI_PACKAGE bool __fastcall ReadExifCameraFieldsFromFile(const System::UnicodeString sFilename, /* out */ System::UnicodeString &sCameraModel, /* out */ System::UnicodeString &sExposureTime, /* out */ System::UnicodeString &sFlashMode);
extern DELPHI_PACKAGE bool __fastcall ReadExifGPSFieldsFromFile(const System::UnicodeString sFilename, /* out */ double &GPSLatitude, /* out */ double &GPSLongitude)/* overload */;
extern DELPHI_PACKAGE bool __fastcall ReadExifGPSFieldsFromFile(const System::UnicodeString sFilename, /* out */ System::UnicodeString &sGPSLatitude, /* out */ System::UnicodeString &sGPSLongitude)/* overload */;
extern DELPHI_PACKAGE bool __fastcall ContainsExifTag(const System::UnicodeString Text);
extern DELPHI_PACKAGE void __fastcall GetExifTagList(System::Classes::TStrings* ssDest);
extern DELPHI_PACKAGE System::UnicodeString __fastcall ReplaceExifTags(const System::UnicodeString Text, Iexbitmaps::TIOParams* EXIFSource)/* overload */;
extern DELPHI_PACKAGE System::UnicodeString __fastcall ReplaceExifTags(const System::UnicodeString Text, const System::UnicodeString sEXIFSourceFilename)/* overload */;
extern DELPHI_PACKAGE bool __fastcall IPTCCompatibleFile(const System::UnicodeString sFilename);
extern DELPHI_PACKAGE bool __fastcall ReadIPTCDescriptionAndKeywordsFromFile(const System::UnicodeString sFilename, /* out */ System::UnicodeString &sDescription, System::Classes::TStrings* ssKeywords = (System::Classes::TStrings*)(0x0));
extern DELPHI_PACKAGE void __fastcall WriteIPTCDescriptionAndKeywordsToFile(const System::UnicodeString sFilename, System::UnicodeString sDescription, System::Classes::TStrings* ssKeywords = (System::Classes::TStrings*)(0x0));
extern DELPHI_PACKAGE bool __fastcall DicomCompatibleFile(const System::UnicodeString sFilename);
extern DELPHI_PACKAGE bool __fastcall XMPCompatibleFile(const System::UnicodeString sFilename);
} /* namespace Iexmetahelpers */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_IEXMETAHELPERS)
using namespace Iexmetahelpers;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // iexMetaHelpersHPP