The same as provided CGDraw sample code by apple
CGBitmapContext is typical 8-bit ARGB bitmap.
when I draw the CGImageRef (obtained by QT GraphicsImporter or by
CGImageSource...) with CGContextDrawImage and I look with the
debugger (and also onscreen) the values of each pixel are the
following
R(cg)= R*A,
G(cg)= G*A,
G(cg)= G*A
A(cg)=A
I don't want that I want to obtain
R(cg)= R,
G(cg)= G,
G(cg)= G
A(cg)=A
I know how to do this with QT not sure how to do this with.... CG
thx,
marc
On 28 Jun 2006, at 19:30, Shawn Erickson wrote:
On 6/28/06, Marc Van Olmen <email@hidden> wrote:
Is there away to fix this with CG?
I think you need to better explain the issue and exactly what you are
trying to achieve before folks can help much.
First what type of CGContext are you attempting to draw into? What is
the source for the image you are drawing? etc.
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/marc%
40sky4studios.be
This email sent to email@hidden