commit | ea1eea47423df40809f165519094761045e832ae | [log] [tgz] |
---|---|---|
author | DRC <dcommander@users.sourceforge.net> | Wed Nov 19 00:55:28 2014 +0000 |
committer | DRC <dcommander@users.sourceforge.net> | Wed Nov 19 00:55:28 2014 +0000 |
tree | 3c13288caba9b68e4cc4e681be0eba4c9952ff3b | |
parent | 3ebcf7cf86e3f3275bed37ae613ca909274213b8 [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.4.x@1418 632fc199-4ca6-4c93-a231-07263d6284db