Image aspect ratio stretching on different devices
Posted: Thu Oct 29, 2015 3:20 pm
Hi,
Quick question.. The app I'm writing displays a dynamic image on a card. The actual image size is 290 x 290px and the image area on the card is the same size.
On an iPhone4 the image looks fine, but as soon as I look at it on an iPhone5+ the image stretches vertically slightly and looks more like a lozenge then a circle.
Is there a way to force the image to display correctly, or do I need to do some mathematical chicanery to get it to look right?
TIA
Chris
Quick question.. The app I'm writing displays a dynamic image on a card. The actual image size is 290 x 290px and the image area on the card is the same size.
On an iPhone4 the image looks fine, but as soon as I look at it on an iPhone5+ the image stretches vertically slightly and looks more like a lozenge then a circle.
Is there a way to force the image to display correctly, or do I need to do some mathematical chicanery to get it to look right?
TIA
Chris