Easiest way to convert an NSImage to a JPEG
Easiest way to convert an NSImage to a JPEG
- Subject: Easiest way to convert an NSImage to a JPEG
- From: John Stiles <email@hidden>
- Date: Wed, 19 May 2004 18:38:51 -0700
What's the simplest way to go from an NSImage* (or NSImageRep*) to a
JPEG file on my hard disk? i.e. something like:
[myImage createJPEGFile:@"/blat.jpg" withQuality:100.0f]; // this
function is made up
I have some Carbon-based solutions already, but Cocoa always seems to
make things easier :)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.