ofPixelUtils

ofPixelUtils methods

crop(...)

void ofPixelUtils::crop(ofPixels &pix, int x, int y, int width, int height)

cropFromTo(...)

void ofPixelUtils::cropFromTo(ofPixels &frompix, ofPixels &topix, int x, int y, int width, int height)

rotate90(...)

void ofPixelUtils::rotate90(ofPixels &pix, int nClockwiseRotations)

mirror(...)

void ofPixelUtils::mirror(ofPixels &pix, bool vertically, bool horizontal)

resize(...)

bool ofPixelUtils::resize(ofPixels &pix, int dstWidth, int dstHeight, ofInterpolationMethod interpMethod=OF_INTERPOLATE_NEAREST_NEIGHBOR)

resize(...)

bool ofPixelUtils::resize(ofPixels &pix, ofPixels &dst, ofInterpolationMethod interpMethod=OF_INTERPOLATE_NEAREST_NEIGHBOR)