Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD CONTENT] : Image representation and its storing formats #88

Merged
merged 13 commits into from
Mar 23, 2023

Conversation

ChinmayMundane
Copy link
Contributor

This solves #59
Includes:

  • A cpp file which reads and stored a 8 bit grayscale bitmap images and displays it, using sdl2 library.
  • Input images
  • makefile
  • Readme
  • Assets

ChinmayMundane and others added 13 commits March 21, 2023 16:58
includes : 
- cpp file containing the code to read from bitmap image and then store it to display, using sdl2 library
- images
- readme file explaining the theory
* Update Makefile to remove redundant "SDL2_image" linker flag
* Add proper implementation of SDL2 library to display correct
  size of image
* This commit resolves the bug wherein image was displayed inverted.
* Two seperate struct "BitMapFileHeader" and "BitMapInfoHeader" is
  created to store the file type data and image information data.
* README.md has been modified to include more info about the different
  blocks in the bitmap image namely file data type, image information
  data , color pallete and raw raster data.
Changes made :
- Removed the unnecessary linebreak wherever required.
- Seperated types of images from "some important terminologies" topic
- Added proper path to asset images
- added correct command for run without make
Co-authored-by: Gautam <gautamnagrawal@gmail.com>
@amanchhaparia amanchhaparia marked this pull request as ready for review March 23, 2023 14:45
@amanchhaparia amanchhaparia merged commit 98fa52f into SRA-VJTI:dev Mar 23, 2023
aPR0T0 pushed a commit to aPR0T0/Pixels_Seminar that referenced this pull request Mar 23, 2023
…I#88)

* Added content for image storing formats

includes : 
- cpp file containing the code to read from bitmap image and then store it to display, using sdl2 library
- images
- readme file explaining the theory

* Delete Image_storing_formats directory

* changed name convention according to the file structure

* fixed errors

* Solve display bug in image_representation

* Update Makefile to remove redundant "SDL2_image" linker flag
* Add proper implementation of SDL2 library to display correct
  size of image

* Solve the inverted image display bug

* This commit resolves the bug wherein image was displayed inverted.
* Two seperate struct "BitMapFileHeader" and "BitMapInfoHeader" is
  created to store the file type data and image information data.
* README.md has been modified to include more info about the different
  blocks in the bitmap image namely file data type, image information
  data , color pallete and raw raster data.

* Correct formating in the README.md

* Correct compiling commands in README.md

* modified readme format

Changes made :
- Removed the unnecessary linebreak wherever required.
- Seperated types of images from "some important terminologies" topic

* modified file structure

* updated readme

- Added proper path to asset images
- added correct command for run without make

* Delete assets/1_image_representation directory

---------

Co-authored-by: gautam-dev-maker <gautamnagrawal@gmail.com>
Khushi-Balia pushed a commit to Khushi-Balia/Pixels_Seminar that referenced this pull request Mar 28, 2023
…I#88)

* Added content for image storing formats

includes : 
- cpp file containing the code to read from bitmap image and then store it to display, using sdl2 library
- images
- readme file explaining the theory

* Delete Image_storing_formats directory

* changed name convention according to the file structure

* fixed errors

* Solve display bug in image_representation

* Update Makefile to remove redundant "SDL2_image" linker flag
* Add proper implementation of SDL2 library to display correct
  size of image

* Solve the inverted image display bug

* This commit resolves the bug wherein image was displayed inverted.
* Two seperate struct "BitMapFileHeader" and "BitMapInfoHeader" is
  created to store the file type data and image information data.
* README.md has been modified to include more info about the different
  blocks in the bitmap image namely file data type, image information
  data , color pallete and raw raster data.

* Correct formating in the README.md

* Correct compiling commands in README.md

* modified readme format

Changes made :
- Removed the unnecessary linebreak wherever required.
- Seperated types of images from "some important terminologies" topic

* modified file structure

* updated readme

- Added proper path to asset images
- added correct command for run without make

* Delete assets/1_image_representation directory

---------

Co-authored-by: gautam-dev-maker <gautamnagrawal@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants