-
Notifications
You must be signed in to change notification settings - Fork 119
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
The GraphicOverlay width changes when trying to save the LensEnginePreview as Bitmap #76
Comments
Could you show me your code? The possible cause is that the value range should be 0-255.We've done some post-processing on the images.Please carefully find the relevant code in the project. |
@SoftwareGift thank you for your comment, please let me explain the whole scenario, because there's no way to record the video (record what happen inside The issue, is related to the Bitmap inside Regarding the code : I've tried to use the same code in the Gesture-Change-Background and the same issue happened. View to Bitmap (Using Kotlin KTX) :
View to Bitmap :
please use one of the above code in the Gesture-Change-Background project, and you will see what I'm talking about. Thank you |
The pixel value of the image ranges from 0 to 255. You can write the bitmap value to a txt file and see if the value is the same as you expected. |
I've managed to fix this issue, thank you |
Hi, I'm using the Gesture-Change-Background as a main source on my project, but I ran into a problem, when I try to save the
LensEnginePreview
asBitmap
, theGraphicOverlay
image width changes :Why this happening?
The text was updated successfully, but these errors were encountered: