This is the cpp file that does all the work in this little app. There are 2 ways to make bitmaps.
1) Press spacebar and select an image from your computer. It will display in the window and you can press 's' to save it. This is nice but you can only make 1 Bitmap at a time. So we also developed option 2...
2) You can also create bitmaps from every image in a folder. Change the lines near the top of the file:
directoryName = "/Users/samfriedman/Pictures/small/"; newFileName = "tl_";
Change the directoryName path to point to the folder with images that you want to make bitmaps from. The bitmaps will be numbered and have the prefix of the variable newFileName, so you may want to adjust that variable as well. Re-compile the project, run it and press 'd'.
#include "ofApp.h"//--------------------------------------------------------------void ofApp::setup(){ofSetLogLevel(OF_LOG_VERBOSE);directoryName = "/Users/samfriedman/Pictures/small/"; newFileName = "tl_";}//--------------------------------------------------------------void ofApp::update(){}//--------------------------------------------------------------void ofApp::draw(){ofDrawBitmapString("Press spacebar to open an image, \"s\" to save the processed output", 20, 15);for (unsigned int i=0; i