Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Make interlaced JPEG as default normal and thumb format?  (Read 5138 times)

0 Members and 1 Guest are viewing this topic.

cvictor

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Make interlaced JPEG as default normal and thumb format?
« on: March 28, 2004, 06:58:34 pm »

I'm using coppermine version 1.2.1 and find that the generated normal and thumb pictures are not interlaced (progressive) jpeg.
Interlaced jpeg pics are usually smaller in size while remaining the same quality. And users will see the pictures roughly under narrow bandwidth environment.
Please consider this suggestion in the next version, since 1.3 didn't include this feature.

Add one line in picmgmt.inc.php line around 185 will solve this in GD2.
Code: [Select]

// progressive jpeg output
imageinterlace($dst_img, 1);

I have never used IM before, but there must be some command line parameter doing the same thing.

Notice that when opened in IE, progressive JPEG pictures will not displayed progressively. On the contrary, it will be displayed as a whole after downloading completes. Even worse than the ordinary line-by-line fashion. :(
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.