CSC151 2007S, Class 38: Storing Images as Simple Pixel Maps Admin: * Reading for Monday: Pixmaps, Revisited. * Assignment for Tuesday: Assignment 13: Storing Object-Based Drawings. * EMAIL ME WHEN THE DAMN LINKS DON'T WORK * Our favorite activity: Ask Prospies stupid questions and hear stupid answers * Why are you visiting Grinnell? * See what the College is like * Is Iowa really as scary as it sounds? * * Why might you worry about visiting Iowa? * It can be *very* cold * The dogs are really smart, and will shoot you if necessary * There's open space not filled by people * Why come to Grinnell or Iowa vs. * It's not only cold, it's cool * Everyone is nice in Iowa * Because they have really good donuts * Faculty wear giant Tigger suits WITH academic regalia * Disclaimer: Tigger is probably a registered trademark of a company represented by three circles. * Meet presidential candidates * Awesomely good sciences * And you can take stuff that's not science * Professors are accesible Overview: * Storing images. * Storing colors. * Storing images, revisited. * Make sure you get through problem 4 on the files lab * Lab /Question/ * You have an image * You want to write the code to save it to a file * What might that code look like? * What would help you write that code? * File operations: open-output-file write newline close-output-port * Pixel operations * Write each pixel to the file one by one /Reflection/