At 11:03 AM -0700 3/18/06, Joseph J. Strout wrote:
An embedded picture is just like one opened with OpenAsPicture: it's
an opaque object that knows how to draw itself, but it may not
contain any pixels at all (it may be vector graphics for example, or
compressed raster data of some sort), so you can't generally get a
.graphics or an .rgbSurface for it.
If only it were that consistent. After lots of testing today...
Trying to get and use an RGBsurface in RB2006...
...from an embedded picture on OSX returns nil.
...from an embedded picture on Windows returns an RGBsurf and it works OK.
...from jpg using OpenAsPicture on OSX returns an RGBsurf and it works OK.
...from jpg using OpenAsPicture on Windows returns an RGBsurf but
crashes the whole app if you use it. This works fine in RB 5.5.
FYI I've submitted a bug report with sample project in case anyone
would like to sign on.
http://www.realsoftware.com/feedback/viewreport.php?reportid=epkxifpf
Thanks,
Joe Huber
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>