commit | 0426cd3441cea6e225c8fb45455b20ad673aff31 | [log] [tgz] |
---|---|---|
author | DRC <dcommander@users.sourceforge.net> | Fri Nov 21 15:33:19 2014 +0000 |
committer | DRC <dcommander@users.sourceforge.net> | Fri Nov 21 15:33:19 2014 +0000 |
tree | af6116400165cff36d21358dd5e2611cdd59a6d1 | |
parent | 339589f3cd4fddf4198d80f0577f80d2e1c4a6db [diff] |
Sometimes the sampling factors in grayscale images can be > 1 (for instance, if compressing using 'cjpeg -sample 2x2 -grayscale'.) Technically, sampling factors have no meaning with grayscale JPEGs, and the libjpeg decompressor ignores them in that case. Thus, the TurboJPEG decompressor should ignore them as well. git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1419 632fc199-4ca6-4c93-a231-07263d6284db