Jump to content
Sign in to follow this  
KJ04

TTakePhotoFromCameraAction: Result Image resolution is lower, than expected

Recommended Posts

Hello,


I am using the following technique to make photos with an Android device:
https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Taking_and_Sharing_Pictures_and_Text_Using_Action_Lists

 

I'm currently testing on Android 9 and 12. On both, I receive lower-quality images, than the device can and is set to make. (The resulting Image:TBitmap in the DidFinishTaking procedure.)

For example with my Android 9 device when I take the photo, there is a little slip after the capture, and the quality is scaled down by 4 from what it should be. The result is around 800*1000, which is low for me for the usage. It seems, that maybe I get the result only from one camera lens.
With my Android 12, I get exactly 3000x4000, which is okay, but it should be even higher.


The MaxWidth and MaxHeight parameters are set to 8192.

I'm currently using 11.0 Delphi.

 

Can anyone help me get better photo resolutions?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×