question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bad quality of image in Node/Surface

See original GitHub issue

Hello, @gre !

bug report

gl-react/next + gl-react-native/next

cookbookrn@0.0.1
├── gl-react@3.0.0-alpha.6 
└── gl-react-native@3.0.0-alpha.6

Expected behavior

Asset has good quality (as if I put it in <Image />)

Actual behavior

Bad quality - blurry image

Steps to reproduce the behavior

Download cookbook-rn, run example “Saturation”.


Original image:

utp9xfr

Left - image in the app Right - original image in Preview screen shot 2017-04-03 at 10 16 55

Is it possible to improve quality of image in Surface?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:20 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
nikki93commented, Apr 10, 2017

Awesome!!! Yeah the MSAA code makes a separate framebuffer and does https://www.khronos.org/registry/OpenGL/extensions/APPLE/APPLE_framebuffer_multisample.txt on it. We can’t use GLView I think and need a custom framebuffer cuz GLView doesn’t support readPixels(...).

0reactions
AlishahSolankicommented, Jan 31, 2020

@kesha-antonov @gre @nikki93

i am also trying to implement something like that but issue is that it capture image with 2x of size of surface size which is (460x300) in iPhone 11 simulator and actual size of image is (3000x2000)

i need image back with actual size after applying filter.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Image Size Quality is Bad #1892 - Automattic/node-canvas
Can you guys advice me : my problem #1 - > i am using small image ... it generate me image is with...
Read more >
Node.js - Detecting Image Optimization - Stack Overflow
The issue I have is that some users optimize images before uploading. If an image has already been optimized I don't want to...
Read more >
Turn off picture compression - Microsoft Support
Turning off picture compression improves picture quality, but uncompressed pictures could result in very large file sizes. Note: The steps to turn off ......
Read more >
Strange surface of my height map using displacement node
It is possible to get rid of it or I have just bad quality height map (DEM)? I'll be glad for any advice....
Read more >
How to Inspect Your Mesh in COMSOL Multiphysics
When this happens, we should inspect the entities listed in the accompanied Information, Warning, and Error nodes. Many messages are caused by using...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found