openframeworks-图像-中文程序.ppt

bool loadImage(string filename) bool loadImage(const ofBuffer buffer) bool loadImage(const ofFile file) 图像加载方法 void saveImage(string filename, ofImageQualityType comp = OF_IMAGE_QUALITY_BEST) void saveImage(ofBuffer buffer, ofImageQualityType comp = OF_IMAGE_QUALITY_BEST) void saveImage(const ofFile file, ofImageQualityType comp = OF_IMAGE_QUALITY_BEST) 图像保存方法 ofImage概括总结 ofImage概括总结 void setCompression(ofTexCompression compression) 纹理压缩操作Texture compression ofColor_PixelType getColor(int x, int y) PixelType* getPixels() ofPixels_PixelType getPixelsRef() 得到相关像素Get pixels 常见图像操作方法 void setColor

文档评论(0)

1亿VIP精品文档

相关文档