You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey Devs, I've noticed some inconsistency in the handling of ILimage members Bpc and Bpp.
For instance, after creating an ilImage(filename.exr), the image object had a Bpp of 16, where the file object was an RGBA float. Of course, this would be correct if Bpp meant 'bytes per pixel'. However, 'devil_internal_exports.h' indicates that this is actually the number of channels per pixel.
Perhaps this is an inconsistency between the cpp wrapper and the base c implementation. For instance, I added support for 'Blit' in the cpp, and found that it couldn't properly handle the above file. It doesn't seem to handle the float type properly
Anyway, I can provide a diff for the Blit func if you like.
The text was updated successfully, but these errors were encountered:
Hey Devs, I've noticed some inconsistency in the handling of ILimage members Bpc and Bpp.
For instance, after creating an ilImage(filename.exr), the image object had a Bpp of 16, where the file object was an RGBA float. Of course, this would be correct if Bpp meant 'bytes per pixel'. However, 'devil_internal_exports.h' indicates that this is actually the number of channels per pixel.
Perhaps this is an inconsistency between the cpp wrapper and the base c implementation. For instance, I added support for 'Blit' in the cpp, and found that it couldn't properly handle the above file. It doesn't seem to handle the float type properly
Anyway, I can provide a diff for the Blit func if you like.
The text was updated successfully, but these errors were encountered: