ofxThermalPrinter
ofxThermalPrinter copied to clipboard
getPixelsRef() has changed into getPixels()
I think that line 220 of ofxThermalPrinter.cpp should be :
// print(_img.getPixelsRef(),_threshold);
print(_img.getPixels(),_threshold);
getPixelsRef is deprecated: line 409 in ofImage.cpp :
/// \returns An ofPixels reference that you can use to manipulate the raw pixel data of the ofImage.
OF_DEPRECATED_MSG("Use getPixels() instead ", ofPixels_<PixelType> & getPixelsRef());
OF_DEPRECATED_MSG("Use getPixels() instead ", const ofPixels_<PixelType> & getPixelsRef() const);
It worked with the change for me.