image in white rectangle
David Kwinter
david at kwinter.ca
Tue Dec 14 22:57:45 EST 2004
You want to make the white part of your image transparent. There's a tool to
do this, but it only makes 1 specific color transparent. Superior would be a
tool that anti-aliased the edges using alphadata.
The tool is in Development Menu/Revolution Online/User
Spaces/Category/Programming/Makes transp...
----- Original Message -----
From: "Andrew" <alw918 at earthlink.net>
To: <use-revolution at lists.runrev.com>
Sent: Tuesday, December 14, 2004 7:27 PM
Subject: Re: image in white rectangle
> oh, perhaps I didn't explain myself well.
> Say I'm importing an image of a person standing in full figure against a
> white background. When this image is in front of another larger image,
> you can see the white background behind the person. I just want to make
> the white background behind the person invisible so it just looks like the
> person is standing in front of the other picture.
>
> Thanks!
> On Tuesday, December 14, 2004, at 06:39 PM,
> use-revolution-request at lists.runrev.com wrote:
>
>> On Dec 14, 2004, at 5:30 PM, Andrew wrote:
>>
>>> When importing an image, it always appears inside a white rectangle.
>>> Is there any way to set the white to "transparent"?
>>
>> I don't see that in a quick test I did. Maybe the border got turned
>> on, somehow.
>>
>> Or do you mean the image itself has a white rectangle?
>>
>> If the white is only at the edge... In that case you can write a small
>> script to get the imageData, and compute an alphaData and set that.
>>
>> Or you might be running across bug 560 or bug 1090, where transparency
>> is lost. The first is a problem in pasting an image. The second is a
>> problem of transparency being lost when the card changes.
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list