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: How to save an image?




Le 29 avr. 08 à 21:55, George Warner a écrit :

On Tue, 29 Apr 2008 09:16:05 +0100 (BST), Andrew Davis
<email@hidden> wrote:

Hi,
I am taking an image from the system, displaying it in a window and
modifying it. Now, i need to save that modified image(jpeg, bmp, png) in some
other location within the system. All i have is the CGContextRef and the
CGImageRef( the image drawn on that context ). How to save this in a FILE?


/*****************************************************
*
* QTIE_ExportCGImageToFile( imageRef, path )
*

QExporter has been deprecated in favor of the ImageIO frameworks for image handling.
You should avoid to use it in new code and use CGImageDestinaton instead.





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

This email sent to email@hidden
References: 
 >re: How to save an image? (From: George Warner <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.