Re: NSImage to JPEG file?
Re: NSImage to JPEG file?
- Subject: Re: NSImage to JPEG file?
- From: Jens Alfke <email@hidden>
- Date: Tue, 15 Jan 2019 15:01:47 -0800
It’s been a long time since I worked with NSImages, but it’s easy to get a JPEG
representation using just plain AppKit.
Just look through the representations for an NSBitmapImageRep, then call [rep
representationUsingType: NSBitmapImageFileTypeJPEG options: 0].
—Jens
PS: _Please_ don’t reply to digests. It messes up the subject line and the
message threading.
_______________________________________________
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