void ofPixels_<PixelType>::setFromExternalPixels(PixelType * newPixels,int w, int h, int channels){ setFromExternalPixels(newPixels,w,h,pixelFormatFromNumChannels(channels)); }
void ofPixels::setFromExternalPixels(unsigned char * newPixels,int w, int h, int bitsPerPixel){ ofImageType type = getImageTypeFromBits(bitsPerPixel); setFromExternalPixels(newPixels,w,h,type); }