#OTLargeImageReader
Generate a thumbnail for a really large image, avoid of a terrible memory peak. More CPU time required.
Supports iOS and OSX.
My best practice: use this to compress image when image larger than 1M pixels, otherwise use CGContext.