I face a runtime error when converting a bmp file to .h using bmpToRaster tool provided in starterware.
I enter the following command (that provided in readme).
./a.out <No.of ROWS> <No.of Columns> <Source File Name> <Destination File name> <image format required 565/24><pixel odering RGB/BGR>
Error happens when I select image format = 565. The error is "segmentation error".
It works fine if I select 24.
I suspect is some alignment error.
Please advise
Thanks!