Forum OpenACS Development: Re: Photo-Album Includelet for Xowiki

Collapse
Posted by Richard Hamilton on
I have been testing some new display options for the xowiki yui-carousel includelet which makes good use of the content repository image re-sizing features.

Along the way I have been testing performance with quite large numbers of thumbnails, and I happened to notice that the imagemagick default quality for a 90 x 60 .jpg thumbnail results in a 25KB+ image. This is way too big since I can produce a thumbnail visually indistinguishable from it in about 2.5KB using Photoshop.

As a quick and dirty performance improvement I can simply manually re-process the cached thumbnail files, but I thought it might be a useful addition to enable the required default output quality to either be passed in when the procs are called or put in an OpenACS kernel parameter alongside the path to ImageMagick.

Any thoughts?

Regards
Richard