Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Camera] Allow setting of capture resolution #33

Open
DelphiWorlds opened this issue Dec 15, 2020 · 1 comment
Open

[Camera] Allow setting of capture resolution #33

DelphiWorlds opened this issue Dec 15, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@DelphiWorlds
Copy link
Owner

As per title, add ability to set resolution of captured images

@DelphiWorlds DelphiWorlds added the enhancement New feature or request label Dec 15, 2020
@DelphiWorlds DelphiWorlds self-assigned this Dec 15, 2020
@limadavi
Copy link

To save the image with a fixed resolution I am doing the following:
ImageViewer.Bitmap.LoadFromStream (FCameraView.ImageStream);
PHOTO: = ImageViewer.Bitmap;
PHOTO.Resize (1024,1024);
This worked for my app.

I take the captured image, add it in an ImageView to facilitate the user's visualization, but to save it I add the image in a TBitmap type variable, then I configure Resize to the size I need and save the image in the app's database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants