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
Les BMPs sont différents des PGM, il faut concevoir la structures qui va représenter en mémoire un BMP
The text was updated successfully, but these errors were encountered:
Pour lecture de la taille width et height
bmp->height = 0x0000; bmp->width = 0x0000; int i; for(i = 0; i < 4; ++i) { bmp->width = bmp->width << 8; bmp->width += bmp->biWidth[i]; bmp->height = bmp->height << 8; bmp->height += bmp->biHeight[i]; }
Les données sont dans les table biWidth et biHeight on prend donc la valeur binaire de la première case, puis on la décale de 8 bits, etc....
Sorry, something went wrong.
Hagbuck
No branches or pull requests
Les BMPs sont différents des PGM, il faut concevoir la structures qui va représenter en mémoire un BMP
The text was updated successfully, but these errors were encountered: