revise jpegsave auto no-chroma
IM actually uses Q >= 90, not > 90, to disable chroma subsampling. Adjust libvips to match. Thanks @csnover
This commit is contained in:
parent
8752a76e66
commit
a762601564
@ -79,7 +79,7 @@
|
|||||||
* 26/5/16
|
* 26/5/16
|
||||||
* - switch to new orientation tag
|
* - switch to new orientation tag
|
||||||
* 9/7/16
|
* 9/7/16
|
||||||
* - turn off chroma subsample for Q > 90
|
* - turn off chroma subsample for Q >= 90
|
||||||
* 7/11/16
|
* 7/11/16
|
||||||
* - move exif handling out to exif.c
|
* - move exif handling out to exif.c
|
||||||
* 27/2/17
|
* 27/2/17
|
||||||
@ -631,7 +631,7 @@ write_vips( Write *write, int qfac, const char *profile,
|
|||||||
* high Q.
|
* high Q.
|
||||||
*/
|
*/
|
||||||
if( no_subsample ||
|
if( no_subsample ||
|
||||||
qfac > 90 ) {
|
qfac >= 90 ) {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for( i = 0; i < in->Bands; i++ ) {
|
for( i = 0; i < in->Bands; i++ ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user