commit | dc4b900223eab0282d315a06c0cc4176c627516c | [log] [tgz] |
---|---|---|
author | DRC <information@libjpeg-turbo.org> | Thu Nov 16 20:43:12 2017 -0600 |
committer | DRC <information@libjpeg-turbo.org> | Fri Nov 17 22:49:07 2017 -0600 |
tree | 2df062b88543d0c83c4a188dac643fbf173cd06e | |
parent | aa7459050d7a50e1d8a99488902d41fbc118a50f [diff] |
TurboJPEG: Add alpha offset array/method Also, set the red/green/blue offsets for TJPF_GRAY to -1 rather than 0. It was undefined behavior for an application to use those arrays/methods with TJPF_GRAY anyhow, and this makes it easier for applications to programmatically detect whether a given pixel format has red, green, and blue components.