diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-08 22:42:44 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-08 22:42:44 +0100 |
| commit | 7c386ee3f400d80f043bc0b271a0184e35a08169 (patch) | |
| tree | 893dab410e68cf1fdfd3e709364b92a44942e92a /src/mono_picture_frame.cc | |
| parent | 5d8222829b5d14327ae6b63eb31e9fef0f9b4bdb (diff) | |
Rename xyz_to_rgb to xyz_to_rgba.
Diffstat (limited to 'src/mono_picture_frame.cc')
| -rw-r--r-- | src/mono_picture_frame.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mono_picture_frame.cc b/src/mono_picture_frame.cc index c2f8abb7..ec60104d 100644 --- a/src/mono_picture_frame.cc +++ b/src/mono_picture_frame.cc @@ -91,7 +91,7 @@ MonoPictureFrame::j2k_size () const shared_ptr<ARGBFrame> MonoPictureFrame::argb_frame (int reduce, float srgb_gamma) const { - return xyz_to_rgb ( + return xyz_to_rgba ( decompress_j2k (const_cast<uint8_t*> (_buffer->RoData()), _buffer->Size(), reduce), GammaLUT::cache.get (12, DCI_GAMMA, false), GammaLUT::cache.get (12, 1 / srgb_gamma, false) ); |
