Closed chab closed 9 years ago
Thanks for the PR! I like this, but I think it's too specific to be useful as a library function. The rectangle size and position isn't configurable, and I think that doing that might add considerable bloat. The result is that you set the rectangle position and then have to tell the user to put their face in the right bit.
What I would like to do is have a set of examples, ones you can copy into your project, that show you how to grab a snapshot and then let the user crop it into a smaller square shaped image. It's not part of the library, but you can see how to do this sort of thing :)
Hello,
Thanks for your lib. We've adapted it a bit with "options.centered" to suit our need to make avatar square snapshots. If you're interested in this option, feel free to ask for modifications and/or improvements. Or not :)
Thanks! Chab