Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Image Compression?
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #10
RE: Image Compression?
It doesn't set interlacing/progressive mode, so whatever the default is.
Unfortunately, I can't tell what it is from the documentation, because the following statement is contradictory:
Quote:If you want to output Progressive JPEGs, you need to set interlacing on with imageinterlace().

Taking an image from the gallery here seems to show that JPEGs are interlaced.  I doubt you'll get much of a size difference for typical thumbnails though (I got <0.5% size reduction for a quick test image).

If you want to change it yourself though, open inc/xthreads/xt_image.php, and before the line

PHP Code:
imagejpeg($im, $fn, $this->_jpeg_quality);

add

PHP Code:
@imageinterlace($im, false);



I suspect progressive JPEGs aren't as widely supported as interlaced, though it shouldn't be much of an issue with today's web.


My Blog
(This post was last modified: 03-24-2014 09:43 AM by ZiNgA BuRgA.)
03-24-2014 09:31 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Image Compression? - brad-t - 05-19-2011, 01:11 AM
RE: Image Compression? - RateU - 05-19-2011, 01:45 AM
RE: Image Compression? - brad-t - 05-19-2011, 01:47 AM
RE: Image Compression? - RateU - 05-19-2011, 02:09 AM
RE: Image Compression? - brad-t - 05-19-2011, 02:19 AM
RE: Image Compression? - RateU - 05-19-2011, 02:33 AM
RE: Image Compression? - ZiNgA BuRgA - 05-19-2011, 08:44 AM
RE: Image Compression? - brad-t - 05-19-2011, 10:38 AM
RE: Image Compression? - leefish - 03-24-2014, 02:02 AM
RE: Image Compression? - ZiNgA BuRgA - 03-24-2014 09:31 AM
RE: Image Compression? - leefish - 03-24-2014, 10:29 AM

 Standard Tools
Forum Jump: