I adjusted the final image size to be a multiple of 4, then it’s ok
but my final end ratio is not 1:1, it’s dynamic… how to achieve this?
Just adjust the 256 values to whatever you want but make sure they are multiple of 4. BTW I have no idea if this will fix the problem.
I thought it’s ok, but after a few days observations, some of the pictures still have artifact edges… although I have adjusted the final size to be a multiple of 4 pixels…
Thanks a lot, this was really useful for me right now
I found the artifacts edges might appear/disappear when using different devices
I am using “ZoomEven”
I am wondering if the final size has to be calculated with something else, like the viewable height/width
Try the modification I mention above:
[lua]
local endWidth = 256 * display.contentScaleX
local endHeight = 256 * display.contentScaleY
[/lua]
Then rescale the resulting image.
but my final end ratio is not 1:1, it’s dynamic… how to achieve this?
Just adjust the 256 values to whatever you want but make sure they are multiple of 4. BTW I have no idea if this will fix the problem.