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: FFL <freefl at free dot fr>
Date: Sat, 29 Jan 2005 00:46:40 +0100
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]> <1F881089-714F-11D9-8826-000393101B4A at mobleybros dot com>
Phil M dixit, le 28/01/05 à 9:07 :

   JPEG files do not support alpha channels.

OK, but what i want is flattening the picture with the mask effect, I do not want any mask included in the result file : as this is intended for photos, jpeg files are OK.

If you want to convert a picture with a Mask into a picture without a mask (but the same visual effect) you can draw the first picture into a blank second picture. This would apply the mask from the first and "flatten" the image. Then you can save the picture in any format you want.

I tried this way, there is some modification in the picture saved, but not the same as what is displayed on screen. Is there another way to obtain what i have in the window? WYSIWYG would be welcome... Since RB Reference or Guide are not explicit about what RB does when applying masks, could you direct me to some documentation where exact calculations are explained ? Thanks.

BTW, can you explain what is the difference between
   canvas.backdrop = mypicture
and
   canvas.backdrop.graphics.drawpicture mypicture,0,0
?
_______________________________________________
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>