HINTS ...how to get things done GO TO HELL

Last Updated: 
99/02/09 

other sections:
HELL ON EARTH 
EDITOR WARS 
GALLERY 
GRAY MATTER 
INSANITIES 
RABIDBUNNIES 
HEALTH STATUS 
SITE INFO 

PLEASE NOTE:
This Section extensively uses Cascading Style Sheets (CSS). The pages should degrade gracefully, though.

All material contained herein is © 2000 by MOATMAI.

Get In Touch.

V. 0.002

Hell On Earth > Hints > Xara Tutorial: 8-Bit Transparency, Step 1

Importing 32-Bit Images into CorelXara

Step 1: Creating an 8-Bit Mask

First, an image with an 8-Bit Transparency will be created in a bitmap application -- in this example, Photoshop.

Typically, this involves either a soft border or a semi-transparent area. The image below has both: a soft drop-shadow and a semi-transparent piece of glass.

Merge all image layers together, except for the background. (If you have a semi-transparent area, make sure you keep this as you merge the layers.)

You should end up with two layers: one with the object and one with the background. Color the background with a neutral tint such as mid-gray (RGB 153,153,153) for best results:

the outset, an image with two layers,  10k

 

Ctrl-click on the layer with the objects you want to export with a transparency (see below).

This will create a selection for all the objects. In fact, this selection is the basis for the 8-bit mask we need.

make a selection out of the layer, 10k

 

Select the Channels tab and click on the symbol with the tooltip "Save Selection as Channel" (see below).

You now have a new channel containing the relevant information for your mask, but it is inverted.

Save the selection as a channel, 5k

 

Deselect everything (Ctrl-D in Photoshop).

This is what the Alpha channel looks like:

this is what the Alpha channel looks like, 8k

 

Click on the channel you have just created (Alpha 1 in the example) and invert it (Ctrl-I in Photoshop). The result will look like this:

inverted alpha channel, 4k

 

Select everything (Ctrl-A) and copy the newly-created transparency mask to a new RGB layer.

To achieve this, click on the Layers tab, deselect everything (Ctrl-D) and press Ctrl to paste the inverted Channel data into a new layer in the image.

copying the channel into a layer, 8k

 

This is the last chance to crop your image to minimal dimensions.

At this point, you might also want to make sure you will be exporting the image at the resolution you need.

The dimensions and resolution of the channel and the image must be identical.

cropping the image before exporting, 3k

 

Save a copy of the channel in a lossless 24-Bit-format such as TIFF (Ctrl-Alt-S).

Turn the new layer off and export the image as a TIFF. You don't need to save Alpha Channels or other Non-Image Data.

Close Photoshop, and launch Xara (yay!).

Back To Introduction / Continue with Step 2

Hell On Earth > Hints > Xara Tutorial: 8-Bit Transparency, Step 1

Form & Content © 2000 by MOATMAI at HELLONEARTH dot COM