heavyside/refractiveindex — Issue #3: image allocations
Author: heavyside
Created: 2011-11-16 00:51:24+00:00
State: open

getting occasional warnings / errors when writing images to file - as we're not properly using...?

http://www.openframeworks.cc/documentation?detail=ofImage#ofImage-allocate

allocate(...) ofImage::allocate syntax allocate(int w, int h, int type) description This function allocates an image of width (w) and height (h). The type can be of three types: OF_IMAGE_GRAYSCALE, OF_IMAGE_COLOR, OF_IMAGE_COLOR_ALPHA. You don't need to call this before loading an image, but for when you want to allocate space ahead of when you are going to use the image. version started 0.01