Just noticed that this doesn’t quite work. It does copy the pixels, but doesn’t update the texture:
i2.getPixelsRef() = i1.getPixelsRef(); //i1 && i2 are ofImages i2.update()
Should it? I made a pretty trivial change to ofImage::update on my git that enables it and seemingly doesn’t cause any problems, but I’m wondering if there was a reason the above isn’t wanted. I can make a pull request otherwise.