NSImage to JPEG file?
NSImage to JPEG file?
- Subject: NSImage to JPEG file?
- From: Carl Hoefs <email@hidden>
- Date: Mon, 14 Jan 2019 13:17:41 -0700
I have a background macOS daemon process (aka Foundation-based "command line
tool") that needs to write out a JPEG file to local disk. The image resides in
an NSImage object (or alternatively, an NSData of raw RGB image data).
Short of resorting to something like libjpeg, what is the ObjC way to do this?
-Carl
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden