コード例 #1
0
void ofImage_<PixelType>::setImageType(ofImageType newType){
	changeTypeOfPixels(pixels, newType);
	update();
}
コード例 #2
0
ファイル: ofImage.cpp プロジェクト: andyli/openFrameworks
//------------------------------------
void ofImage::setImageType(int newType){
	changeTypeOfPixels(myPixels, newType);
	update();
}