This restores the canvas-based decoding method that was removed in #214, but only for JPEG images. We continue to decode PNG images in C because canvas-decoding mucks with alpha and prevents us from reading 16-bit PNG.
This restores the canvas-based decoding method that was removed in #214, but only for JPEG images. We continue to decode PNG images in C because canvas-decoding mucks with alpha and prevents us from reading 16-bit PNG.