Skip to content

Extract Height and Width from Bitmap Image - Rawan #321

@RawanMostafa08

Description

@RawanMostafa08

Create a small Go program that can read a bitmap image file and extract its dimensions (height and width).

Requirements:

  • Use only the Go standard library
  • Support at least the basic BMP file format
  • Read the image file from disk
  • Extract the height and width from the BMP header
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions