Problem about displaying a RGB565 framebuffer raw file
Posted: 2015-07-18T03:35:33-07:00
Hi,
I'm currently doing a project about framebuffer displaying stuff. I need to get screenshot and cat the /dev/fb2 (which is for HDMI fb in my case) to a test.raw. It works when I cat back to fb2 but not working if I use the following command to display it on my linux machine.
display -size 1440x1080 -depth 16 rgb:test.raw
It displays something, BUT, it is a disordered image which sampled each side with several copies and mixing to each other. I'm quite confused if some parameter is wrong to set. Could anyone help me? Thanks a lot!
Regards,
Han
I'm currently doing a project about framebuffer displaying stuff. I need to get screenshot and cat the /dev/fb2 (which is for HDMI fb in my case) to a test.raw. It works when I cat back to fb2 but not working if I use the following command to display it on my linux machine.
display -size 1440x1080 -depth 16 rgb:test.raw
It displays something, BUT, it is a disordered image which sampled each side with several copies and mixing to each other. I'm quite confused if some parameter is wrong to set. Could anyone help me? Thanks a lot!
Regards,
Han