Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Upgrading to Quartz



On May 16, 2006, at 01:14 AM, Chilton Webb wrote:

I have a simple QuickDraw problem I'd like to solve with Quartz, if possible.

I have a 64x64 pixel image, currently stored as an RGBA array of data, which I'd like to superimpose a PNG onto. After that, I'd like to copy the new image back into the 64x64 pixel RGBA array.

Create the array with the pixel image, then create a bitmap context with that image data. Then draw the image into the bitmap context. Bingo, you have your new image, without even having to copy it again =).
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.


David Duncan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden

This email sent to email@hidden
References: 
 >Upgrading to Quartz (From: Chilton Webb <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.