JPEG parser and decoder for libyami