Open csolallo opened 10 years ago
I'm not 100% sure how to show it, but I added the ability to scale the output screenshot, by using the last parameter in: UIGraphicsBeginImageContextWithOptions(imageRect.size, NO, [scale floatValue]) and then exposing another variable within the javascript side of the plugin. Works like a dream. I am pushing up the screenshots, and they were just unnecessarily too large for my purposes, and causing issues on some older devices, still running iOS 7+, as I know that call is only available on iOS4+. If anyone knows of a negative aspect of doing this, I'd love to mitigate that now. Only posting on this pull request since it's related, and could be a more straightforward approach to adding scale functionality.
...want to resize (useful for iPad screen shots).