Advanced search  


cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.

Pages: [1]   Go Down

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

0 Members and 1 Guest are viewing this topic.


  • 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 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. :(
Pages: [1]   Go Up

Page created in 0.014 seconds with 19 queries.