Skip to content
This repository was archived by the owner on Sep 26, 2021. It is now read-only.

Conversation

@csolallo
Copy link

...want to resize (useful for iPad screen shots).

@beekerstudios
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants