From kde-commits Sat Aug 30 20:40:14 2008 From: Maks Orlovich Date: Sat, 30 Aug 2008 20:40:14 +0000 To: kde-commits Subject: branches/KDE/4.1/kdelibs/khtml/imload/decoders Message-Id: <1220128814.585796.6296.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=122012882301346 SVN commit 854967 by orlovich: Pickup Seli's revision r458979 of the old loader_jpeg.cpp (man did that file get forked a lot..), as it also fixes Unai Garro's artifacts bug. r458979 | lunakl | 2005-09-09 10:12:34 -0400 (Fri, 09 Sep 2005) | 4 lines Don't use JDCT_FASTEST, it's causing artifacts and I can't actually measure any speed difference. (#108903) BUG:169820 M +0 -3 jpegloader.cpp --- branches/KDE/4.1/kdelibs/khtml/imload/decoders/jpegloader.cpp #854966:854967 @@ -346,12 +346,9 @@ if ( cinfo.jpeg_color_space == JCS_YCbCr ) cinfo.out_color_space = JCS_RGB; - cinfo.do_fancy_upsampling = true; cinfo.do_block_smoothing = false; - cinfo.dct_method = JDCT_FASTEST; cinfo.quantize_colors = false; - // false: IO suspension if(jpeg_start_decompress(&cinfo)) {