You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using the BeforeAfter image in my project. I came across a bug.
It is reproducible.
The after image stretched on my test phone.
My phone is: Samsung Galaxy A5
Android: 8.0.0
Activity
SmartToolFactory commentedon Nov 5, 2022
Hi Cüneyt. I don't have the device you experience the issue. Would you mind sending or debugging
dstSize, dstOffset, and Canvas size might be leading to incorrect calculations?
Cutta commentedon Nov 7, 2022
Hi again, thank you for replying.
The variable values are like that for my case.
bitmapWidth = 1224
bitmapHeight = 1632
canvasWidth = 756.0
canvasHeight = 1008.0
srcOffsetX = 612
dstOffsetX = 378
srcOffset = 612,0
dstSize = 756x1008
dstOffset = 378,0