這是我的代碼。我想知道如何「正確地」讀取BMP文件,然後讀取標題值而不強制結構被打包。 typedef struct __attribute__((packed)){
uint8_t magic[2]; /* the magic number used to identify the BMP file:
0x42 0x4D (Hex code points for B and
需要幫助請!使用「」抽繩,電子圖形「節省圖片」 Protected Overrides Sub OnPaint(ByVal e As PaintEventArgs)
Dim Bmp As New Bitmap(Width, Height)
Dim objBitmap As New Bitmap(Width, Height)
objBitmap.Save("c:\P