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

Can we save jpg or png instead of bmp ? #44

Closed
kumar-ashish1 opened this issue Apr 1, 2022 · 1 comment
Closed

Can we save jpg or png instead of bmp ? #44

kumar-ashish1 opened this issue Apr 1, 2022 · 1 comment

Comments

@kumar-ashish1
Copy link

kumar-ashish1 commented Apr 1, 2022

Hi, can we save jpg or png instead of bmp ?

@kumar-ashish1 kumar-ashish1 changed the title Trying to display image_buffer on oled display Can we save jpg or png instead of bmp ? Apr 6, 2022
@brianrho
Copy link
Owner

brianrho commented Jul 2, 2022

What you receive from the sensor is mostly-uncompressed raster -- every pixel of the image described in 8-bit grayscale. BMP was chosen as the output format because it's convenient, being a popular raster format. You can convert the BMP image to any format of your choosing afterwards.

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