my project is to read bmp picture and to take the parmerter of hieght and print it,when im trying to do this file and my output is wrong,i dont know why
my code:
Code:
struct BitMap
{
    int Bits;
    int Size;
    int Width;
    int Height;
    
} Header;

    FILE *BMPFile;    fopen_s(&BMPFile,"pic.bmp", "r");
    memset(&Header, 0, sizeof(Header));


    fread(&Header.Size, 4, 1, BMPFile);
    fread(&Header.Width, 4, 1, BMPFile);
    fread(&Header.Height, 4, 1, BMPFile);


    printf("biSize:%d\n", Header.Size);
    printf("Width:%d\n", Header.Width);
    printf("Height:%d\n", Header.Height);
    fclose(BMPFile);
my output is :
biSize:2066632002
Width:25
Height:3538944

what am i doing wrong ?