Create a small Go program that can read a bitmap image file and extract its dimensions (height and width). ### Requirements: - [x] Use only the Go standard library - [x] Support at least the basic BMP file format - [x] Read the image file from disk - [x] Extract the height and width from the BMP header - [x] Print the dimensions to stdout ### Optional: - [ ] Accept the image file path as a command-line argument Sample BMP: https://filesampleshub.com/download/image/bmp/sample1.bmp
Create a small Go program that can read a bitmap image file and extract its dimensions (height and width).
Requirements:
Optional:
Sample BMP: https://filesampleshub.com/download/image/bmp/sample1.bmp