Closed efalco777 closed 1 month ago
Thanks for reporting this issue with all the details.
It appears that problem happens because the export targetSize from the sticker isn't correct. Actually, I thought I just make sure the pixelratio will be correct and let the sticker fit to that box size again after we imported it, but seems like that didn't work as wanted. However, I replaced the part here with this part:
Size targetSize = Size(imageWidth, imageWidth);
I used your sample code and in my case everything is working fine now. The problem is that I don't have enough time to test it if it reduces the quality of a sticker when it is an image, so in the case you have time, I would appreciate it if you can test it if everything works fine by you. After your feedback or after I find time to test it by myself and everything is okay, I will release it.
This issue is stale because it has been open for 14 days with no activity.
This issue was closed because it has been inactive for 5 days since being marked as stale.
Package Version
4.3.0
Flutter Version
3.22.2
Platforms
Android, iOS
How to reproduce?
(using example code I provided) Steps:
Expected: Sticker is in the same place with the same size
Actual: Sticker is in the same place but cropped vertically.
Video: https://github.com/user-attachments/assets/a0f925dc-1b2c-4b44-9d36-b3eb00bc334b
Logs (optional)
No response
Example code (optional)
Device Model (optional)
iPhone 15