/*
Jeff Branyon
November 13, 2022
Section 4
Lab 10A
This program reads in the pixels of an image, then prints that same image back
out to a new file. 
This file contains the function for writing the header data to stdout.
*/

#include "defs.h"

// This function inputs the type, width, height, and max color of the header,
// writes the header to the new image file, and returns nothing.
	void writeHeader(header_t h1) {

		fprintf(stdout, "%s\n%i %i %i\n", h1.type, h1.width, h1.height, 
				h1.maxColor);

	}