

The document will open in RGB mode with a resolution of 72 pixels/inch.The document will open in a window that is 100 pixels high and 200 pixels wide.The following example demonstrates how to open a generic (multi-page/multi-image) PDF document with the following specifications: For example, look up PhotoCDOpenOptions or EPSOpenOptions in the scripting reference (Part 2). To find out which options you can set for each of file type, look up the properties for the OpenOptions objects that begin with the file format name.

Height and width of the window in which the document is opened, which page to open to in a multi-page file, etc. Notice that you must create a File object and then pass a reference to the object to the open() command.įor the document types on the following list, you can set options to specify how the document will be opened, such as the The following example opens a document using its default type: If you do not specify the format, Adobe Photoshop CS2 That aditional option would be adaptative, so if it finds an image with no alpha channel, it would automatically switch to layer transparency, and vice-versa (it is very uncommon to work with TGA’s, and have an image with layer transparency AND alpha channel) – that safe mechanism would help avoid most human errors.Because Adobe Photoshop CS2 supports many different file formats, the open() method lets you specify the format of the document you are opening. When saving a TGA, we already get a dialog box that asks if we want to save as 16, 24 or 32 bits would it be hard to add just another option, asking the transparency source (layer transparency or alpha channel) ?

That forces us to switch the plugin all the time.

Special effects, like particles, smoke, etc, is better drawn using the alpha channel, so we use the 7.01 plugin to save them "sprites" (usually animated characters) are drawn in a transparent layer, and saved using the 7.00 plugin I usually work with alpha and transparencies, not at the same time, as it depends on specific artwork, I’ll put a sample: I think I posted about the issue months ago, so, sorry about stepping with it again:
