Since PIEX can now return an uncompressed RGB thumbnail, check the type of the image...
authoryujieqin <yujieqin@google.com>
Thu, 14 Apr 2016 14:04:00 +0000 (07:04 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 14 Apr 2016 14:04:00 +0000 (07:04 -0700)
commite34635dee169b8710141d6d0841db1e2bde9626b
treed7b20e199f1d35129a3f2538a12b1e8899424785
parent5280dcbae3affd73be5d5e0ff3db8823e26901e6
Since PIEX can now return an uncompressed RGB thumbnail, check the type of the image before treating it as a JPEG.

Highlights of new PIEX:
* PIEX can now return JPEG compressed image or uncompressed RGB image
* Add IsOfType() and GEtNumberofBytesForIsOfType() to image_type_recognition_lite
* Add GetDngInformation() and GetOrientation() to piex
* Remove deprecated data entries from piex_types

BUG=b/27214608, b/28119810
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1883783002

Review URL: https://codereview.chromium.org/1883783002
DEPS
src/codec/SkRawCodec.cpp