Subject says it all. I want my plugin method to return a picture where
HasAlphaChannel is true. Here's how I'm building the picture:
REALpicture result = NULL;
unsigned int* buffer;
buffer = (unsigned int*) malloc(width * height * 4);
if (buffer != NULL)
{
result = REALBuildPictureFromBuffer(width, height, kRBPixelBGRX32,
buffer, 4 * width);
}
And I'm stumped. I'm filling the result with all kinds of semi-transparent
pixels, and they are coming out fully opaque. Further, when I check the result
of my plugin method in the Real Studio debugger, HasAlphaChannel is false.
-Brad
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>