On 07/01/2010, at 4:21 AM, David Blanton wrote: > bytesPerRow:(4 * > m_frameRect.size.width) > bitsPerPixel:32];
Apart from what others have said, you can pass 0 for these parameters and they get calculated for you. That's usually safest because any inconsistency among the parameters throws an exception. --Graham _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com