I’ve taken my ofImage modifications and packaged them as an addon - ofxImage.
mirror - mirror the image pixels horizontally and/or vertically
rotate - rotate the image pixels by an arbitrary angle
getFileName - get the fileName the image was loaded or saved to
setFileName - set a fileName that the image will load or save to
loadImage - loads the image, and stores fileName OR if fileName parameter is omitted, loads the image from fileName set with setFileName
saveImage - saves the image, and stores fileName OR if fileName parameter is omitted, saves the image to fileName set with setFileName
It is available for download (example included) at:
Tested with openFrameworks 0061.