top left wtf
scale width and height separately (better precision for large images)