[dev] Ansel / Horde_Image_Effect and image format choice.

Chuck Hagenbuch chuck at horde.org
Tue Oct 30 05:25:44 UTC 2007


Quoting Michael Rubinsky <mike at theupstairsroom.com>:

> OK. Just to make sure we are both on the same page, your talking about
> being able to specify the background color of the gallery view (which
> would match the background color of any generated jpeg images that
> need 'transparency'). and the foreground color for text?  Maybe by
> creating some 'named' styles for the user to pick from?

Yes.

> How would this affect images being retrieved through the api then?
> Should we still resort to our 'old' style then?  My concern would be
> specifying a style, say a blue background, which results in jpegs
> being created for the thumbs with a blue background...if these are
> then retrieved via the api, or viewed in an article in Jonah, then how
> should we handle that?

Well, how about letting the API calls that retrieve thumbnails specify  
the same style parameters?

By default, in the API, returning "plain" images seems right.

-chuck


More information about the dev mailing list