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).
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).