How to control image resolution (size) when using TakePhotoFromCameraAction (FMX.MediaLibrary.Actions) in FireMonkey?


On both Android & iOS, I am successfully using TTakePhotoFromCameraAction in FMX to save photos taken by the user into a TImage.
When using TTakePhotoFromCameraAction, can I control the resolution (ultimately the size in bytes) of the photo that’s taken? If so, how?
What is the best way to "post process" the resultant TImage to achieve a reduction in size? I ask this because I may need this functionality anyway if I am to begin using TTakePhotoFromLibraryAction to allow a user to choose an existing photo from their gallery.
I do need a solution that will work with both Android & iOS, please.
I am currently using Delphi 10.4.2 Sydney

Comments are closed.