Unit BGRAReadPSD

Description

Provides reader for Photoshop image format

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TBGRAReaderPSD Reader for Photoshop image format
Packed Record TPSDResourceBlock Image Resource Blocks
Packed Record TPSDResourceBlockData Data block

Functions and Procedures

function PSDResolutionUnitToResolutionUnit(APSDResolutionUnit: Word): TResolutionUnit;
function ResolutionUnitToPSdResolutionUnit(AResolutionUnit: TResolutionUnit): Word;

Types

PPSDResourceBlockTPSDResourceBlock;
PPSDResourceBlockDataTPSDResourceBlockData;

Constants

PSD_ALPHA_ID = $041d;
PSD_ALPHA_NAMES = $03ee;
PSD_ALPHA_NAMES_UNI = $0415;
PSD_ALT_DUOTONE_COLOR = $042A;
PSD_ALT_SPOT_COLOR = $042B;
PSD_AUTO_SAVE_FORMAT = $043F;
PSD_AUTO_SAVE_PATH = $043E;
PSD_BACKGROUND_COL = $03f2;
PSD_BITMAP = 0;
PSD_BORDER_INFO = $03f1;
PSD_CAPTION = $03f0;
PSD_CAPTION_DIGEST = $0425;
PSD_CLIPPING_PATH = $0bb7;
PSD_CMYK = 4;
PSD_COLOR_HALFTONE = $03f5;
PSD_COLOR_SAMPLER = $040e;
PSD_COLOR_SAMPLER_NEW = $0431;
PSD_COLOR_XFER = $03f8;
PSD_COPYRIGHT_FLG = $040a;
PSD_COUNT_INFO = $0438;
PSD_CS_ANPA = 3000;
PSD_CS_CMYK = 2;
PSD_CS_DIC = 11;
PSD_CS_FOCOLTONE = 4;
PSD_CS_GRAYSCALE = 8;
PSD_CS_HKS = 10;
PSD_CS_HSB = 1;
PSD_CS_LAB = 7;
PSD_CS_PANTONE = 3;
PSD_CS_RGB = 0;
PSD_CS_TOYO = 6;
PSD_CS_TRUMATCH = 5;
PSD_DISPLAY_INFO = $03ef;
PSD_DISPLAY_INFO_NEW = $0435;
PSD_DOC_IDS = $0414;
PSD_DUOTONE = 8;
PSD_DUOTONE_HALFTONE = $03f6;
PSD_DUOTONE_INFO = $03fa;
PSD_DUOTONE_XFER = $03f9;
PSD_EFFECTIVE_BW = $03fb;
PSD_EFFECTS_VISIBLE = $0412;
PSD_EPS_OPT = $03fd;
PSD_EXIF_DATA = $0422;
PSD_EXIF_DATA_3 = $0423;
PSD_GLOBAL_ALT = $0419;
PSD_GLOBAL_ANGLE = $040d;
PSD_GRAYSCALE = 1;
PSD_GREY_HALFTONE = $03f4;
PSD_GREY_XFER = $03f7;
PSD_GRID_GUIDE = $0408;
PSD_HDR_TONING_INFO = $042E;
PSD_ICC_PROFILE = $040f;
PSD_ICC_UNTAGGED = $0411;
PSD_IDX_COL_TAB_CNT = $0416;
PSD_IDX_TRANSPARENT = $0417;
PSD_IMAGEREADY_DATA = $1B59;
PSD_IMAGEREADY_VARS = $1B58;
PSD_IMAGE_MODE_RAW = $0405;
PSD_INDEXED = 2;
PSD_IPTC_NAA_DATA = $0404;
PSD_JPEG_QUAL = $0406;
PSD_JUMP_TO_XPEP = $041c;
PSD_LAB = 9;
PSD_LAYER_COMPS = $0429;
PSD_LAYER_GROUP = $0402;
PSD_LAYER_GROUP_E_ID = $0430;
PSD_LAYER_SELECT_ID = $042D;
PSD_LAYER_STATE = $0400;
PSD_LIGHTROOM_WORK = $1F40;
PSD_MAC_NSPRINTINFO = $043C;
PSD_MAC_PRINT_INFO = $03e9;
PSD_MEASURE_SCALE = $0432;
PSD_MULTICHANNEL = 7;
PSD_OBSOLETE_01 = $03fc;
PSD_OBSOLETE_02 = $03ff;
PSD_OBSOLETE_03 = $0403;
PSD_ONION_SKINS = $0436;
PSD_PATH_INFO_FIRST = $07d0;
PSD_PATH_INFO_LAST = $0bb6;
PSD_PIXEL_AR = $0428;
PSD_PLUGIN_R_FIRST = $0FA0;
PSD_PLUGIN_R_LAST = $1387;
PSD_PRINT_FLAGS = $03f3;
PSD_PRINT_FLAGS_2 = $2710;
PSD_PRINT_INFO = $043A;
PSD_PRINT_INFO_SCALE = $042F;
PSD_PRINT_SCALE = $0426;
PSD_PRINT_STYLE = $043B;
PSD_PS2_COLOR_TAB = $03eb;
PSD_PS2_IMAGE_INFO = $03e8;
PSD_QUICK_MASK = $03fe;
PSD_RESN_INFO = $03ed;
PSD_ResourceSectionSignature ='8BIM';
PSD_RES_CM = 2;
PSD_RES_INCH = 1;
PSD_RGB = 3;
PSD_SHEET_DISCLOSE = $0434;
PSD_SLICES = $041a;
PSD_SPOT_HALFTONE = $0413;
PSD_THUMB_RES = $0409;
PSD_THUMB_RES2 = $040c;
PSD_TIMELINE_INFO = $0433;
PSD_UNIT_CM = 2;
PSD_UNIT_COLUMN = 5;
PSD_UNIT_INCH = 1;
PSD_UNIT_PICA = 4;
PSD_UNIT_POINT = 3;
PSD_URL = $040b;
PSD_URL_LIST_UNI = $041e;
PSD_VERSION_INFO = $0421;
PSD_WATERMARK = $0410;
PSD_WIN_DEVMODE = $043D;
PSD_WORKFLOW_URL_UNI = $041b;
PSD_WORKING_PATH = $0401;
PSD_XMP_DATA = $0424;

Description

Functions and Procedures

function PSDResolutionUnitToResolutionUnit(APSDResolutionUnit: Word): TResolutionUnit;

This item has no description.

function ResolutionUnitToPSdResolutionUnit(AResolutionUnit: TResolutionUnit): Word;

This item has no description.

Types

PPSDResourceBlockTPSDResourceBlock;

This item has no description.

PPSDResourceBlockDataTPSDResourceBlockData;

This item has no description.

Constants

PSD_ALPHA_ID = $041d;

Jump to XPEP (?)

PSD_ALPHA_NAMES = $03ee;

ResolutionInfo structure

PSD_ALPHA_NAMES_UNI = $0415;

Document specific IDs

PSD_ALT_DUOTONE_COLOR = $042A;

Layer comps

PSD_ALT_SPOT_COLOR = $042B;

Alternative Duotone colors

PSD_AUTO_SAVE_FORMAT = $043F;

Auto save file path

PSD_AUTO_SAVE_PATH = $043E;

Windows DEVMODE

PSD_BACKGROUND_COL = $03f2;

Border info

PSD_BITMAP = 0;

Image color modes

PSD_BORDER_INFO = $03f1;

Optional - Caption string

PSD_CAPTION = $03f0;

Superceded by PSD_DISPLAY_INFO_NEW for ps CS3 and higher - DisplayInfo structure

PSD_CAPTION_DIGEST = $0425;

XMP data block

PSD_CLIPPING_PATH = $0bb7;

Last path info block

PSD_CMYK = 4;

RGB image

PSD_COLOR_HALFTONE = $03f5;

Greyscale and multichannel halftoning info

PSD_COLOR_SAMPLER = $040e;

Superceded by PSD_NEW_COLOR_SAMPLER for ps CS3 and higher - Global angle

PSD_COLOR_SAMPLER_NEW = $0431;

Layer group(s) enabled ID

PSD_COLOR_XFER = $03f8;

Greyscale and multichannel transfer functions

PSD_COPYRIGHT_FLG = $040a;

Thumbnail resource

PSD_COUNT_INFO = $0438;

Onion skins

PSD_CS_ANPA = 3000;

DIC color guide (Lab)

PSD_CS_CMYK = 2;

Hue, Saturation, Brightness

PSD_CS_DIC = 11;

HKS colors (CMYK)

PSD_CS_FOCOLTONE = 4;

Pantone matching system (Lab)

PSD_CS_GRAYSCALE = 8;

L*a*b

PSD_CS_HKS = 10;

Grey scale

PSD_CS_HSB = 1;

RGB

PSD_CS_LAB = 7;

Toyo 88 colorfinder 1050 (Lab)

PSD_CS_PANTONE = 3;

CMYK

PSD_CS_RGB = 0;

Image color spaces

PSD_CS_TOYO = 6;

Trumatch color (CMYK)

PSD_CS_TRUMATCH = 5;

Focoltone color system (CMYK)

PSD_DISPLAY_INFO = $03ef;

Alpha channel names

PSD_DISPLAY_INFO_NEW = $0435;

Sheet discloser

PSD_DOC_IDS = $0414;

Spot halftone

PSD_DUOTONE = 8;

Multichannel image

PSD_DUOTONE_HALFTONE = $03f6;

Color halftoning info

PSD_DUOTONE_INFO = $03fa;

Duotone transfer functions

PSD_DUOTONE_XFER = $03f9;

Color transfer functions

PSD_EFFECTIVE_BW = $03fb;

Duotone image information

PSD_EFFECTS_VISIBLE = $0412;

Do not use ICC profile flag

PSD_EPS_OPT = $03fd;

Obsolete

PSD_EXIF_DATA = $0422;

Version info

PSD_EXIF_DATA_3 = $0423;

Exif data block 1

PSD_GLOBAL_ALT = $0419;

Index of transparent color (if any)

PSD_GLOBAL_ANGLE = $040d;

Thumbnail resource

PSD_GRAYSCALE = 1;

Bitmap image

PSD_GREY_HALFTONE = $03f4;

Print flags

PSD_GREY_XFER = $03f7;

Duotone halftoning info

PSD_GRID_GUIDE = $0408;

JPEG quality

PSD_HDR_TONING_INFO = $042E;

Layer selection ID

PSD_ICC_PROFILE = $040f;

Superceded by PSD_NEW_COLOR_SAMPLER for ps CS3 and higher - Color samplers resource

PSD_ICC_UNTAGGED = $0411;

Watermark

PSD_IDX_COL_TAB_CNT = $0416;

Unicode alpha names

PSD_IDX_TRANSPARENT = $0417;

Indexed color table count

PSD_IMAGEREADY_DATA = $1B59;

Imageready variables

PSD_IMAGEREADY_VARS = $1B58;

Last plugin resource

PSD_IMAGE_MODE_RAW = $0405;

IPTC-NAA record (IMV4.pdf)

PSD_INDEXED = 2;

Greyscale image

PSD_IPTC_NAA_DATA = $0404;

Obsolete

PSD_JPEG_QUAL = $0406;

Image mode for raw format files

PSD_JUMP_TO_XPEP = $041c;

Workflow URL - Unicode string

PSD_LAB = 9;

Duotone image

PSD_LAYER_COMPS = $0429;

Pixel aspect ratio

PSD_LAYER_GROUP = $0402;

Working path (not saved)

PSD_LAYER_GROUP_E_ID = $0430;

Print scale

PSD_LAYER_SELECT_ID = $042D;

Alternative Spot colors

PSD_LAYER_STATE = $0400;

Obsolete

PSD_LIGHTROOM_WORK = $1F40;

Imageready data sets

PSD_MAC_NSPRINTINFO = $043C;

Print style

PSD_MAC_PRINT_INFO = $03e9;

Obsolete - ps 2.0 image info

PSD_MEASURE_SCALE = $0432;

Color sampler resource for ps CS3 and higher PSD files

PSD_MULTICHANNEL = 7;

CMYK

PSD_OBSOLETE_01 = $03fc;

Effective black & white values for dot range

PSD_OBSOLETE_02 = $03ff;

Quick mask info

PSD_OBSOLETE_03 = $0403;

Layers group info

PSD_ONION_SKINS = $0436;

DisplayInfo structure for ps CS3 and higher PSD files

PSD_PATH_INFO_FIRST = $07d0;

Auto save format

PSD_PATH_INFO_LAST = $0bb6;

First path info block

PSD_PIXEL_AR = $0428;

Print scale

PSD_PLUGIN_R_FIRST = $0FA0;

Name of clipping path

PSD_PLUGIN_R_LAST = $1387;

First plugin resource

PSD_PRINT_FLAGS = $03f3;

Background color

PSD_PRINT_FLAGS_2 = $2710;

Lightroom workflow

PSD_PRINT_INFO = $043A;

Count information

PSD_PRINT_INFO_SCALE = $042F;

HDR toning information

PSD_PRINT_SCALE = $0426;

Caption digest

PSD_PRINT_STYLE = $043B;

Print information added in ps CS5

PSD_PS2_COLOR_TAB = $03eb;

Optional - Mac print manager print info record

PSD_PS2_IMAGE_INFO = $03e8;

This item has no description.

PSD_QUICK_MASK = $03fe;

EPS options

PSD_RESN_INFO = $03ed;

Obsolete - ps 2.0 indexed color table

PSD_ResourceSectionSignature ='8BIM';

Image Resource IDs

PSD_RES_CM = 2;

Pixels / inch

PSD_RES_INCH = 1;

Display resolution units

PSD_RGB = 3;

Indexed image

PSD_SHEET_DISCLOSE = $0434;

Timeline information

PSD_SLICES = $041a;

Global altitude

PSD_SPOT_HALFTONE = $0413;

Show / hide all effects layers

PSD_THUMB_RES = $0409;

Grid & guide info

PSD_THUMB_RES2 = $040c;

URL string

PSD_TIMELINE_INFO = $0433;

Measurement scale

PSD_UNIT_CM = 2;

inches

PSD_UNIT_COLUMN = 5;

pica ( 6 pica = 1 inch)

PSD_UNIT_INCH = 1;

Width and height units

PSD_UNIT_PICA = 4;

points (72 points = 1 inch)

PSD_UNIT_POINT = 3;

cm

PSD_URL = $040b;

Copyright flag

PSD_URL_LIST_UNI = $041e;

Alpha IDs

PSD_VERSION_INFO = $0421;

URL list - unicode

PSD_WATERMARK = $0410;

ICC Profile

PSD_WIN_DEVMODE = $043D;

Mac NSPrintInfo

PSD_WORKFLOW_URL_UNI = $041b;

Slices

PSD_WORKING_PATH = $0401;

Layer state info

PSD_XMP_DATA = $0424;

Exif data block 3 (?)