We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The current bmp_img_read function only supports 24 bit uncompressed BMP.
Some code like
if ((img->img_header.biBitCount != 24) || (img->img_header.biCompression != 0)){ printf("format is not 24bit uncompressed\n"); fclose (img_file); return BMP_ERROR; }
will be helpful to avoid errors and give user an idea about the error.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The current bmp_img_read function only supports 24 bit uncompressed BMP.
Some code like
will be helpful to avoid errors and give user an idea about the error.
The text was updated successfully, but these errors were encountered: