Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Camera Feed Aspect Ratio
Started by AidanWolf Dec 19 2015 10:45 AM

1 reply to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

AidanWolf

[GLOBAL: userInfoPane.html]
AidanWolf
  • Enthusiast

  • 92 posts
  • Corona SDK

Any way to pull the camera resolution/ratio from the system? iPhones are 4:3 (480 x 640) but the iPad has a different resolution. Limited ability to predict resolution leads to stretched camera feeds.

 

Thank you.



[TOPIC: post.html]
#2

JonPM

[GLOBAL: userInfoPane.html]
JonPM
  • Corona Geek

  • 1,077 posts
  • Corona SDK

If just for iOS why not check which device the app is running on then use the appropriate aspect ratio?




[topic_controls]
[/topic_controls]