![]() |
|
Interlacing generated photos for progressive JPEG - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Interlacing generated photos for progressive JPEG (/thread-5917.html) |
Interlacing generated photos for progressive JPEG - Nigel_Aves - 2009-10-01 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 Interlacing generated photos for progressive JPEG - sbillard - 2009-10-02 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 Interlacing generated photos for progressive JPEG - Nigel_Aves - 2009-10-02 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! |