/*
*Madison Noyce
*11/17/22
*Lab Section 1011-007
*Lab 11
*This program will take pixels from a source and send them along with an
*image header to an outside source such as Gimp but in a smaller size with
*file pointers.
*/

#include "defs.h"

//This sends the header info to the outside source.
void writeHeader(headerInfo Header, FILE *outFile) {
	fprintf(outFile, "%s\n%d %d %d\n", Header.type, (Header.width/2),
        (Header.height/2), Header.maxColor);

}
