📄 cdtype.bas
字号:
' /* Modified color matrix
' Attribute : Read only
' Size/Type : 2 / cdColorMatrix
' */
Public Const cdIMG_PROP_MODIFIED_DIGITAL_GAIN = &H7600
' /* Modified digital exposure compensation value (x10)
' Attribute : Read only
' Size/Type : 2 / cdInt16
' */
Public Const cdIMG_PROP_MODIFIED_WHITE_BALANCE = &H7700
' /* Modified white balance setting.
' Attribute : Read only
' Size/Type : 2 / cdWBLightSrc
' */
Public Const cdIMG_PROP_COLORSPACE_DCF = &H7800
' /* Color space (Exif)
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdIMG_PROP_BODY_ID_DESC = &H7900
' /* Display format of the camera body ID number got by cdIMG_PROP_BODY_ID.
' Attribute : Read only
' Size/Type : 4 / cdUInt32
' */
Public Const cdIMG_PROP_FILE_TYPE_ID = &H7A00
' /* File type ID.
' Attribute : Read only
' Size/Type : 4 / cdUInt32
' */
Public Const cdIMG_PROP_MAKER = &H8000
' /* The manufacturer of the camera.
' Attribute : Read only
' Size/Type : any / cdChar
' Note:
' NOT NULL termnated.
' */
Public Const cdIMG_PROP_CUSTOM_FUNC1_EX = &H8100
' /* Custom function settings.
' Attribute : Read only
' Size/Type : any (depend on camera model) / cdUInt16
' */
Public Const cdIMG_PROP_CUSTOM_FUNC2_EX = &H8200
' /* Custom function settings.
' Attribute : Read only
' Size/Type : any (depend on camera model) / cdUInt16
' */
Public Const cdIMG_PROP_LOSSLESS_ROTATION_ANGLE = &H8008300
' /* Lossless rotation angle. (0, 90, 180, 270)
' Attribute : Read/Write
' Size/Type : 4 / cdUInt32
' */
Public Const cdIMG_PROP_INPUT_COLOR_TEMP = &H8400
' /* WB color temperature.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdIMG_PROP_COLORSPACE_EX = &H8500
' /* Color space
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' Values:
' 1: sRGB 2: Adobe RGB 0xffff: Unknown
' */
Public Const cdIMG_PROP_JPEG_SIZE_IN_CRW = &H8600
' /* Size of the Jpeg data recorded in the CRAW file.
' Attribute : Read only
' Size/Type : 10 / cdUInt16
' Values:
' Bytes 0-1 Length of this property data.
' Bytes 2-3 Quality setting.
' Bytes 4-5 Data size.
' Bytes 6-7 Width in pixels.
' Bytes 8-9 Height in pixels.
' */
Public Const cdIMG_PROP_FOCUS_POSITION3 = &H8700
' /* Focus point and AF point information.
' Attribute : Read only
' Size/Type : any / any
' Values:
' (Order) (Type) (Name)
' 1 cdUInt16 Frames
' 2 cdUInt16 FocusFrames
' 3 cdUInt16 ImageWidth
' 4 cdUInt16 ImageHeight
' 5 cdUInt16 FrameWDenominator
' 6 cdUInt16 FrameHDenominator
' 7 cdUInt16 FrameWNumerator
' 8 cdUInt16 FrameHNumerator
' 9 cdInt16[] FrameXNumerator
' 10 cdInt16[] FrameYNumerator
' 11 cdUInt16[] JustFocusFramePattern
' 12 cdUInt16 JustFocusFrame
'
' Frames:
' Represents the total number of elements contained in the array
' of the FrameXNumerator and FrameYNumerator.
'
' FocusFrames:
' Represents the number of effective arrangement of the
' FrameXNumerator and FrameYNumerator array.
'
' ----------
'
' The width of the AF frame to the image (Wf) can be get by the next formula:
' Wf = ImageWidth * (FrameWNumerator / FrameWDenominator)
'
'
' The height of the AF frame to the image (Hf) can be get by the next formula:
' Wf = ImageHeight * (FrameHNumerator / FrameHDenominator)
'
' X coordinates of the focused frame to the image (fx) can be get by the next formula:
' fx = ImageWidth / FrameWDenominator * (FrameXNumerator + (ImageWidth - FrameWNumerator) / 2)
'
' Y coordinates of the focused frame to the image (fy) can be get by the next formula:
' fy = ImageHeight / FrameHDenominator * (FrameYNumerator + (ImageHeight - FrameHNumerator) / 2)
' */
' /*----------------------------------------------------------
' Thumbnail Image Data Property
' */
Public Const cdIMG_PROP_THUMB_FORMAT = &H10000001
' /* Image data format.
' Attribute : Read only
' Size/Type : sizeof(cdImageFormat) / cdImageFormat
' */
Public Const cdIMG_PROP_THUMB_COMPONENT_BIT_DEPTH = &H10000002
' /* The number of bits per color component (such as 8).
' Attribute : Read only
' Size/Type : 1 / cdUInt8
' */
Public Const cdIMG_PROP_THUMB_COLOR_BIT_DEPTH = &H10000003
' /* The number of bits per color (such as 24).
' Attribute : Read only
' Size/Type : 1 / cdUInt8
' */
Public Const cdIMG_PROP_THUMB_WIDHT = &H10000004
' /* The width in pixels.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdIMG_PROP_THUMB_HEIGHT = &H10000005
' /* The height in pixels.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdIMG_PROP_THUMB_DENSITY_X = &H10000006
' /* The horizontal dots per inch.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdIMG_PROP_THUMB_DENSITY_Y = &H10000007
' /* The vertical dots per inch.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
' /*----------------------------------------------------------
' Picture Image Data (full resolution image data) Property
' */
Public Const cdIMG_PROP_PICT_FORMAT = &H20000001
' /* Image data format.
' Attribute : Read only
' Size/Type : sizeof(cdImageFormat) / cdImageFormat
' */
Public Const cdIMG_PROP_PICT_COMPONENT_BIT_DEPTH = &H20000002
' /* The number of bits per color component (such as 8).
' Attribute : Read only
' Size/Type : 1 / cdUInt8
' */
Public Const cdIMG_PROP_PICT_COLOR_BIT_DEPTH = &H20000003
' /* The number of bits per color (such as 24).
' Attribute : Read only
' Size/Type : 1 / cdUInt8
' */
Public Const cdIMG_PROP_PICT_WIDHT = &H20000004
' /* The width in pixels.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdIMG_PROP_PICT_HEIGHT = &H20000005
' /* The height in pixels.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdIMG_PROP_PICT_DENSITY_X = &H20000006
' /* The horizontal dots per inch.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdIMG_PROP_PICT_DENSITY_Y = &H20000007
' /* The vertical dots per inch.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdIMG_PROP_PICT_NEED_DEVELOP = &H20000008
' /* Indicates that the picture image data needs development.
' If this property is TRUE, client applications should develop
' the picture image data by CDGetDevelopedImageData().
' Attribute : Read only
' Size/Type : sizeof(cdBoolean) / cdBoolean
' */
Public Const cdIMG_PROP_PICT_COMPRESSION_RATIO = &H20000010
' /* The compression ratio compared to 24-bit RGB.
' Attribute : Read only
' Size/Type : 4 / cdFloat
' */
Public Const cdIMG_PROP_PICT_COMPRESSION_TYPE = &H20000011
' /* The type of compression used on the image data.
' Attribute : Read only
' Size/Type : 1 / cdCompressionType
' */
' /*----------------------------------------------------------
' Movie Data Property
' */
Public Const cdIMG_PROP_MOVIE_FORMAT = &H30000001
' /* Movie data format.
' Attribute : Read only
' Size/Type : sizeof(cdImageFormat) / cdImageFormat
' */
Public Const cdIMG_PROP_MOVIE_COMPONENT_BIT_DEPTH = &H30000002
' /* The number of bits per color component (such as 8).
' Attribute : Read only
' Size/Type : 1 / cdUInt8
' */
Public Const cdIMG_PROP_MOVIE_COLOR_BIT_DEPTH = &H30000003
' /* The number of bits per color (such as 24).
' Attribute : Read only
' Size/Type : 1 / cdUInt8
' */
Public Const cdIMG_PROP_MOVIE_WIDHT = &H30000004
' /* Width in pixels.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdIMG_PROP_MOVIE_HEIGHT = &H30000005
' /* Height in pixels.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdIMG_PROP_MOVIE_DENSITY_X = &H30000006
' /* The horizontal dots per inch.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdIMG_PROP_MOVIE_DENSITY_Y = &H30000007
' /* The vertical dots per inch.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdIMG_PROP_MOVIE_FRAME_RATE = &H30000009
' /* Flame rate (flames/sec)
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdIMG_PROP_MOVIE_TOTAL_FRAME = &H3000000A
' /* The number of total frames.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdIMG_PROP_MOVIE_CREATOR_VERSION = &H3000000B
' /* Creator version that is the version number of the movie
' file generated by the Canon Digital Camera.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
' /*----------------------------------------------------------
' Sound Data Property
' */
Public Const cdIMG_PROP_SOUND_FORMAT = &H40000001
' /* Sound data format.
' Attribute : Read only
' Size/Type : sizeof(cdImageFormat) / cdImageFormat
' */
Public Const cdIMG_PROP_SOUND_SOUND_DURATION = &H4000000C
' /* The duration in seconds.
' Attribute : Read only
' Size/Type : 4 / cdFloat
' */
Public Const cdIMG_PROP_SOUND_SAMPLING_FREQUENCY = &H4000000D
' /* The number of samples per second.
' Attribute : Read only
' Size/Type : 4 / cdUInt32
' */
Public Const cdIMG_PROP_SOUND_SOUND_CHANNELS = &H4000000E
' /* The number of interleaved channels.
' Attribute : Read only
' Size/Type : 1 / cdUInt8
' */
Public Const cdIMG_PROP_SOUND_BITS_PER_SAMPLE = &H4000000F
' /* The number of bits per sample.
' Attribute : Read only
' Size/Type : 1 / cdUInt8
' */
'/* cdBaseImagePropertyID
'*/
Public Const cdBASE_IMG_PROP_FORMAT = &H1
' /* Data format.
' Attribute : Read only
' Size/Type : sizeof(cdImageFormat) / cdImageFormat
' */
Public Const cdBASE_IMG_PROP_COMPONENT_BIT_DEPTH = &H2
' /* The number of bits per color component (such as 8).
' Attribute : Read only
' Size/Type : 1 / cdUInt8
' */
Public Const cdBASE_IMG_PROP_COLOR_BIT_DEPTH = &H3
' /* The number of bits per color (such as 24).
' Attribute : Read only
' Size/Type : 1 / cdUInt8
' */
Public Const cdBASE_IMG_PROP_WIDHT = &H4
' /* The width in pixels.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdBASE_IMG_PROP_HEIGHT = &H5
' /* The height in pixels.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdBASE_IMG_PROP_DENSITY_X = &H6
' /* The horizontal dots per inch.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdBASE_IMG_PROP_DENSITY_Y = &H7
' /* The vertical dots per inch.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -