Fixing bug 90347 -- some JPEGs display with noise -- checking in for nivedita@netscape.com. r=pavlov sr=ben

This commit is contained in:
pavlov%netscape.com 2002-01-16 04:54:44 +00:00
Родитель d585949ae5
Коммит c2f0089df2
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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;