[dev] [cvs] commit: framework/Image/Image/Decorator watermark.php
Michael Rubinsky
mike at theupstairsroom.com
Wed Oct 17 18:03:00 UTC 2007
Quoting Chuck Hagenbuch <chuck at horde.org>:
> 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.
Cool. I'll try to pull out all the 'non-primitive' operations into
driver specific decorators...except maybe watermark, since it was
present as a method in Horde 3.1...right?
Thanks,
mike
--
The Horde Project (www.horde.org)
mrubinsk at horde.org
"Time just hates me. That's why it made me an adult." - Josh Joplin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
Url : http://lists.horde.org/archives/dev/attachments/20071017/04628ceb/attachment-0002.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 2013 bytes
Desc: PGP Public Key
Url : http://lists.horde.org/archives/dev/attachments/20071017/04628ceb/attachment-0003.bin
More information about the dev
mailing list