gettingstarted
[Top] [All Lists]

Re: Saving picture with mask

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Saving picture with mask
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Sat, 29 Jan 2005 12:37:56 -0600
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <74E22360-6959-11D9-9BAB-000A95E636AC at utkux dot utcc dot utk dot edu> <41ED17BA dot 1030405 at realsoftware dot com> <p06200700be1fa762f93e at [192 dot 168 dot 0 dot 1]> <a06200706be2004091ff1 at [10 dot 10 dot 13 dot 4]> <p06200704be201dd8bcd1 at [192 dot 168 dot 0 dot 1]> <a06200714be2022573a7b at [10 dot 10 dot 13 dot 4]> <p06200707be207a606cc1 at [192 dot 168 dot 0 dot 1]>
At 12:48 AM +0100 1/29/05, FFL wrote:

What i want to do is modify the image with color tint or some other effect i can obtain onscreen (but cannot understand clearly since the documentation is quite mute on these calculations...) You can easily see by yourself : make a canvas, draw an image in its backdrop, draw something in its backdrop.mask (try a plain light color, definitely not grey) and admire the effect. Nobody did this before ? I can't believe this!

You shouldn't be doing it, either. What you're doing is called "relying on undocumented behavior" and it is a bad thing, because (1) the undocumented behavior is likely to change with different versions of RB, and (2) it probably also varies with the operating system you're running on.

Masks should always be grayscale.

Best,
- Joe

--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>