Hi,
I need export a 32bit image drawn into an FBO, I tried to export it as a tiff and as an exr, they both look
8bit.
gl::Fbo::Format format;
format.setColorTextureFormat( gl::Texture::Format().internalFormat(GL_RGB).dataType(GL_FLOAT) );
mFbo = gl::Fbo::create( 1920, 1680, format );
writeImage( getAppPath() / fs::path( "uv.tiff" ), mFbo->getColorTexture()->createSource(), ImageTarget::Options().quality(1.0f) );
writeImage( getAppPath() / fs::path("uv.exr"), mFbo->getColorTexture()->createSource(), cinder::ImageTarget::Options().quality(1.0f), "exr");