davbeck / ImageIOSwift

Swift wrapper around ImageIO
MIT License
111 stars 15 forks source link

Add ImageDestination #1

Open davbeck opened 7 years ago

davbeck commented 7 years ago

The other side of ImageIO, CGImageDestination could also benefit from a Swift wrapper.

It would be interesting to compare performance and memory usage between resizing from a file loaded as an image source directly to an image destination, as apposed to loading a UIImage into memory and drawing it to a new smaller image context (which is by far the most common method).