Home > Mobile >  How hardware camera capture android programming, JPG format images are converted into BMP, and thus
How hardware camera capture android programming, JPG format images are converted into BMP, and thus

Time:10-31

There are two main q.1 how convert JPG to BMP android
2. The display cache can not get a stored image?

For help, there is a project to use camera to capture the real-time image processing on the image in the android mobile phone, but camera can only save the pg format, need to be converted into BMP format to deal with, want to ask how to do, is there any specific demo case

CodePudding user response:

A pile of third-party libraries available

CodePudding user response:

reference 1st floor jzp12 response:
a heap of third-party libraries available
can you explain it specifically? The search on the net, can not use

CodePudding user response:

This is JPG PNG, modify the compress format can
https://www.worldbestlearningcenter.com/tips/Android-convert-jpg-image-to-png.htm

Holds the idea to use the NDK, more libraries available
Understand the stb_image/stb_image_write

CodePudding user response:

reference jzp12 reply: 3/f
this is JPG PNG, modify the compress format can
https://www.worldbestlearningcenter.com/tips/Android-convert-jpg-image-to-png.htm

Holds the idea to use the NDK, more libraries available
Understand the stb_image/stb_image_write
ok thank you
  • Related