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
Blender 2.82a with Manually updated glTF Exporter 1.2.18 from Blender 2.83 (1.2.18) as well as the downloaded 1.2.48 from git repo.
Need the exported textures to be in PNG format from my working PSD textures, can't have them being saved to JPG as we need to do arbitrary post export compression of textures to work within our games size limits.
It seems that though Blender can open PSDs, internally it treats it as a JPEG, which is why the exporter treats it like one. If you check the image.file_format field it's 'JPEG', if you go to "Save As" Blender will try to save it as a JPEG, etc.
edit: apparently the file_format field is only "the format it's re-saved as", not what the image actually is :/
What we could do is check if the image came from a file and that file ends in .psd/.PSD, and use PNG in that case.
This also means it's possible to have an image that's JPEG format, but whose file on disk isn't a JPEG. Will need to check that that's handled correctly...
Blender 2.82a with Manually updated glTF Exporter 1.2.18 from Blender 2.83 (1.2.18) as well as the downloaded 1.2.48 from git repo.
Need the exported textures to be in PNG format from my working PSD textures, can't have them being saved to JPG as we need to do arbitrary post export compression of textures to work within our games size limits.
Bug Blender 2.82a glTF 1.2.18 Exports PSD as JPG, there is no PNG option any more.zip
The text was updated successfully, but these errors were encountered: