Bug in Scaling - Wrong aspect ratio Pranav Trehun from United States [32 posts]
2 months
Buy the Rovio Wi-Fi Enabled Robot from Trossen Robotics
Hi,
I have noticed a bug in the scaling. If I choose "maintain aspect ratio" and slide use the up/down arrows to set a image width of 320 , the aspect ratio is calculated to be 320x262 instead of 320x260.
This usually doesnt make a difference in robo realm, but if an API is used, the pixel calculations will go off.
What is the original resolution of the image that you are resizing? We checked that maintain aspect and it appears to transform a 640x520 image to 320x260 correctly. Perhaps you are using a larger/smaller image?