Problem with camera resolution in app

Member
Posts: 24
Joined: 2008.11
Post: #1
Hello!

I use UIImagePickerControllerSourceTypeCamera in my application. But i want the camera to take a picture that is 320*480 pixels. When i use the camera the resolution is too high and wrong proportions. I can't use the full height of the image.

Someone who knows how to fix this?
So the camera takes a picture that is 320*480.

Thanks in advance!
Quote this message in a reply
Moderator
Posts: 133
Joined: 2008.05
Post: #2
Just resize it
Quote this message in a reply
Member
Posts: 24
Joined: 2008.11
Post: #3
longjumper Wrote:Just resize it

What do you mean?
How do I do that?
Quote this message in a reply
Member
Posts: 24
Joined: 2008.11
Post: #4
bump this thread
Quote this message in a reply
Moderator
Posts: 1,562
Joined: 2003.10
Post: #5
Scale the image down after capturing it. Consult the appropriate image API documentation to find out how.
Quote this message in a reply
Member
Posts: 24
Joined: 2008.11
Post: #6
ThemsAllTook Wrote:Scale the image down after capturing it. Consult the appropriate image API documentation to find out how.

But how can i make the camera to take a picture with correct proportions? The camera takes a square picture so that the image has to high resolution isn't the only problem.
Quote this message in a reply
Member
Posts: 227
Joined: 2008.08
Post: #7
You'll have to clip parts of it off.
Quote this message in a reply
DoG
Moderator
Posts: 869
Joined: 2003.01
Post: #8
The camera does not take square pictures. It takes 4:3 format pictures.
Quote this message in a reply
Member
Posts: 24
Joined: 2008.11
Post: #9
DoG Wrote:The camera does not take square pictures. It takes 4:3 format pictures.

Okay, bot how can i change that to the correct ratio?
Quote this message in a reply
Member
Posts: 24
Joined: 2008.11
Post: #10
No one who knows?
Quote this message in a reply
Moderator
Posts: 1,562
Joined: 2003.10
Post Reply