Pixels_Seminar icon indicating copy to clipboard operation
Pixels_Seminar copied to clipboard

Add Content: Image Storing Formats.

Open amanchhaparia opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. As discussed in the thread, It is important to have a familiarity of how images are store.

Describe the solution you'd like

  • Add the theory of basic image storing formats such as .bmp, .tiff, .jpg, png etc.
  • Implement a .cpp file on how image can be read from the bmp format.
    • Consider only 8 bit grayscale BitMap image (Since they are easy to read and contains only 2D form of data).
    • Use simple posix read() api to read the image bitmap file.
    • Directly storing the values of various attributes of image in struct is suggested.
  • A similar example can be added to demonstrate how to edit/write a grayscale bitmap image.
  • Add a Makefile to compile and build the executable.
  • Add a .md file explaining the theory and instructions to build and run the executables.

Note: Content is not finalised and open for discussion.

amanchhaparia avatar Sep 06 '22 17:09 amanchhaparia

For reading and writing of images from scratch it is recommended to go with Grayscale (8bit) BMP image, since it consists of only 2D array data.

gautam-dev-maker avatar Sep 13 '22 20:09 gautam-dev-maker

@gautam-dev-maker , The goals of this issue have been updated as per your suggestion! If there are any other suggestions, feel free to share.

amanchhaparia avatar Sep 14 '22 04:09 amanchhaparia

I would like to work on this issue.

ChinmayMundane avatar Feb 14 '23 10:02 ChinmayMundane