[comp.sys.next] Alpha values and the Draw App... HELP!

stuart@previous.ADS.COM (Stuart Crawford) (09/12/90)

I'm trying to do a quick and dirty modification of the Draw application for a
client demo.  The drawings I'm using are eps maps saved as .draw files.  I have
some TIFF icons that I want to place on these maps by simply dragging them from
the Workspace. The problem is that Draw, as it currently stands, does *not*
make use of any alpha information in these TIFF files.  These icons have a
white rectangular background that (when viewed by the Icon application) is
transparent.  However the background is opaque when pasted in to the Draw
document.

I've tried to modify Tiff.m by setting drawWithAlpha = YES, but this has no
effect.  

What can I do to force Draw to make use of alpha levels?

Thanks very much,

Stuart
--

stuart@previous.ADS.COM (Stuart Crawford) (09/12/90)

I'm trying to do a quick and dirty modification of the Draw application for a
client demo.  The drawings I'm using are eps maps saved as .draw files.  I have
some TIFF icons that I want to place on these maps by simply dragging them from
the Workspace. The problem is that Draw, as it currently stands, does *not*
make use of any alpha information in these TIFF files.  These icons have a
white rectangular background that (when viewed by the Icon application) is
transparent.  However the background is opaque when pasted in to the Draw
document.

I've tried to modify Tiff.m by setting drawWithAlpha = YES, but this has no
effect.  

What can I do to force Draw to make use of alpha levels?

Thanks very much,

Ctuart
--

stuart@previous.ADS.COM (Stuart Crawford) (09/12/90)

Sorry... the fix *does* work properly.  I was doing the following:

1. Scan an image, save as a TIFF file
2. Load the TIFF file into Icon
3. Fix the alpha levels
4. Choosing save

Since there were no alpha levels in the original TIFF, "save" saved the file
without alpha settings.  When I choose "Save as...", I can toggle the button to
ensure that alpha settings are saved, and everything is just fine.

Sorry for the false alarm,

Stuart
--