Closed xrmx closed 12 years ago
subscribe
+1 - I would LOVE this!
It seems Caman.js could unlock a huge potential as being the jQuery chainable-api for Canvas Manipulation - mmmmmm.
I agree, there definitely needs to be more work done on this. I'll see what I can come up with.
Perhaps teaming up with the gury guys would help? They seem to have a similar API, but less catered towards filters etc. Seems that the two projects should be merged. Cross-posted here: https://github.com/rsandor/gury/issues/16
Crop and resize abilities added. Examples:
Caman "#test-image", ->
# width, height, x, y
@crop 150, 150, 100, 100
# width and/or height
@resize width: 50
@render()
Sweet! Thanks. Will give it a go now :)
Thanks for adding this hug ^_^
It would be nice if CamanJS would provide crop and resize functionalities, nothing fancy just a wrapper around canvas drawImage.