From 507b4bd515ba8f0efd3ab90e8a0245cca8dcb9f3 Mon Sep 17 00:00:00 2001 From: "tor%cs.brown.edu" Date: Tue, 25 Jun 2002 18:28:09 +0000 Subject: [PATCH] Bug 150041 - turn on do_fancy_upsampling for higher quality decoding. r=pavlov, sr=blizzard --- modules/libpr0n/decoders/jpeg/nsJPEGDecoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/libpr0n/decoders/jpeg/nsJPEGDecoder.cpp b/modules/libpr0n/decoders/jpeg/nsJPEGDecoder.cpp index 5ceaeade3ef..3a2290020ea 100644 --- a/modules/libpr0n/decoders/jpeg/nsJPEGDecoder.cpp +++ b/modules/libpr0n/decoders/jpeg/nsJPEGDecoder.cpp @@ -358,7 +358,7 @@ NS_IMETHODIMP nsJPEGDecoder::WriteFrom(nsIInputStream *inStr, PRUint32 count, PR */ mInfo.dct_method = JDCT_ISLOW; mInfo.dither_mode = JDITHER_FS; - mInfo.do_fancy_upsampling = FALSE; + mInfo.do_fancy_upsampling = TRUE; mInfo.enable_2pass_quant = FALSE; mInfo.do_block_smoothing = TRUE;