Interlacing generated photos for progressive JPEG

I'm very new to Zen Photo and I have to say not a PHP programmer at all. But I'm not a bad hacker of code.

I've looked through the documentation and some of the code and can not see how options are sent to GD2.

What I would like to do is produce cache images that have been produced using the "$objPhotoResize->interlace = true" but can not see where I would need to plug this in. Ideally I'd like to have it as a "theme" option and appear in the interface.

Could anyone point me in the right direction?

Many Thanks

Nigel Aves

Comments

  • You are probably going to have to give us a clue about what you are talking about. By GD2 do you mean the GD library? Where do you find any reference to `objPhotoResize->interlace = true`?
  • I'm sorry. I was not very clear.

    I'd like to generate all the cached .jpg files using "Interlaced" (this should give me the progressive downdload rather than the standard).

    I researched on the GD site and they had a list of options that can be passed to GD. The one I mentioned ("$objPhotoResize->interlace = true" or maybe it's "clsImage->interlace =true" ) generates the Interlaced jpg.

    This the link to the documentation I was reading http://phpclasses.zutz.nl/class.image/

    I hope this gives you a clue and I was not totally barking up the wrong tree!
Sign In or Register to comment.