ImageCompression.h
上传用户:xjjlds
上传日期:2015-12-05
资源大小:22823k
文件大小:165k
- EXTERN_API( OSErr )
- CDSequenceNewDataSource (ImageSequence seqID,
- ImageSequenceDataSource * sourceID,
- OSType sourceType,
- long sourceInputNumber,
- Handle dataDescription,
- ICMConvertDataFormatUPP transferProc,
- void * refCon) FOURWORDINLINE(0x203C, 0x001C, 0x0068, 0xAAA3);
- EXTERN_API( OSErr )
- CDSequenceDisposeDataSource (ImageSequenceDataSource sourceID) FOURWORDINLINE(0x203C, 0x0004, 0x0069, 0xAAA3);
- EXTERN_API( OSErr )
- CDSequenceSetSourceData (ImageSequenceDataSource sourceID,
- void * data,
- long dataSize) FOURWORDINLINE(0x203C, 0x000C, 0x006A, 0xAAA3);
- EXTERN_API( OSErr )
- CDSequenceChangedSourceData (ImageSequenceDataSource sourceID) FOURWORDINLINE(0x203C, 0x0004, 0x006B, 0xAAA3);
- EXTERN_API( OSErr )
- CDSequenceSetSourceDataQueue (ImageSequenceDataSource sourceID,
- QHdrPtr dataQueue) FOURWORDINLINE(0x203C, 0x0008, 0x007B, 0xAAA3);
- EXTERN_API( OSErr )
- CDSequenceGetDataSource (ImageSequence seqID,
- ImageSequenceDataSource * sourceID,
- OSType sourceType,
- long sourceInputNumber) FOURWORDINLINE(0x203C, 0x0010, 0x007F, 0xAAA3);
- EXTERN_API( OSErr )
- PtInDSequenceData (ImageSequence seqID,
- void * data,
- Size dataSize,
- Point where,
- Boolean * hit) FOURWORDINLINE(0x203C, 0x0014, 0x006C, 0xAAA3);
- EXTERN_API( OSErr )
- HitTestDSequenceData (ImageSequence seqID,
- void * data,
- Size dataSize,
- Point where,
- long * hit,
- long hitFlags) FOURWORDINLINE(0x203C, 0x0018, 0x0087, 0xAAA3);
- EXTERN_API( OSErr )
- GetGraphicsImporterForFile (const FSSpec * theFile,
- ComponentInstance * gi) FOURWORDINLINE(0x203C, 0x0008, 0x006E, 0xAAA3);
- EXTERN_API( OSErr )
- GetGraphicsImporterForDataRef (Handle dataRef,
- OSType dataRefType,
- ComponentInstance * gi) FOURWORDINLINE(0x203C, 0x000C, 0x0077, 0xAAA3);
- enum {
- kDontUseValidateToFindGraphicsImporter = 1L << 0
- };
- EXTERN_API( OSErr )
- GetGraphicsImporterForFileWithFlags (const FSSpec * theFile,
- ComponentInstance * gi,
- long flags) FOURWORDINLINE(0x203C, 0x000C, 0x0084, 0xAAA3);
- EXTERN_API( OSErr )
- GetGraphicsImporterForDataRefWithFlags (Handle dataRef,
- OSType dataRefType,
- ComponentInstance * gi,
- long flags) FOURWORDINLINE(0x203C, 0x0010, 0x0085, 0xAAA3);
- EXTERN_API( OSErr )
- QTGetFileNameExtension (ConstStrFileNameParam fileName,
- OSType fileType,
- OSType * extension) FOURWORDINLINE(0x203C, 0x000C, 0x0061, 0xAAA3);
- EXTERN_API( OSErr )
- ImageTranscodeSequenceBegin (ImageTranscodeSequence * its,
- ImageDescriptionHandle srcDesc,
- OSType destType,
- ImageDescriptionHandle * dstDesc,
- void * data,
- long dataSize) FOURWORDINLINE(0x203C, 0x0018, 0x006F, 0xAAA3);
- EXTERN_API( OSErr )
- ImageTranscodeSequenceEnd (ImageTranscodeSequence its) FOURWORDINLINE(0x203C, 0x0004, 0x0070, 0xAAA3);
- EXTERN_API( OSErr )
- ImageTranscodeFrame (ImageTranscodeSequence its,
- void * srcData,
- long srcDataSize,
- void ** dstData,
- long * dstDataSize) FOURWORDINLINE(0x203C, 0x0014, 0x0071, 0xAAA3);
- EXTERN_API( OSErr )
- ImageTranscodeDisposeFrameData (ImageTranscodeSequence its,
- void * dstData) FOURWORDINLINE(0x203C, 0x0008, 0x0072, 0xAAA3);
- EXTERN_API( OSErr )
- CDSequenceInvalidate (ImageSequence seqID,
- RgnHandle invalRgn) FOURWORDINLINE(0x203C, 0x0008, 0x0073, 0xAAA3);
- EXTERN_API( OSErr )
- CDSequenceSetTimeBase (ImageSequence seqID,
- void * base) FOURWORDINLINE(0x203C, 0x0008, 0x0079, 0xAAA3);
- EXTERN_API( OSErr )
- ImageFieldSequenceBegin (ImageFieldSequence * ifs,
- ImageDescriptionHandle desc1,
- ImageDescriptionHandle desc2,
- ImageDescriptionHandle descOut) FOURWORDINLINE(0x203C, 0x0010, 0x006D, 0xAAA3);
- EXTERN_API( OSErr )
- ImageFieldSequenceExtractCombine (ImageFieldSequence ifs,
- long fieldFlags,
- void * data1,
- long dataSize1,
- void * data2,
- long dataSize2,
- void * outputData,
- long * outDataSize) FOURWORDINLINE(0x203C, 0x0020, 0x0075, 0xAAA3);
- EXTERN_API( OSErr )
- ImageFieldSequenceEnd (ImageFieldSequence ifs) FOURWORDINLINE(0x203C, 0x0004, 0x0076, 0xAAA3);
- enum {
- kICMTempThenAppMemory = 1L << 12,
- kICMAppThenTempMemory = 1L << 13
- };
- EXTERN_API( OSErr )
- QTNewGWorld (GWorldPtr * offscreenGWorld,
- OSType PixelFormat,
- const Rect * boundsRect,
- CTabHandle cTable,
- GDHandle aGDevice,
- GWorldFlags flags) FOURWORDINLINE(0x203C, 0x0018, 0x0080, 0xAAA3);
- EXTERN_API( OSErr )
- QTNewGWorldFromPtr (GWorldPtr * gw,
- OSType pixelFormat,
- const Rect * boundsRect,
- CTabHandle cTable,
- GDHandle aGDevice,
- GWorldFlags flags,
- void * baseAddr,
- long rowBytes) FOURWORDINLINE(0x203C, 0x0020, 0x008B, 0xAAA3);
- EXTERN_API( GWorldFlags )
- QTUpdateGWorld (GWorldPtr * offscreenGWorld,
- OSType PixelFormat,
- const Rect * boundsRect,
- CTabHandle cTable,
- GDHandle aGDevice,
- GWorldFlags flags) FOURWORDINLINE(0x203C, 0x0018, 0x0081, 0xAAA3);
- EXTERN_API( OSErr )
- MakeImageDescriptionForPixMap (PixMapHandle pixmap,
- ImageDescriptionHandle * idh) FOURWORDINLINE(0x203C, 0x0008, 0x007A, 0xAAA3);
- EXTERN_API( OSErr )
- MakeImageDescriptionForEffect (OSType effectType,
- ImageDescriptionHandle * idh) FOURWORDINLINE(0x203C, 0x0008, 0x0092, 0xAAA3);
- EXTERN_API( short )
- QTGetPixelSize (OSType PixelFormat) FOURWORDINLINE(0x203C, 0x0004, 0x0086, 0xAAA3);
- EXTERN_API( short )
- QTGetPixelFormatDepthForImageDescription (OSType pixelFormat) FOURWORDINLINE(0x203C, 0x0004, 0x00A3, 0xAAA3);
- EXTERN_API( long )
- QTGetPixMapPtrRowBytes (PixMapPtr pm) FOURWORDINLINE(0x203C, 0x0004, 0x008D, 0xAAA3);
- EXTERN_API( long )
- QTGetPixMapHandleRowBytes (PixMapHandle pm) FOURWORDINLINE(0x203C, 0x0004, 0x008E, 0xAAA3);
- EXTERN_API( OSErr )
- QTSetPixMapPtrRowBytes (PixMapPtr pm,
- long rowBytes) FOURWORDINLINE(0x203C, 0x0008, 0x0090, 0xAAA3);
- EXTERN_API( OSErr )
- QTSetPixMapHandleRowBytes (PixMapHandle pm,
- long rowBytes) FOURWORDINLINE(0x203C, 0x0008, 0x008F, 0xAAA3);
- enum {
- kQTUsePlatformDefaultGammaLevel = 0, /* When decompressing into this PixMap, gamma-correct to the platform's standard gamma. */
- kQTUseSourceGammaLevel = -1L, /* When decompressing into this PixMap, don't perform gamma-correction. */
- kQTCCIR601VideoGammaLevel = 0x00023333 /* 2.2, standard television video gamma.*/
- };
- EXTERN_API( Fixed )
- QTGetPixMapPtrGammaLevel (PixMapPtr pm) FOURWORDINLINE(0x203C, 0x0004, 0x0093, 0xAAA3);
- EXTERN_API( OSErr )
- QTSetPixMapPtrGammaLevel (PixMapPtr pm,
- Fixed gammaLevel) FOURWORDINLINE(0x203C, 0x0008, 0x0094, 0xAAA3);
- EXTERN_API( Fixed )
- QTGetPixMapHandleGammaLevel (PixMapHandle pm) FOURWORDINLINE(0x203C, 0x0004, 0x0096, 0xAAA3);
- EXTERN_API( OSErr )
- QTSetPixMapHandleGammaLevel (PixMapHandle pm,
- Fixed gammaLevel) FOURWORDINLINE(0x203C, 0x0008, 0x0097, 0xAAA3);
- EXTERN_API( Fixed )
- QTGetPixMapPtrRequestedGammaLevel (PixMapPtr pm) FOURWORDINLINE(0x203C, 0x0004, 0x0098, 0xAAA3);
- EXTERN_API( OSErr )
- QTSetPixMapPtrRequestedGammaLevel (PixMapPtr pm,
- Fixed requestedGammaLevel) FOURWORDINLINE(0x203C, 0x0008, 0x0099, 0xAAA3);
- EXTERN_API( Fixed )
- QTGetPixMapHandleRequestedGammaLevel (PixMapHandle pm) FOURWORDINLINE(0x203C, 0x0004, 0x009A, 0xAAA3);
- EXTERN_API( OSErr )
- QTSetPixMapHandleRequestedGammaLevel (PixMapHandle pm,
- Fixed requestedGammaLevel) FOURWORDINLINE(0x203C, 0x0008, 0x009B, 0xAAA3);
- EXTERN_API( OSErr )
- QuadToQuadMatrix (const Fixed * source,
- const Fixed * dest,
- MatrixRecord * map) FOURWORDINLINE(0x203C, 0x000C, 0x0095, 0xAAA3);
- enum {
- identityMatrixType = 0x00, /* result if matrix is identity */
- translateMatrixType = 0x01, /* result if matrix translates */
- scaleMatrixType = 0x02, /* result if matrix scales */
- scaleTranslateMatrixType = 0x03, /* result if matrix scales and translates */
- linearMatrixType = 0x04, /* result if matrix is general 2 x 2 */
- linearTranslateMatrixType = 0x05, /* result if matrix is general 2 x 2 and translates */
- perspectiveMatrixType = 0x06 /* result if matrix is general 3 x 3 */
- };
- typedef unsigned short MatrixFlags;
- EXTERN_API( short )
- GetMatrixType (const MatrixRecord * m) TWOWORDINLINE(0x7014, 0xABC2);
- EXTERN_API( void )
- CopyMatrix (const MatrixRecord * m1,
- MatrixRecord * m2) TWOWORDINLINE(0x7020, 0xABC2);
- EXTERN_API( Boolean )
- EqualMatrix (const MatrixRecord * m1,
- const MatrixRecord * m2) TWOWORDINLINE(0x7021, 0xABC2);
- EXTERN_API( void )
- SetIdentityMatrix (MatrixRecord * matrix) TWOWORDINLINE(0x7015, 0xABC2);
- EXTERN_API( void )
- TranslateMatrix (MatrixRecord * m,
- Fixed deltaH,
- Fixed deltaV) TWOWORDINLINE(0x7019, 0xABC2);
- EXTERN_API( void )
- RotateMatrix (MatrixRecord * m,
- Fixed degrees,
- Fixed aboutX,
- Fixed aboutY) TWOWORDINLINE(0x7016, 0xABC2);
- EXTERN_API( void )
- ScaleMatrix (MatrixRecord * m,
- Fixed scaleX,
- Fixed scaleY,
- Fixed aboutX,
- Fixed aboutY) TWOWORDINLINE(0x7017, 0xABC2);
- EXTERN_API( void )
- SkewMatrix (MatrixRecord * m,
- Fixed skewX,
- Fixed skewY,
- Fixed aboutX,
- Fixed aboutY) TWOWORDINLINE(0x7018, 0xABC2);
- EXTERN_API( OSErr )
- TransformFixedPoints (const MatrixRecord * m,
- FixedPoint * fpt,
- long count) TWOWORDINLINE(0x7022, 0xABC2);
- EXTERN_API( OSErr )
- TransformPoints (const MatrixRecord * mp,
- Point * pt1,
- long count) TWOWORDINLINE(0x7023, 0xABC2);
- EXTERN_API( Boolean )
- TransformFixedRect (const MatrixRecord * m,
- FixedRect * fr,
- FixedPoint * fpp) TWOWORDINLINE(0x7024, 0xABC2);
- EXTERN_API( Boolean )
- TransformRect (const MatrixRecord * m,
- Rect * r,
- FixedPoint * fpp) TWOWORDINLINE(0x7025, 0xABC2);
- EXTERN_API( Boolean )
- InverseMatrix (const MatrixRecord * m,
- MatrixRecord * im) TWOWORDINLINE(0x701C, 0xABC2);
- EXTERN_API( void )
- ConcatMatrix (const MatrixRecord * a,
- MatrixRecord * b) TWOWORDINLINE(0x701B, 0xABC2);
- EXTERN_API( void )
- RectMatrix (MatrixRecord * matrix,
- const Rect * srcRect,
- const Rect * dstRect) TWOWORDINLINE(0x701E, 0xABC2);
- EXTERN_API( void )
- MapMatrix (MatrixRecord * matrix,
- const Rect * fromRect,
- const Rect * toRect) TWOWORDINLINE(0x701D, 0xABC2);
- EXTERN_API( void )
- CompAdd (wide * src,
- wide * dst) TWOWORDINLINE(0x7001, 0xABC2);
- EXTERN_API( void )
- CompSub (wide * src,
- wide * dst) TWOWORDINLINE(0x7002, 0xABC2);
- EXTERN_API( void )
- CompNeg (wide * dst) TWOWORDINLINE(0x7003, 0xABC2);
- EXTERN_API( void )
- CompShift (wide * src,
- short shift) TWOWORDINLINE(0x7004, 0xABC2);
- EXTERN_API( void )
- CompMul (long src1,
- long src2,
- wide * dst) TWOWORDINLINE(0x7005, 0xABC2);
- EXTERN_API( long )
- CompDiv (wide * numerator,
- long denominator,
- long * remainder) TWOWORDINLINE(0x7006, 0xABC2);
- EXTERN_API( void )
- CompFixMul (wide * compSrc,
- Fixed fixSrc,
- wide * compDst) TWOWORDINLINE(0x7007, 0xABC2);
- EXTERN_API( void )
- CompMulDiv (wide * co,
- long mul,
- long divisor) TWOWORDINLINE(0x7008, 0xABC2);
- EXTERN_API( void )
- CompMulDivTrunc (wide * co,
- long mul,
- long divisor,
- long * remainder) TWOWORDINLINE(0x700C, 0xABC2);
- EXTERN_API( long )
- CompCompare (const wide * a,
- const wide * minusb) TWOWORDINLINE(0x7009, 0xABC2);
- EXTERN_API( unsigned long )
- CompSquareRoot (const wide * src) TWOWORDINLINE(0x7011, 0xABC2);
- EXTERN_API( Fixed )
- FixMulDiv (Fixed src,
- Fixed mul,
- Fixed divisor) TWOWORDINLINE(0x700A, 0xABC2);
- EXTERN_API( Fixed )
- UnsignedFixMulDiv (Fixed src,
- Fixed mul,
- Fixed divisor) TWOWORDINLINE(0x700D, 0xABC2);
- EXTERN_API( Fract )
- FracSinCos (Fixed degree,
- Fract * cosOut) TWOWORDINLINE(0x700B, 0xABC2);
- EXTERN_API( Fixed )
- FixExp2 (Fixed src) TWOWORDINLINE(0x700E, 0xABC2);
- EXTERN_API( Fixed )
- FixLog2 (Fixed src) TWOWORDINLINE(0x700F, 0xABC2);
- EXTERN_API( Fixed )
- FixPow (Fixed base,
- Fixed exp) TWOWORDINLINE(0x7010, 0xABC2);
- typedef ComponentInstance GraphicsImportComponent;
- enum {
- GraphicsImporterComponentType = FOUR_CHAR_CODE('grip')
- };
- enum {
- graphicsImporterUsesImageDecompressor = 1L << 23
- };
- enum {
- quickTimeImageFileImageDescriptionAtom = FOUR_CHAR_CODE('idsc'),
- quickTimeImageFileImageDataAtom = FOUR_CHAR_CODE('idat'),
- quickTimeImageFileMetaDataAtom = FOUR_CHAR_CODE('meta'),
- quickTimeImageFileColorSyncProfileAtom = FOUR_CHAR_CODE('iicc')
- };
- enum {
- graphicsImporterDrawsAllPixels = 0,
- graphicsImporterDoesntDrawAllPixels = 1,
- graphicsImporterDontKnowIfDrawAllPixels = 2
- };
- /* Flags for GraphicsImportSetFlags */
- enum {
- kGraphicsImporterDontDoGammaCorrection = 1L << 0,
- kGraphicsImporterTrustResolutionFromFile = 1L << 1,
- kGraphicsImporterEnableSubPixelPositioning = 1L << 2
- };
- enum {
- kGraphicsExportGroup = FOUR_CHAR_CODE('expo'),
- kGraphicsExportFileType = FOUR_CHAR_CODE('ftyp'),
- kGraphicsExportMIMEType = FOUR_CHAR_CODE('mime'),
- kGraphicsExportExtension = FOUR_CHAR_CODE('ext '),
- kGraphicsExportDescription = FOUR_CHAR_CODE('desc')
- };
- /* User data types for layers of Photoshop files */
- enum {
- kQTPhotoshopLayerMode = FOUR_CHAR_CODE('lmod'), /* OSType */
- kQTPhotoshopLayerOpacity = FOUR_CHAR_CODE('lopa'), /* UInt8, 0 = transparent .. 255 = opaque */
- kQTPhotoshopLayerClipping = FOUR_CHAR_CODE('lclp'), /* UInt8, 0 = base, 1 = non-base */
- kQTPhotoshopLayerFlags = FOUR_CHAR_CODE('lflg'), /* UInt8 */
- kQTPhotoshopLayerName = FOUR_CHAR_CODE('﹍nm'), /* Text */
- kQTPhotoshopLayerUnicodeName = FOUR_CHAR_CODE('luni') /* Unicode characters, not terminated */
- };
- /* User data returned by graphics importers to suggest intended use for indexed images */
- enum {
- kQTIndexedImageType = FOUR_CHAR_CODE('nth?'), /* 1 or more OSTypes, such as the following values: */
- kQTIndexedImageIsThumbnail = FOUR_CHAR_CODE('n=th'), /* The image at this index is a thumbnail. */
- kQTIndexedImageIsLayer = FOUR_CHAR_CODE('n=ly'), /* The image at this index is a layer. */
- kQTIndexedImageIsPage = FOUR_CHAR_CODE('n=pg'), /* The image at this index is a page. */
- kQTIndexedImageIsMultiResolution = FOUR_CHAR_CODE('n=rs') /* The image at this index is one of several identical images at different resolutions. */
- };
- /* Other user data types returned by graphics importers */
- enum {
- kQTTIFFUserDataPrefix = 0x74690000, /* Added to some tag values in TIFF IFDs to generate user data codes. (0x7469 is 'ti'.) */
- /* For example, YCbCrPositioning is tag 0x0213, so its user data code is 0x74690213. */
- kQTTIFFExifUserDataPrefix = 0x65780000, /* Added to tag values in Exif IFDs to generate user data codes. (0x6578 is 'ex'.) */
- /* For example, DateTimeOriginal is tag 0x9003, so its user data code is 0x65789003. */
- kQTTIFFExifGPSUserDataPrefix = 0x67700000, /* Added to tag values in Exif GPS IFDs to generate user data codes. (0x6770 is 'gp'.) */
- /* For example, GPSAltitude is tag 0x0006, so its user data code is 0x6770006. */
- kQTAlphaMode = FOUR_CHAR_CODE('almo'), /* UInt32; eg, graphicsModeStraightAlpha or graphicsModePreBlackAlpha */
- kQTAlphaModePreMulColor = FOUR_CHAR_CODE('almp'), /* RGBColor; used if kQTAlphaMode is graphicsModePreMulColorAlpha */
- kUserDataIPTC = FOUR_CHAR_CODE('iptc')
- };
- /* Found in TIFF and Exif JPEG files */
- enum {
- kQTTIFFUserDataOrientation = 0x74690112, /* 1 SHORT */
- kQTTIFFUserDataTransferFunction = 0x7469012D, /* n SHORTs */
- kQTTIFFUserDataWhitePoint = 0x7469013E, /* 2 RATIONALs */
- kQTTIFFUserDataPrimaryChromaticities = 0x7469013F, /* 6 RATIONALs */
- kQTTIFFUserDataTransferRange = 0x74690156, /* 6 SHORTs */
- kQTTIFFUserDataYCbCrPositioning = 0x74690213, /* 1 SHORT */
- kQTTIFFUserDataReferenceBlackWhite = 0x74690214 /* n LONGs */
- };
- /* Found in GeoTIFF files; defined in the GeoTIFF 1.0 spec */
- enum {
- kQTTIFFUserDataModelPixelScale = 0x7469830E, /* 3 DOUBLEs */
- kQTTIFFUserDataModelTransformation = 0x746985D8, /* 16 DOUBLEs */
- kQTTIFFUserDataModelTiepoint = 0x74698482, /* n DOUBLEs */
- kQTTIFFUserDataGeoKeyDirectory = 0x746987AF, /* n SHORTs */
- kQTTIFFUserDataGeoDoubleParams = 0x746987B0, /* n DOUBLEs */
- kQTTIFFUserDataGeoAsciiParams = 0x746987B1, /* n ASCIIs */
- kQTTIFFUserDataIntergraphMatrix = 0x74698480 /* 16 or 17 DOUBLEs */
- };
- /* Found in Exif TIFF and Exif JPEG files; defined in the Exif 2.1 spec */
- enum {
- kQTExifUserDataExifVersion = 0x65789000, /* 4 bytes (import only) */
- kQTExifUserDataFlashPixVersion = 0x6578A000, /* 4 bytes */
- kQTExifUserDataColorSpace = 0x6578A001, /* 1 SHORT */
- kQTExifUserDataComponentsConfiguration = 0x65789101, /* 4 bytes */
- kQTExifUserDataCompressedBitsPerPixel = 0x65789102, /* 1 RATIONAL */
- kQTExifUserDataPixelXDimension = 0x6578A002, /* 1 SHORT or LONG */
- kQTExifUserDataPixelYDimension = 0x6578A003, /* 1 SHORT or LONG */
- kQTExifUserDataMakerNote = 0x6578927C, /* n bytes */
- kQTExifUserDataUserComment = 0x6578928C, /* n bytes */
- kQTExifUserDataRelatedSoundFile = 0x6578A004, /* 13 ASCIIs*/
- kQTExifUserDataDateTimeOriginal = 0x65789003, /* 20 ASCIIs */
- kQTExifUserDataDateTimeDigitized = 0x65789004, /* 20 ASCIIs */
- kQTExifUserDataSubSecTime = 0x65789290, /* n ASCIIs */
- kQTExifUserDataSubSecTimeOriginal = 0x65789291, /* n ASCIIs */
- kQTExifUserDataSubSecTimeDigitized = 0x65789292, /* n ASCIIs */
- kQTExifUserDataExposureTime = 0x6578829A, /* 1 RATIONAL */
- kQTExifUserDataFNumber = 0x6578829D, /* 1 RATIONAL */
- kQTExifUserDataExposureProgram = 0x65788822, /* 1 SHORT */
- kQTExifUserDataSpectralSensitivity = 0x65788824, /* n ASCIIs */
- kQTExifUserDataISOSpeedRatings = 0x65788827, /* n SHORTs */
- kQTExifUserDataShutterSpeedValue = 0x65789201, /* 1 SIGNED RATIONAL */
- kQTExifUserDataApertureValue = 0x65789202, /* 1 RATIONAL */
- kQTExifUserDataBrightnessValue = 0x65789203, /* 1 SIGNED RATIONAL */
- kQTExifUserDataExposureBiasValue = 0x65789204, /* 1 SIGNED RATIONAL */
- kQTExifUserDataMaxApertureValue = 0x65789205, /* 1 RATIONAL */
- kQTExifUserDataSubjectDistance = 0x65789206, /* 1 RATIONAL */
- kQTExifUserDataMeteringMode = 0x65789207, /* 1 SHORT */
- kQTExifUserDataLightSource = 0x65789208, /* 1 SHORT */
- kQTExifUserDataFlash = 0x65789209, /* 1 SHORT */
- kQTExifUserDataFocalLength = 0x6578920A, /* 1 RATIONAL */
- kQTExifUserDataFlashEnergy = 0x6578A20B, /* 1 RATIONAL */
- kQTExifUserDataFocalPlaneXResolution = 0x6578A20E, /* 1 RATIONAL */
- kQTExifUserDataFocalPlaneYResolution = 0x6578A20F, /* 1 RATIONAL */
- kQTExifUserDataFocalPlaneResolutionUnit = 0x6578A210, /* 1 SHORT */
- kQTExifUserDataSubjectLocation = 0x6578A214, /* 1 SHORT */
- kQTExifUserDataExposureIndex = 0x6578A215, /* 1 RATIONAL */
- kQTExifUserDataSensingMethod = 0x6578A217, /* 1 SHORT */
- kQTExifUserDataFileSource = 0x6578A300, /* 1 UNDEFINED */
- kQTExifUserDataSceneType = 0x6578A301 /* 1 UNDEFINED */
- };
- /* Found in some Exif TIFF and Exif JPEG files; defined in the Exif 2.1 spec */
- enum {
- kQTExifUserDataGPSVersionID = 0x06770000, /* 4 BYTEs */
- kQTExifUserDataGPSLatitudeRef = 0x06770001, /* 2 ASCIIs*/
- kQTExifUserDataGPSLatitude = 0x06770002, /* 3 RATIONALs */
- kQTExifUserDataGPSLongitudeRef = 0x06770003, /* 2 ASCIIs */
- kQTExifUserDataGPSLongitude = 0x06770004, /* 3 RATIONALs */
- kQTExifUserDataGPSAltitudeRef = 0x06770005, /* 1 BYTE */
- kQTExifUserDataGPSAltitude = 0x06770006, /* 1 RATIONAL */
- kQTExifUserDataGPSTimeStamp = 0x06770007, /* 3 RATIONALs */
- kQTExifUserDataGPSSatellites = 0x06770008, /* n ASCIIs */
- kQTExifUserDataGPSStatus = 0x06770009, /* 2 ASCIIs */
- kQTExifUserDataGPSMeasureMode = 0x0677000A, /* 2 ASCIIs */
- kQTExifUserDataGPSDOP = 0x0677000B, /* 1 RATIONAL */
- kQTExifUserDataGPSSpeedRef = 0x0677000C, /* 2 ASCIIs */
- kQTExifUserDataGPSSpeed = 0x0677000D, /* 1 RATIONAL */
- kQTExifUserDataGPSTrackRef = 0x0677000E, /* 2 ASCIIs */
- kQTExifUserDataGPSTrack = 0x0677000F, /* 1 RATIONAL */
- kQTExifUserDataGPSImgDirectionRef = 0x06770010, /* 2 ASCIIs */
- kQTExifUserDataGPSImgDirection = 0x06770011, /* 1 RATIONAL */
- kQTExifUserDataGPSMapDatum = 0x06770012, /* n ASCII */
- kQTExifUserDataGPSDestLatitudeRef = 0x06770013, /* 2 ASCIIs */
- kQTExifUserDataGPSDestLatitude = 0x06770014, /* 3 RATIONALs */
- kQTExifUserDataGPSDestLongitudeRef = 0x06770015, /* 2 ASCIIs */
- kQTExifUserDataGPSDestLongitude = 0x06770016, /* 3 RATIONALs */
- kQTExifUserDataGPSDestBearingRef = 0x06770017, /* 2 ASCIIs */
- kQTExifUserDataGPSDestBearing = 0x06770018, /* 1 RATIONAL */
- kQTExifUserDataGPSDestDistanceRef = 0x06770019, /* 2 ASCIIs */
- kQTExifUserDataGPSDestDistance = 0x0677001A /* 1 RATIONAL */
- };
- /** These are GraphicsImport procedures **/
- EXTERN_API( ComponentResult )
- GraphicsImportSetDataReference (GraphicsImportComponent ci,
- Handle dataRef,
- OSType dataReType) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0001, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetDataReference (GraphicsImportComponent ci,
- Handle * dataRef,
- OSType * dataReType) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0002, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportSetDataFile (GraphicsImportComponent ci,
- const FSSpec * theFile) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0003, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetDataFile (GraphicsImportComponent ci,
- FSSpec * theFile) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0004, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportSetDataHandle (GraphicsImportComponent ci,
- Handle h) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0005, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetDataHandle (GraphicsImportComponent ci,
- Handle * h) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0006, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetImageDescription (GraphicsImportComponent ci,
- ImageDescriptionHandle * desc) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0007, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetDataOffsetAndSize (GraphicsImportComponent ci,
- unsigned long * offset,
- unsigned long * size) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0008, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportReadData (GraphicsImportComponent ci,
- void * dataPtr,
- unsigned long dataOffset,
- unsigned long dataSize) FIVEWORDINLINE(0x2F3C, 0x000C, 0x0009, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportSetClip (GraphicsImportComponent ci,
- RgnHandle clipRgn) FIVEWORDINLINE(0x2F3C, 0x0004, 0x000A, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetClip (GraphicsImportComponent ci,
- RgnHandle * clipRgn) FIVEWORDINLINE(0x2F3C, 0x0004, 0x000B, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportSetSourceRect (GraphicsImportComponent ci,
- const Rect * sourceRect) FIVEWORDINLINE(0x2F3C, 0x0004, 0x000C, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetSourceRect (GraphicsImportComponent ci,
- Rect * sourceRect) FIVEWORDINLINE(0x2F3C, 0x0004, 0x000D, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetNaturalBounds (GraphicsImportComponent ci,
- Rect * naturalBounds) FIVEWORDINLINE(0x2F3C, 0x0004, 0x000E, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportDraw (GraphicsImportComponent ci) FIVEWORDINLINE(0x2F3C, 0x0000, 0x000F, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportSetGWorld (GraphicsImportComponent ci,
- CGrafPtr port,
- GDHandle gd) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0010, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetGWorld (GraphicsImportComponent ci,
- CGrafPtr * port,
- GDHandle * gd) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0011, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportSetMatrix (GraphicsImportComponent ci,
- const MatrixRecord * matrix) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0012, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetMatrix (GraphicsImportComponent ci,
- MatrixRecord * matrix) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0013, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportSetBoundsRect (GraphicsImportComponent ci,
- const Rect * bounds) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0014, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetBoundsRect (GraphicsImportComponent ci,
- Rect * bounds) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0015, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportSaveAsPicture (GraphicsImportComponent ci,
- const FSSpec * fss,
- ScriptCode scriptTag) FIVEWORDINLINE(0x2F3C, 0x0006, 0x0016, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportSetGraphicsMode (GraphicsImportComponent ci,
- long graphicsMode,
- const RGBColor * opColor) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0017, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetGraphicsMode (GraphicsImportComponent ci,
- long * graphicsMode,
- RGBColor * opColor) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0018, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportSetQuality (GraphicsImportComponent ci,
- CodecQ quality) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0019, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetQuality (GraphicsImportComponent ci,
- CodecQ * quality) FIVEWORDINLINE(0x2F3C, 0x0004, 0x001A, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportSaveAsQuickTimeImageFile (GraphicsImportComponent ci,
- const FSSpec * fss,
- ScriptCode scriptTag) FIVEWORDINLINE(0x2F3C, 0x0006, 0x001B, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportSetDataReferenceOffsetAndLimit (GraphicsImportComponent ci,
- unsigned long offset,
- unsigned long limit) FIVEWORDINLINE(0x2F3C, 0x0008, 0x001C, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetDataReferenceOffsetAndLimit (GraphicsImportComponent ci,
- unsigned long * offset,
- unsigned long * limit) FIVEWORDINLINE(0x2F3C, 0x0008, 0x001D, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetAliasedDataReference (GraphicsImportComponent ci,
- Handle * dataRef,
- OSType * dataRefType) FIVEWORDINLINE(0x2F3C, 0x0008, 0x001E, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportValidate (GraphicsImportComponent ci,
- Boolean * valid) FIVEWORDINLINE(0x2F3C, 0x0004, 0x001F, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetMetaData (GraphicsImportComponent ci,
- void * userData) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0020, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetMIMETypeList (GraphicsImportComponent ci,
- void * qtAtomContainerPtr) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0021, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportDoesDrawAllPixels (GraphicsImportComponent ci,
- short * drawsAllPixels) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0022, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetAsPicture (GraphicsImportComponent ci,
- PicHandle * picture) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0023, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportExportImageFile (GraphicsImportComponent ci,
- OSType fileType,
- OSType fileCreator,
- const FSSpec * fss,
- ScriptCode scriptTag) FIVEWORDINLINE(0x2F3C, 0x000E, 0x0024, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetExportImageTypeList (GraphicsImportComponent ci,
- void * qtAtomContainerPtr) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0025, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportDoExportImageFileDialog (GraphicsImportComponent ci,
- const FSSpec * inDefaultSpec,
- StringPtr prompt,
- ModalFilterYDUPP filterProc,
- OSType * outExportedType,
- FSSpec * outExportedSpec,
- ScriptCode * outScriptTag) FIVEWORDINLINE(0x2F3C, 0x0018, 0x0026, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetExportSettingsAsAtomContainer (GraphicsImportComponent ci,
- void * qtAtomContainerPtr) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0027, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportSetExportSettingsFromAtomContainer (GraphicsImportComponent ci,
- void * qtAtomContainer) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0028, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportSetProgressProc (GraphicsImportComponent ci,
- ICMProgressProcRecordPtr progressProc) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0029, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetProgressProc (GraphicsImportComponent ci,
- ICMProgressProcRecordPtr progressProc) FIVEWORDINLINE(0x2F3C, 0x0004, 0x002A, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetImageCount (GraphicsImportComponent ci,
- unsigned long * imageCount) FIVEWORDINLINE(0x2F3C, 0x0004, 0x002B, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportSetImageIndex (GraphicsImportComponent ci,
- unsigned long imageIndex) FIVEWORDINLINE(0x2F3C, 0x0004, 0x002C, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetImageIndex (GraphicsImportComponent ci,
- unsigned long * imageIndex) FIVEWORDINLINE(0x2F3C, 0x0004, 0x002D, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetDataOffsetAndSize64 (GraphicsImportComponent ci,
- wide * offset,
- wide * size) FIVEWORDINLINE(0x2F3C, 0x0008, 0x002E, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportReadData64 (GraphicsImportComponent ci,
- void * dataPtr,
- const wide * dataOffset,
- unsigned long dataSize) FIVEWORDINLINE(0x2F3C, 0x000C, 0x002F, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportSetDataReferenceOffsetAndLimit64 (GraphicsImportComponent ci,
- const wide * offset,
- const wide * limit) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0030, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetDataReferenceOffsetAndLimit64 (GraphicsImportComponent ci,
- wide * offset,
- wide * limit) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0031, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetDefaultMatrix (GraphicsImportComponent ci,
- MatrixRecord * defaultMatrix) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0032, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetDefaultClip (GraphicsImportComponent ci,
- RgnHandle * defaultRgn) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0033, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetDefaultGraphicsMode (GraphicsImportComponent ci,
- long * defaultGraphicsMode,
- RGBColor * defaultOpColor) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0034, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetDefaultSourceRect (GraphicsImportComponent ci,
- Rect * defaultSourceRect) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0035, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetColorSyncProfile (GraphicsImportComponent ci,
- Handle * profile) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0036, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportSetDestRect (GraphicsImportComponent ci,
- const Rect * destRect) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0037, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetDestRect (GraphicsImportComponent ci,
- Rect * destRect) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0038, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportSetFlags (GraphicsImportComponent ci,
- long flags) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0039, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportGetFlags (GraphicsImportComponent ci,
- long * flags) FIVEWORDINLINE(0x2F3C, 0x0004, 0x003A, 0x7000, 0xA82A);
- /* 2 private selectors */
- EXTERN_API( ComponentResult )
- GraphicsImportGetBaseDataOffsetAndSize64 (GraphicsImportComponent ci,
- wide * offset,
- wide * size) FIVEWORDINLINE(0x2F3C, 0x0008, 0x003D, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsImportSetImageIndexToThumbnail (GraphicsImportComponent ci) FIVEWORDINLINE(0x2F3C, 0x0000, 0x003E, 0x7000, 0xA82A);
- typedef ComponentInstance GraphicsExportComponent;
- enum {
- GraphicsExporterComponentType = FOUR_CHAR_CODE('grex'),
- kBaseGraphicsExporterSubType = FOUR_CHAR_CODE('base')
- };
- enum {
- graphicsExporterIsBaseExporter = 1L << 0,
- graphicsExporterCanTranscode = 1L << 1,
- graphicsExporterUsesImageCompressor = 1L << 2
- };
- struct QTResolutionSettings {
- Fixed horizontalResolution;
- Fixed verticalResolution;
- };
- typedef struct QTResolutionSettings QTResolutionSettings;
- struct QTTargetDataSize {
- unsigned long targetDataSize;
- };
- typedef struct QTTargetDataSize QTTargetDataSize;
- struct QTThumbnailSettings {
- long enableThumbnail; /* a thoroughly padded Boolean*/
- long maxThumbnailWidth; /* set to zero to let someone else decide*/
- long maxThumbnailHeight; /* set to zero to let someone else decide*/
- };
- typedef struct QTThumbnailSettings QTThumbnailSettings;
- enum {
- kQTResolutionSettings = FOUR_CHAR_CODE('reso'),
- kQTTargetDataSize = FOUR_CHAR_CODE('dasz'),
- kQTDontRecompress = FOUR_CHAR_CODE('dntr'),
- kQTInterlaceStyle = FOUR_CHAR_CODE('ilac'),
- kQTColorSyncProfile = FOUR_CHAR_CODE('iccp'),
- kQTThumbnailSettings = FOUR_CHAR_CODE('thum'),
- kQTEnableExif = FOUR_CHAR_CODE('exif'), /* UInt8 (boolean)*/
- kQTMetaData = FOUR_CHAR_CODE('meta')
- };
- enum {
- kQTTIFFCompressionMethod = FOUR_CHAR_CODE('tifc'), /* UInt32*/
- kQTTIFFCompression_None = 1,
- kQTTIFFCompression_PackBits = 32773L,
- kQTTIFFLittleEndian = FOUR_CHAR_CODE('tife') /* UInt8 (boolean)*/
- };
- enum {
- kQTPNGFilterPreference = FOUR_CHAR_CODE('pngf'), /* UInt32*/
- kQTPNGFilterBestForColorType = FOUR_CHAR_CODE('bflt'),
- kQTPNGFilterNone = 0,
- kQTPNGFilterSub = 1,
- kQTPNGFilterUp = 2,
- kQTPNGFilterAverage = 3,
- kQTPNGFilterPaeth = 4,
- kQTPNGFilterAdaptivePerRow = FOUR_CHAR_CODE('aflt'),
- kQTPNGInterlaceStyle = FOUR_CHAR_CODE('ilac'), /* UInt32*/
- kQTPNGInterlaceNone = 0,
- kQTPNGInterlaceAdam7 = 1
- };
- /** These are GraphicsExport procedures **/
- /* To use: set the input and output (and other settings as desired) and call GEDoExport. */
- EXTERN_API( ComponentResult )
- GraphicsExportDoExport (GraphicsExportComponent ci,
- unsigned long * actualSizeWritten) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0001, 0x7000, 0xA82A);
- /* Used for internal communication between the base and format-specific graphics exporter: */
- EXTERN_API( ComponentResult )
- GraphicsExportCanTranscode (GraphicsExportComponent ci,
- Boolean * canTranscode) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0002, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportDoTranscode (GraphicsExportComponent ci) FIVEWORDINLINE(0x2F3C, 0x0000, 0x0003, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportCanUseCompressor (GraphicsExportComponent ci,
- Boolean * canUseCompressor,
- void * codecSettingsAtomContainerPtr) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0004, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportDoUseCompressor (GraphicsExportComponent ci,
- void * codecSettingsAtomContainer,
- ImageDescriptionHandle * outDesc) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0005, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportDoStandaloneExport (GraphicsExportComponent ci) FIVEWORDINLINE(0x2F3C, 0x0000, 0x0006, 0x7000, 0xA82A);
- /* Queries applications can make of a format-specific graphics exporter: */
- EXTERN_API( ComponentResult )
- GraphicsExportGetDefaultFileTypeAndCreator (GraphicsExportComponent ci,
- OSType * fileType,
- OSType * fileCreator) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0007, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetDefaultFileNameExtension (GraphicsExportComponent ci,
- OSType * fileNameExtension) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0008, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetMIMETypeList (GraphicsExportComponent ci,
- void * qtAtomContainerPtr) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0009, 0x7000, 0xA82A);
- /* (1 unused selector) */
- /* Graphics exporter settings: */
- EXTERN_API( ComponentResult )
- GraphicsExportRequestSettings (GraphicsExportComponent ci,
- ModalFilterYDUPP filterProc,
- void * yourDataProc) FIVEWORDINLINE(0x2F3C, 0x0008, 0x000B, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportSetSettingsFromAtomContainer (GraphicsExportComponent ci,
- void * qtAtomContainer) FIVEWORDINLINE(0x2F3C, 0x0004, 0x000C, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetSettingsAsAtomContainer (GraphicsExportComponent ci,
- void * qtAtomContainerPtr) FIVEWORDINLINE(0x2F3C, 0x0004, 0x000D, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetSettingsAsText (GraphicsExportComponent ci,
- Handle * theText) FIVEWORDINLINE(0x2F3C, 0x0004, 0x000E, 0x7000, 0xA82A);
- /* Graphics exporters may implement some or none of the following: */
- EXTERN_API( ComponentResult )
- GraphicsExportSetDontRecompress (GraphicsExportComponent ci,
- Boolean dontRecompress) FIVEWORDINLINE(0x2F3C, 0x0002, 0x000F, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetDontRecompress (GraphicsExportComponent ci,
- Boolean * dontRecompress) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0010, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportSetInterlaceStyle (GraphicsExportComponent ci,
- unsigned long interlaceStyle) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0011, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetInterlaceStyle (GraphicsExportComponent ci,
- unsigned long * interlaceStyle) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0012, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportSetMetaData (GraphicsExportComponent ci,
- void * userData) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0013, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetMetaData (GraphicsExportComponent ci,
- void * userData) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0014, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportSetTargetDataSize (GraphicsExportComponent ci,
- unsigned long targetDataSize) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0015, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetTargetDataSize (GraphicsExportComponent ci,
- unsigned long * targetDataSize) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0016, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportSetCompressionMethod (GraphicsExportComponent ci,
- long compressionMethod) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0017, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetCompressionMethod (GraphicsExportComponent ci,
- long * compressionMethod) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0018, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportSetCompressionQuality (GraphicsExportComponent ci,
- CodecQ spatialQuality) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0019, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetCompressionQuality (GraphicsExportComponent ci,
- CodecQ * spatialQuality) FIVEWORDINLINE(0x2F3C, 0x0004, 0x001A, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportSetResolution (GraphicsExportComponent ci,
- Fixed horizontalResolution,
- Fixed verticalResolution) FIVEWORDINLINE(0x2F3C, 0x0008, 0x001B, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetResolution (GraphicsExportComponent ci,
- Fixed * horizontalResolution,
- Fixed * verticalResolution) FIVEWORDINLINE(0x2F3C, 0x0008, 0x001C, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportSetDepth (GraphicsExportComponent ci,
- long depth) FIVEWORDINLINE(0x2F3C, 0x0004, 0x001D, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetDepth (GraphicsExportComponent ci,
- long * depth) FIVEWORDINLINE(0x2F3C, 0x0004, 0x001E, 0x7000, 0xA82A);
- /* (2 unused selectors) */
- EXTERN_API( ComponentResult )
- GraphicsExportSetColorSyncProfile (GraphicsExportComponent ci,
- Handle colorSyncProfile) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0021, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetColorSyncProfile (GraphicsExportComponent ci,
- Handle * colorSyncProfile) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0022, 0x7000, 0xA82A);
- /* Always implemented by the base graphics exporter: */
- EXTERN_API( ComponentResult )
- GraphicsExportSetProgressProc (GraphicsExportComponent ci,
- ICMProgressProcRecordPtr progressProc) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0023, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetProgressProc (GraphicsExportComponent ci,
- ICMProgressProcRecordPtr progressProc) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0024, 0x7000, 0xA82A);
- /* Sources for the input image: */
- EXTERN_API( ComponentResult )
- GraphicsExportSetInputDataReference (GraphicsExportComponent ci,
- Handle dataRef,
- OSType dataRefType,
- ImageDescriptionHandle desc) FIVEWORDINLINE(0x2F3C, 0x000C, 0x0025, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetInputDataReference (GraphicsExportComponent ci,
- Handle * dataRef,
- OSType * dataRefType) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0026, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportSetInputFile (GraphicsExportComponent ci,
- const FSSpec * theFile,
- ImageDescriptionHandle desc) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0027, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetInputFile (GraphicsExportComponent ci,
- FSSpec * theFile) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0028, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportSetInputHandle (GraphicsExportComponent ci,
- Handle h,
- ImageDescriptionHandle desc) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0029, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetInputHandle (GraphicsExportComponent ci,
- Handle * h) FIVEWORDINLINE(0x2F3C, 0x0004, 0x002A, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportSetInputPtr (GraphicsExportComponent ci,
- Ptr p,
- unsigned long size,
- ImageDescriptionHandle desc) FIVEWORDINLINE(0x2F3C, 0x000C, 0x002B, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetInputPtr (GraphicsExportComponent ci,
- Ptr * p,
- unsigned long * size) FIVEWORDINLINE(0x2F3C, 0x0008, 0x002C, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportSetInputGraphicsImporter (GraphicsExportComponent ci,
- GraphicsImportComponent grip) FIVEWORDINLINE(0x2F3C, 0x0004, 0x002D, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetInputGraphicsImporter (GraphicsExportComponent ci,
- GraphicsImportComponent * grip) FIVEWORDINLINE(0x2F3C, 0x0004, 0x002E, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportSetInputPicture (GraphicsExportComponent ci,
- PicHandle picture) FIVEWORDINLINE(0x2F3C, 0x0004, 0x002F, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetInputPicture (GraphicsExportComponent ci,
- PicHandle * picture) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0030, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportSetInputGWorld (GraphicsExportComponent ci,
- GWorldPtr gworld) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0031, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetInputGWorld (GraphicsExportComponent ci,
- GWorldPtr * gworld) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0032, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportSetInputPixmap (GraphicsExportComponent ci,
- PixMapHandle pixmap) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0033, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetInputPixmap (GraphicsExportComponent ci,
- PixMapHandle * pixmap) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0034, 0x7000, 0xA82A);
- /* Only applicable when the input is a data reference, file, handle or ptr: */
- EXTERN_API( ComponentResult )
- GraphicsExportSetInputOffsetAndLimit (GraphicsExportComponent ci,
- unsigned long offset,
- unsigned long limit) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0035, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetInputOffsetAndLimit (GraphicsExportComponent ci,
- unsigned long * offset,
- unsigned long * limit) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0036, 0x7000, 0xA82A);
- /* Used by format-specific graphics exporters when transcoding: */
- EXTERN_API( ComponentResult )
- GraphicsExportMayExporterReadInputData (GraphicsExportComponent ci,
- Boolean * mayReadInputData) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0037, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetInputDataSize (GraphicsExportComponent ci,
- unsigned long * size) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0038, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportReadInputData (GraphicsExportComponent ci,
- void * dataPtr,
- unsigned long dataOffset,
- unsigned long dataSize) FIVEWORDINLINE(0x2F3C, 0x000C, 0x0039, 0x7000, 0xA82A);
- /* Used by format-specific graphics exporters, especially when doing standalone export: */
- EXTERN_API( ComponentResult )
- GraphicsExportGetInputImageDescription (GraphicsExportComponent ci,
- ImageDescriptionHandle * desc) FIVEWORDINLINE(0x2F3C, 0x0004, 0x003A, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetInputImageDimensions (GraphicsExportComponent ci,
- Rect * dimensions) FIVEWORDINLINE(0x2F3C, 0x0004, 0x003B, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetInputImageDepth (GraphicsExportComponent ci,
- long * inputDepth) FIVEWORDINLINE(0x2F3C, 0x0004, 0x003C, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportDrawInputImage (GraphicsExportComponent ci,
- CGrafPtr gw,
- GDHandle gd,
- const Rect * srcRect,
- const Rect * dstRect) FIVEWORDINLINE(0x2F3C, 0x0010, 0x003D, 0x7000, 0xA82A);
- /* Destinations for the output image: */
- EXTERN_API( ComponentResult )
- GraphicsExportSetOutputDataReference (GraphicsExportComponent ci,
- Handle dataRef,
- OSType dataRefType) FIVEWORDINLINE(0x2F3C, 0x0008, 0x003E, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetOutputDataReference (GraphicsExportComponent ci,
- Handle * dataRef,
- OSType * dataRefType) FIVEWORDINLINE(0x2F3C, 0x0008, 0x003F, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportSetOutputFile (GraphicsExportComponent ci,
- const FSSpec * theFile) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0040, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetOutputFile (GraphicsExportComponent ci,
- FSSpec * theFile) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0041, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportSetOutputHandle (GraphicsExportComponent ci,
- Handle h) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0042, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetOutputHandle (GraphicsExportComponent ci,
- Handle * h) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0043, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportSetOutputOffsetAndMaxSize (GraphicsExportComponent ci,
- unsigned long offset,
- unsigned long maxSize,
- Boolean truncateFile) FIVEWORDINLINE(0x2F3C, 0x000A, 0x0044, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetOutputOffsetAndMaxSize (GraphicsExportComponent ci,
- unsigned long * offset,
- unsigned long * maxSize,
- Boolean * truncateFile) FIVEWORDINLINE(0x2F3C, 0x000C, 0x0045, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportSetOutputFileTypeAndCreator (GraphicsExportComponent ci,
- OSType fileType,
- OSType fileCreator) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0046, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetOutputFileTypeAndCreator (GraphicsExportComponent ci,
- OSType * fileType,
- OSType * fileCreator) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0047, 0x7000, 0xA82A);
- /* Used by format-specific graphics exporters: */
- EXTERN_API( ComponentResult )
- GraphicsExportWriteOutputData (GraphicsExportComponent ci,
- const void * dataPtr,
- unsigned long dataSize) FIVEWORDINLINE(0x2F3C, 0x0008, 0x0048, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportSetOutputMark (GraphicsExportComponent ci,
- unsigned long mark) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0049, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetOutputMark (GraphicsExportComponent ci,
- unsigned long * mark) FIVEWORDINLINE(0x2F3C, 0x0004, 0x004A, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportReadOutputData (GraphicsExportComponent ci,
- void * dataPtr,
- unsigned long dataOffset,
- unsigned long dataSize) FIVEWORDINLINE(0x2F3C, 0x000C, 0x004B, 0x7000, 0xA82A);
- /* Allows embedded thumbnail creation, if supported. */
- EXTERN_API( ComponentResult )
- GraphicsExportSetThumbnailEnabled (GraphicsExportComponent ci,
- Boolean enableThumbnail,
- long maxThumbnailWidth,
- long maxThumbnailHeight) FIVEWORDINLINE(0x2F3C, 0x000A, 0x004C, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetThumbnailEnabled (GraphicsExportComponent ci,
- Boolean * thumbnailEnabled,
- long * maxThumbnailWidth,
- long * maxThumbnailHeight) FIVEWORDINLINE(0x2F3C, 0x000C, 0x004D, 0x7000, 0xA82A);
- /* Allows export of Exif files, if supported. This disables Exif-incompatible settings such as grayscale JPEG and compressed TIFF, and enables export of Exif metadata. */
- EXTERN_API( ComponentResult )
- GraphicsExportSetExifEnabled (GraphicsExportComponent ci,
- Boolean enableExif) FIVEWORDINLINE(0x2F3C, 0x0002, 0x004E, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- GraphicsExportGetExifEnabled (GraphicsExportComponent ci,
- Boolean * exifEnabled) FIVEWORDINLINE(0x2F3C, 0x0004, 0x004F, 0x7000, 0xA82A);
- typedef ComponentInstance ImageTranscoderComponent;
- enum {
- ImageTranscodererComponentType = FOUR_CHAR_CODE('imtc')
- };
- /** These are ImageTranscoder procedures **/
- EXTERN_API( ComponentResult )
- ImageTranscoderBeginSequence (ImageTranscoderComponent itc,
- ImageDescriptionHandle srcDesc,
- ImageDescriptionHandle * dstDesc,
- void * data,
- long dataSize) FIVEWORDINLINE(0x2F3C, 0x0010, 0x0001, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- ImageTranscoderConvert (ImageTranscoderComponent itc,
- void * srcData,
- long srcDataSize,
- void ** dstData,
- long * dstDataSize) FIVEWORDINLINE(0x2F3C, 0x0010, 0x0002, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- ImageTranscoderDisposeData (ImageTranscoderComponent itc,
- void * dstData) FIVEWORDINLINE(0x2F3C, 0x0004, 0x0003, 0x7000, 0xA82A);
- EXTERN_API( ComponentResult )
- ImageTranscoderEndSequence (ImageTranscoderComponent itc) FIVEWORDINLINE(0x2F3C, 0x0000, 0x0004, 0x7000, 0xA82A);
- /* UPP call backs */
- /* selectors for component calls */
- enum {
- kGraphicsImportSetDataReferenceSelect = 0x0001,
- kGraphicsImportGetDataReferenceSelect = 0x0002,
- kGraphicsImportSetDataFileSelect = 0x0003,
- kGraphicsImportGetDataFileSelect = 0x0004,
- kGraphicsImportSetDataHandleSelect = 0x0005,
- kGraphicsImportGetDataHandleSelect = 0x0006,
- kGraphicsImportGetImageDescriptionSelect = 0x0007,
- kGraphicsImportGetDataOffsetAndSizeSelect = 0x0008,
- kGraphicsImportReadDataSelect = 0x0009,
- kGraphicsImportSetClipSelect = 0x000A,
- kGraphicsImportGetClipSelect = 0x000B,
- kGraphicsImportSetSourceRectSelect = 0x000C,
- kGraphicsImportGetSourceRectSelect = 0x000D,
- kGraphicsImportGetNaturalBoundsSelect = 0x000E,
- kGraphicsImportDrawSelect = 0x000F,
- kGraphicsImportSetGWorldSelect = 0x0010,
- kGraphicsImportGetGWorldSelect = 0x0011,
- kGraphicsImportSetMatrixSelect = 0x0012,
- kGraphicsImportGetMatrixSelect = 0x0013,
- kGraphicsImportSetBoundsRectSelect = 0x0014,
- kGraphicsImportGetBoundsRectSelect = 0x0015,
- kGraphicsImportSaveAsPictureSelect = 0x0016,
- kGraphicsImportSetGraphicsModeSelect = 0x0017,
- kGraphicsImportGetGraphicsModeSelect = 0x0018,
- kGraphicsImportSetQualitySelect = 0x0019,
- kGraphicsImportGetQualitySelect = 0x001A,
- kGraphicsImportSaveAsQuickTimeImageFileSelect = 0x001B,
- kGraphicsImportSetDataReferenceOffsetAndLimitSelect = 0x001C,
- kGraphicsImportGetDataReferenceOffsetAndLimitSelect = 0x001D,
- kGraphicsImportGetAliasedDataReferenceSelect = 0x001E,
- kGraphicsImportValidateSelect = 0x001F,
- kGraphicsImportGetMetaDataSelect = 0x0020,
- kGraphicsImportGetMIMETypeListSelect = 0x0021,
- kGraphicsImportDoesDrawAllPixelsSelect = 0x0022,
- kGraphicsImportGetAsPictureSelect = 0x0023,
- kGraphicsImportExportImageFileSelect = 0x0024,
- kGraphicsImportGetExportImageTypeListSelect = 0x0025,
- kGraphicsImportDoExportImageFileDialogSelect = 0x0026,
- kGraphicsImportGetExportSettingsAsAtomContainerSelect = 0x0027,
- kGraphicsImportSetExportSettingsFromAtomContainerSelect = 0x0028,
- kGraphicsImportSetProgressProcSelect = 0x0029,
- kGraphicsImportGetProgressProcSelect = 0x002A,
- kGraphicsImportGetImageCountSelect = 0x002B,
- kGraphicsImportSetImageIndexSelect = 0x002C,
- kGraphicsImportGetImageIndexSelect = 0x002D,
- kGraphicsImportGetDataOffsetAndSize64Select = 0x002E,
- kGraphicsImportReadData64Select = 0x002F,
- kGraphicsImportSetDataReferenceOffsetAndLimit64Select = 0x0030,
- kGraphicsImportGetDataReferenceOffsetAndLimit64Select = 0x0031,
- kGraphicsImportGetDefaultMatrixSelect = 0x0032,
- kGraphicsImportGetDefaultClipSelect = 0x0033,
- kGraphicsImportGetDefaultGraphicsModeSelect = 0x0034,
- kGraphicsImportGetDefaultSourceRectSelect = 0x0035,
- kGraphicsImportGetColorSyncProfileSelect = 0x0036,
- kGraphicsImportSetDestRectSelect = 0x0037,
- kGraphicsImportGetDestRectSelect = 0x0038,
- kGraphicsImportSetFlagsSelect = 0x0039,
- kGraphicsImportGetFlagsSelect = 0x003A,
- kGraphicsImportGetBaseDataOffsetAndSize64Select = 0x003D,
- kGraphicsImportSetImageIndexToThumbnailSelect = 0x003E,
- kGraphicsExportDoExportSelect = 0x0001,
- kGraphicsExportCanTranscodeSelect = 0x0002,
- kGraphicsExportDoTranscodeSelect = 0x0003,
- kGraphicsExportCanUseCompressorSelect = 0x0004,
- kGraphicsExportDoUseCompressorSelect = 0x0005,
- kGraphicsExportDoStandaloneExportSelect = 0x0006,
- kGraphicsExportGetDefaultFileTypeAndCreatorSelect = 0x0007,
- kGraphicsExportGetDefaultFileNameExtensionSelect = 0x0008,
- kGraphicsExportGetMIMETypeListSelect = 0x0009,
- kGraphicsExportRequestSettingsSelect = 0x000B,
- kGraphicsExportSetSettingsFromAtomContainerSelect = 0x000C,
- kGraphicsExportGetSettingsAsAtomContainerSelect = 0x000D,
- kGraphicsExportGetSettingsAsTextSelect = 0x000E,
- kGraphicsExportSetDontRecompressSelect = 0x000F,
- kGraphicsExportGetDontRecompressSelect = 0x0010,
- kGraphicsExportSetInterlaceStyleSelect = 0x0011,
- kGraphicsExportGetInterlaceStyleSelect = 0x0012,
- kGraphicsExportSetMetaDataSelect = 0x0013,
- kGraphicsExportGetMetaDataSelect = 0x0014,
- kGraphicsExportSetTargetDataSizeSelect = 0x0015,
- kGraphicsExportGetTargetDataSizeSelect = 0x0016,
- kGraphicsExportSetCompressionMethodSelect = 0x0017,
- kGraphicsExportGetCompressionMethodSelect = 0x0018,
- kGraphicsExportSetCompressionQualitySelect = 0x0019,
- kGraphicsExportGetCompressionQualitySelect = 0x001A,
- kGraphicsExportSetResolutionSelect = 0x001B,
- kGraphicsExportGetResolutionSelect = 0x001C,
- kGraphicsExportSetDepthSelect = 0x001D,
- kGraphicsExportGetDepthSelect = 0x001E,
- kGraphicsExportSetColorSyncProfileSelect = 0x0021,
- kGraphicsExportGetColorSyncProfileSelect = 0x0022,
- kGraphicsExportSetProgressProcSelect = 0x0023,
- kGraphicsExportGetProgressProcSelect = 0x0024,
- kGraphicsExportSetInputDataReferenceSelect = 0x0025,
- kGraphicsExportGetInputDataReferenceSelect = 0x0026,
- kGraphicsExportSetInputFileSelect = 0x0027,
- kGraphicsExportGetInputFileSelect = 0x0028,
- kGraphicsExportSetInputHandleSelect = 0x0029,
- kGraphicsExportGetInputHandleSelect = 0x002A,
- kGraphicsExportSetInputPtrSelect = 0x002B,
- kGraphicsExportGetInputPtrSelect = 0x002C,
- kGraphicsExportSetInputGraphicsImporterSelect = 0x002D,
- kGraphicsExportGetInputGraphicsImporterSelect = 0x002E,
- kGraphicsExportSetInputPictureSelect = 0x002F,
- kGraphicsExportGetInputPictureSelect = 0x0030,
- kGraphicsExportSetInputGWorldSelect = 0x0031,
- kGraphicsExportGetInputGWorldSelect = 0x0032,
- kGraphicsExportSetInputPixmapSelect = 0x0033,
- kGraphicsExportGetInputPixmapSelect = 0x0034,
- kGraphicsExportSetInputOffsetAndLimitSelect = 0x0035,
- kGraphicsExportGetInputOffsetAndLimitSelect = 0x0036,
- kGraphicsExportMayExporterReadInputDataSelect = 0x0037,
- kGraphicsExportGetInputDataSizeSelect = 0x0038,
- kGraphicsExportReadInputDataSelect = 0x0039,
- kGraphicsExportGetInputImageDescriptionSelect = 0x003A,
- kGraphicsExportGetInputImageDimensionsSelect = 0x003B,
- kGraphicsExportGetInputImageDepthSelect = 0x003C,
- kGraphicsExportDrawInputImageSelect = 0x003D,
- kGraphicsExportSetOutputDataReferenceSelect = 0x003E,
- kGraphicsExportGetOutputDataReferenceSelect = 0x003F,
- kGraphicsExportSetOutputFileSelect = 0x0040,
- kGraphicsExportGetOutputFileSelect = 0x0041,
- kGraphicsExportSetOutputHandleSelect = 0x0042,
- kGraphicsExportGetOutputHandleSelect = 0x0043,
- kGraphicsExportSetOutputOffsetAndMaxSizeSelect = 0x0044,
- kGraphicsExportGetOutputOffsetAndMaxSizeSelect = 0x0045,
- kGraphicsExportSetOutputFileTypeAndCreatorSelect = 0x0046,
- kGraphicsExportGetOutputFileTypeAndCreatorSelect = 0x0047,
- kGraphicsExportWriteOutputDataSelect = 0x0048,
- kGraphicsExportSetOutputMarkSelect = 0x0049,
- kGraphicsExportGetOutputMarkSelect = 0x004A,
- kGraphicsExportReadOutputDataSelect = 0x004B,
- kGraphicsExportSetThumbnailEnabledSelect = 0x004C,
- kGraphicsExportGetThumbnailEnabledSelect = 0x004D,
- kGraphicsExportSetExifEnabledSelect = 0x004E,
- kGraphicsExportGetExifEnabledSelect = 0x004F,
- kImageTranscoderBeginSequenceSelect = 0x0001,
- kImageTranscoderConvertSelect = 0x0002,
- kImageTranscoderDisposeDataSelect = 0x0003,
- kImageTranscoderEndSequenceSelect = 0x0004
- };
- #if PRAGMA_STRUCT_ALIGN
- #pragma options align=reset
- #elif PRAGMA_STRUCT_PACKPUSH
- #pragma pack(pop)
- #elif PRAGMA_STRUCT_PACK
- #pragma pack()
- #endif
- #ifdef PRAGMA_IMPORT_OFF
- #pragma import off
- #elif PRAGMA_IMPORT
- #pragma import reset
- #endif
- #ifdef __cplusplus
- }
- #endif
- #endif /* __IMAGECOMPRESSION__ */