summaryrefslogtreecommitdiff
path: root/stegmp.c
AgeCommit message (Collapse)Author
2014-09-17split the reading and writing featuresOlivier Gayot
stegmp() now receives a file handler as second argument. if this one is non-null, then it is the file from which we need to read the input and write it back to the bitmap. if it is null, then we need to read from the bitmap and display back the data on the standard output Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
2014-09-17reader: read and parse a BMP headersOlivier Gayot
we retrieve valuable information such as the data offset, the width and the height of the picture which path is passed as parameter. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>