Estia-1a / projetGenieInfo_public

This is the main repository for the Estia First Year Computer Science Project
MIT License
1 stars 2 forks source link
c educational-project

projetGenieInfo_public

This repository contains all about the projet Genie Informatique but :

Wiki

The wiki contains the information about the project for the students

Image Data Structure

To manipulate image, you will have to use an 'unsigned char *' which points to the pixel data. The pixel data consists of HEIGHT lines of WIDTH pixels, with each pixel consisting of N components. In our case, we will use N = 3 for RGB components. The first pixel pointed to is top-left-most in the image.

Data is stored in an unsigned char buffer in row-order of a (WIDTH HEIGHT N) size.

You have to use predefined functions to read and write images.

int read_image_data(const char *filename, unsigned char **data, int *width, int *height, int *nbChannels);
int write_image_data(const char *filename, unsigned char *data, int width, int height);

Issues

Issues are used by :

Contribute