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

Thumbnail support #10

Open
gshcherb opened this issue Apr 29, 2021 · 4 comments
Open

Thumbnail support #10

gshcherb opened this issue Apr 29, 2021 · 4 comments

Comments

@gshcherb
Copy link

Business requirement we have is to be able to pull down scaled down thumbnail for the image that camera holds, so that we can render previews for multiple images quickly without pulling the whole image down.

Since ondevice stitching is available now on Insta One X and Insta One X2 and we can assume image is ready and stored on the device, can we add the support for thumbnails?

Proposal is: when client is trying to pull URL which represents an image add optional ?thumb=true parameter to the query which triggers scaling down the image for some specific size, like 1024x512. Or add specific ?width=... parameter and calculate height according to aspect ratio on the camera before scaling it down.

@qizhiyu2018
Copy link

You can use SDK to do this.

@gshcherb
Copy link
Author

Can you please clarify how we can use SDK for this without pulling full res image from camera?

@gshcherb
Copy link
Author

gshcherb commented May 3, 2021

Can you please provide a code sample for this?

@qizhiyu2018
Copy link

Can you please provide a code sample for this?

You can ask here https://github.com/Insta360Develop/CameraSDK-Android/issues

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

No branches or pull requests

2 participants