How to convert image file to binary file

Post Reply
9chuckyoung
Posts: 9
Joined: 28 Jan 2019, 13:49

29 Mar 2019, 17:24

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)

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests