Hi Stefan,

On 04/29/2009 05:17 PM Stefan Kilp [sk-software] wrote:

> i need an image rotate filter (and some more)
> what would be the best way to add a image 'rotate' filter to the 
> imageConversion lib.

such a contribution would be very welcome. :)

> As far as i can see i have to:
> - extend the geometry interface

Extending the interface would mean a BC break, therefore I'd suggest to
create a new interface, e.g. ezcImageRotationFilters.

> - implement rotate(float $angle) and performRotate(float $angle) in gd and 
> imagemagic 
> handlers
> - add tests

Yes, that is basically all you'd need to do.

> any hints for me?

Looks like you already looked at the existing code. Thats pretty much
the best thing you can do. Same for the test cases.

If you need any further assistance here, please ask on the list or (even
better) join the IRC channel #ezcompone...@freenode.

Regards,
Toby
-- 
Mit freundlichen Grüßen / Med vennlig hilsen / With kind regards

Tobias Schlitt (GPG: 0xC462BC14) eZ Components Developer

t...@ez.no | eZ Systems AS | ez.no
-- 
Components mailing list
Components@lists.ez.no
http://lists.ez.no/mailman/listinfo/components

Reply via email to