[dev] [cvs] commit: framework/Image/Image/Decorator watermark.php
Chuck Hagenbuch
chuck at horde.org
Wed Oct 17 17:45:50 UTC 2007
Quoting Michael Rubinsky <mike at theupstairsroom.com>:
> ...the more I think about it, the more I'm convinced we should do
> driver specific decorators (or some other driver specific solution).
> There are other 'non-primitive' image operations that would
> benifit. For example, to create a drop shadow, im can do it with 1
> simple command, and it's even more efficient with the imagick
> library. Not sure how this would translate into a generic api call
> without keeping a shadow method. Same goes for roundedCorners,
> which could probably be done using image primitives, but it would
> negate the benifits of having a library like imagick available,
> which can do it in one simple call.
I think having driver-specific plugins is reasonable - ways to enhance
the image object.
-chuck
More information about the dev
mailing list