Fixing bug 90347 -- some JPEGs display with noise -- checking in for nivedita@netscape.com. r=pavlov sr=ben
git-svn-id: svn://10.0.0.236/trunk@112302 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -356,8 +356,8 @@ NS_IMETHODIMP nsJPEGDecoder::WriteFrom(nsIInputStream *inStr, PRUint32 count, PR
|
||||
/* FIXME -- Should reset dct_method and dither mode
|
||||
* for final pass of progressive JPEG
|
||||
*/
|
||||
mInfo.dct_method = JDCT_FASTEST;
|
||||
mInfo.dither_mode = JDITHER_ORDERED;
|
||||
mInfo.dct_method = JDCT_ISLOW;
|
||||
mInfo.dither_mode = JDITHER_FS;
|
||||
mInfo.do_fancy_upsampling = FALSE;
|
||||
mInfo.enable_2pass_quant = FALSE;
|
||||
mInfo.do_block_smoothing = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user