openframeworks / openFrameworks

openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
http://openframeworks.cc
Other
9.98k stars 2.55k forks source link

imageLoaderWebExample not loading image #8139

Closed chilina closed 1 month ago

chilina commented 1 month ago

The imageLoaderWebExample isn't loading the image (0.12.0 release, macOS 14.5); I get the following errors:

[ error ] ofImage: loadImage(): couldn't load image from ofBuffer, unable to guess image format from memory
[ error ] ofImage: loadImage(): couldn't load image from ""https://openframeworks.cc/about/0.jpg""

The example works great in the 0.11.2 release. The following works OK:

ofHttpResponse resp = ofLoadURL("http://www.google.com/robots.txt");

forum thread: https://forum.openframeworks.cc/t/imageloaderwebexample-not-loading-image/43947

roymacdonald commented 1 month ago

It works for me. with OF0.12 and nacos 14.6 Does it work when you hit the spacebar? (as it tries to load asyncronously)

chilina commented 1 month ago

Hey yes it works in the latest nightly too, and in the 0.12.0 release. I was using a nightly from Oct 4, 2023. So closing this and I'll start using a newer nightly.