Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

16bit texture save to disk is not working (Windows) #9

Closed
ssh4net opened this issue Oct 7, 2023 · 2 comments
Closed

16bit texture save to disk is not working (Windows) #9

ssh4net opened this issue Oct 7, 2023 · 2 comments

Comments

@ssh4net
Copy link

ssh4net commented Oct 7, 2023

Hi, sorry for another issue report.

I found that saving 16bit RGB/RGBA textures giving unexpected results:

  • PNG is always saving as 8bit, at least PNG exporter saving correct 8bit images that can be open later.
  • TIFF save 16bit RGB/RGBA probably as 8bit but have incorrect pixel data that remain 16bit. As result decoders read such tiff files corrupted.
  • OpenEXR save just don't work.

Best regards,
Vlad

@houmain
Copy link
Owner

houmain commented Oct 8, 2023

Hi Vlad, thanks for reporting. Sorry, this really should work as expected.
Right, the recently added TIFF export is broken and the EXR support is incomplete. For me, saving a 16bit RGB/A texture as PNG wrote a 16bit image though.
I am currently working on a bigger update, where I already switched to OpenImageIO as you suggested.
Cheers

@houmain
Copy link
Owner

houmain commented Oct 26, 2023

This should be fixed in version 1.35.1.

@houmain houmain closed this as completed Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants