just added some comments to our windows save-out issue... this has david's new RelaxRate code
This commit is contained in:
parent
ff7d3b6476
commit
81f37f8274
@ -170,10 +170,12 @@ void AbstractAnalysis::saveImageSynthesis(string filename, ofxCvImage* newPixels
|
||||
myGrayImage1.setUseTexture(false);
|
||||
|
||||
// THIS IS HOW YOU HAVE TO SAVE OUT THE GREYSCALE IMAGES on WINDOWS FOR SOME REASON --> i.e.: as an OF_IMAGE_COLOR
|
||||
myGrayImage1.setFromPixels(newPixels->getPixels(), newPixels->getWidth(), newPixels->getHeight(), OF_IMAGE_COLOR);
|
||||
// But they don't save properly - they're spatially translated and generally f'd up
|
||||
myGrayImage1.setFromPixels(newPixels->getPixels(), newPixels->getWidth(), newPixels->getHeight());
|
||||
|
||||
// THIS DOESN' SEEM TO SAVE OUT IMAGES ON WINDOWS
|
||||
// THIS DOESN' SEEM TO SAVE OUT IMAGES AT ALL ON WINDOWS
|
||||
//myGrayImage1.setFromPixels(newPixels->getPixels(), newPixels->getWidth(), newPixels->getHeight(), OF_IMAGE_GRAYSCALE);
|
||||
|
||||
myGrayImage1.saveImage(_whole_file_path_synthesis+"/"+filename);
|
||||
myGrayImage1.clear();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user