realbasic-nug
[Top] [All Lists]

Getting section of picture

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Getting section of picture
From: Thom McGrath <lists at thezaz dot com>
Date: Sun, 30 Dec 2007 13:44:44 -0500
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
I'm having some trouble grabbing a section of a picture object into a  
new picture. I need it to properly support the alpha channel as well.  
I also need to do so cross-platform and without plugins.

The problem is that I cannot access the non-masked image data,  
otherwise I'd have a solution. I also don't appear to see a built-in  
function to do this.

I could create a new picture, and simply use drawpicture, but this  
draws the source into the target with it's mask. If I then drawpicture  
the mask of the source into the mask of the target, I've got a double- 
mask situation. If there was (or is) a way I can draw the source into  
the target, ignoring the mask, then I'd have this taken care of.

Is there something I'm missing?

--
Thom McGrath
The ZAZ Studios
<http://www.thezaz.com/> AIM: thezazstudios


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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