Convert transparent PNG on import?
J. Landman Gay
jacque at hyperactivesw.com
Mon Feb 2 15:23:24 EST 2015
After I posted, it also occured to me that not all transparent images
use white as the alphadata color. So without transparency, you might end
up with a purple or orange image you didn't expect. Hadn't thought of
that. So yeah, probably wouldn't work on a couple of levels.
On 2/2/2015 2:15 PM, Scott Rossi wrote:
> That’s an interesting idea, but I don’t think it will work in many cases because the translucent portions of an image still need to be blended against something. Just removing the alphaData gets rid of the blending, and for example, will make the soft edge of a an antialiased curve jagged.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
>
> On Feb 2, 2015, at 11:39 AM, J. Landman Gay <jacque at hyperactivesw.com> wrote:
>
>> On 2/2/2015 12:56 PM, Scott Rossi wrote:
>>> Do your users go through an import process? If yes, and you can
>>> determine which images are PNGs (by file suffix for example), then
>>> you might be able to replace the contents of the imported PNG with a
>>> snapshot of its position on the card. Export a snapshot of the card
>>> using the PNGs rect to a variable, and then set the text of the
>>> imported image to the variable.
>>
>> Could you do something with the alpha channel instead? Like, set it to empty?
>>
>> --
>> Jacqueline Landman Gay | jacque at hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list