How to load and dispaly images properly?

Hello, I am trying to load images as mentioned in tutorials 1 and 2, but no success. Can You give me a hint? :slight_smile:

my Cinder version is 0.9.1

// Only do this once, and store it somewhere
// This assumes "image.png" is in your assets folder
gl::Texture2dRef texture = gl::Texture2d::create ( loadImage ( loadAsset ( "image.png" ) ) );

// to draw
gl::draw ( texture );
1 Like

Thank You! :unicorn: