牛卧堂MCU技术交流

标题: How to convert image file to binary file [打印本页]

作者: yli    时间: 2020-4-23 10:39
标题: How to convert image file to binary file
Utilize FFmpeg in Windows:

FFmpeg official website: https://ffmpeg.org/about.html

Zeranoe FFmpeg Windows build official website: https://ffmpeg.zeranoe.com/builds/

FFmpeg Windows download link: https://ffmpeg.zeranoe.com/builds/

Usage:
In Windows command line:
C:\> ffmpeg.exe -y -hide_banner -i qvga_logo.bmp -c:v rawvideo -f rawvideo -pix_fmt rgb565 qvga_logo.rgb

“qvga_logo.bmp” is the input image. (a 320x240 image file)
“qvga_logo.rgb” is the output binary. (rgb565 color format)





欢迎光临 牛卧堂MCU技术交流 (http://nuvoton-mcu.com/) Powered by Discuz! X3.2