Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change processing image dimension in GPUImage #1499

Closed
SrinivasPeriyasamy opened this issue Apr 4, 2014 · 2 comments
Closed

How to change processing image dimension in GPUImage #1499

SrinivasPeriyasamy opened this issue Apr 4, 2014 · 2 comments

Comments

@SrinivasPeriyasamy
Copy link

I'm tired to capture an image from GPUImageStillCamera and I got an image which has dimension 2592 X 1936 and 5.1 MB in size(and the image taken in iPad mini). This is too large(for my app). How to reduce the image dimension while capturing an image?

@BradLarson
Copy link
Owner

Set -forceProcessingAtSize: on the first filter after your camera. You can set it back to 0 (unrestricted) after the photo has been captured.

@SrinivasPeriyasamy
Copy link
Author

Thank you Brad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants