Add support for writing icc profiles to the jpeg encoder
authorMatt Sarett <msarett@google.com>
Tue, 21 Mar 2017 20:14:42 +0000 (16:14 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 22 Mar 2017 13:57:58 +0000 (13:57 +0000)
commite3b95ce468c73af8247ba9582a7b84548b19f06a
tree5823adacd215f5b9f7030287fec35727332d041a
parentc3efe6785666cdd13848e63f36fdadca26c48649
Add support for writing icc profiles to the jpeg encoder

Also, share the impl for skjpeg_error_mgr between the
jpeg decoder and encoder.  They are already identical
anyway.

BUG=skia:

Change-Id: I029312406dee8734744cc3058acd1f153aefcd83
Reviewed-on: https://skia-review.googlesource.com/9971
Reviewed-by: Leon Scroggins <scroggo@google.com>
Commit-Queue: Matt Sarett <msarett@google.com>
src/codec/SkJpegCodec.cpp
src/codec/SkJpegUtility.h
src/images/SkImageEncoderFns.h [new file with mode: 0644]
src/images/SkJPEGImageEncoder.cpp
src/images/SkJPEGWriteUtility.cpp
src/images/SkJPEGWriteUtility.h
src/images/SkPNGImageEncoder.cpp
src/images/SkWEBPImageEncoder.cpp
src/images/transform_scanline.h [deleted file]
tests/CodecTest.cpp