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)
|