-
Notifications
You must be signed in to change notification settings - Fork 96
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 Contents]: Image Representation & storing format #82
Conversation
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the unnecessary line-breaks wherever required.
- As most of the time, representation | ||
|
||
refers to the way that brings information, such as color is coded digitally, | ||
|
||
and how the image is stored, i.e., how an image file is structured. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary linebreaks
A pixel includes its own:- | ||
|
||
● Intensity | ||
|
||
● Name or Address | ||
|
||
The size of the image is defined as the total number of pixels in the horizontal direction times the total | ||
|
||
number of pixels in the vertical direction. For eg: (512 x 512,640 x 480, or 1024 x 768). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unnecessary line breaks.
Changes made : - Removed the unnecessary linebreak wherever required. - Seperated types of images from "some important terminologies" topic
Linebreaks have been removed and topic has been renamed as suggested. |
@ChinmayMundane, kindly follow the file structure as defined on the |
- Added proper path to asset images - added correct command for run without make
File structure has been modified, please check if its correct. |
This solves the issue #59
includes :