Hi fellow ezc'ers!

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?

TIA for any feedback!
Regards,
Toby

[1] http://issues.ez.no/IssueView.php?Id=11029&activeItem=7
-- 
Mit freundlichen Grüßen / Med vennlig hilsen / With kind regards

Tobias Schlitt (GPG: 0xC462BC14) eZ Components Developer

[EMAIL PROTECTED] | eZ Systems AS | ez.no
-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to