-
Notifications
You must be signed in to change notification settings - Fork 160
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
problem with dimension!, very big size compared to the original #251
Comments
Are you sure it's not due to the fact the phone have a pixel ratio that multiplies the surface's point dimension 🤔 |
@gre Is there a way to override the device's pixel ratio with the react native surface? It looks like the PixelRatio prop is only available for the react DOM surface. I want to capture the surface and maintain the original image dimensions, but for larger images the screen is too small to show a large enough surface. I want to maintain the original dimensions because I need to maintain the printing quality of these images. As a workaround I am currently rendering a second, off-screen surface with the appropriate dimensions. This seems to work well enough, but I do have concerns about the performance potentially dropping off with multiple canvases updating at the same time. Thanks! |
Hello friends, I'm having problems at the moment of capturing the change made with a selected filter, the dimensions of the new image are much bigger than the original..
onPress={() => this.saveFilters()
I don't understand why the resulting dimensions are so much larger than the original dimensions,
How can I keep the dimension of the original image?, just in case I leave the code of Valencia.js
https://github.com/beqaweb/gl-react-native-filters/blob/master/filters/Valencia.js
The text was updated successfully, but these errors were encountered: