ofImagefile
ofImage is used for loading, saving and drawing images in openFrameworks. ofImage is a convenient class that lets you both draw images to the screen and manipulate their pixel data. The ofImage allows you to load an image from disk, manipulate the pixels, and create an OpenGL texture that you can display and manipulate on the graphics card. Loading a file into the ofImage allocates an ofPixels object and creates the ofTexture to display the pixels.
ofImage_class
template<typename PixelType>
class ofImage_< PixelType >
A class representing an image using memory and gpu based pixels.
- Template Parameters
-
PixelType The data type used to represent a single pixel value.
Image Construction
Drawing
draw
()
Texture
Pixel Setters
Anchor
Operators
operator=
()
Functions
draw
()