Skip to content

Instantly share code, notes, and snippets.

@roxlu

roxlu/test.cpp Secret

Created July 7, 2011 21:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roxlu/952bd35591dc0cb23f61 to your computer and use it in GitHub Desktop.
Save roxlu/952bd35591dc0cb23f61 to your computer and use it in GitHub Desktop.
if(!my_img.loadImage("http://www.roxlu.com/assets/downloads/freakday.png")) {
ofLog(OF_LOG_ERROR, "Error while loading image");
}
my_img.resize(100,100);
my_img.saveImage("thumb.gif");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment