On Tue, 13 Nov 2007, Tobias Schlitt wrote:

> Marco Kaiser noticed, that our ImageConversion component produces nasty
> effects, if you convert an image that contains a transparent/translucent
> background (e.g. PNG) to a format that does not support this features
> (like JPEG) [1]. In this case, the drivers randomly selects a new color.
> 
> In order to fix this, I proposed 2 possible solutions in a comment to
> the bug. While re-reading those I think, the best solution is the following:
> 
> Add an option for it to the ezcImageSaveOptions class, which only takes
> effect, if such a conversion is performed. The option should get a very
> clear name, which is kinda hard to find. Maybe something like
> $transparentReplacementColor?
> 
> What do you think? Is there a better solution? Or at least a better
> option name?

This sounds fine to me.

Derick
-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to