exr files export exports uncompressed #30384

Closed
opened 2012-02-28 11:10:25 +01:00 by Reiner Prokein · 6 comments

%%%r44464 64 Bit, Win 7 64 Bit

The software development kit Unity stores its lightmaps in exr format. Blender can open those exr files. Earlier versions of Blender have saved this exr in compressed mode when it was compressed mode. But with a current version of Blender i get a uncompressed filesize when i save the exr file. Means my original file has 160 kb. With Blender r44100 i get a 80 kb result. And with r 44464 i get a 4 Mb result.

Examplefile, containing the original exr, the 80 kb one and the 4 Mb one is attached. %%%

%%%r44464 64 Bit, Win 7 64 Bit The software development kit Unity stores its lightmaps in exr format. Blender can open those exr files. Earlier versions of Blender have saved this exr in compressed mode when it was compressed mode. But with a current version of Blender i get a uncompressed filesize when i save the exr file. Means my original file has 160 kb. With Blender r44100 i get a 80 kb result. And with r 44464 i get a 4 Mb result. Examplefile, containing the original exr, the 80 kb one and the 4 Mb one is attached. %%%
Author

Changed status to: 'Open'

Changed status to: 'Open'

%%%I found a bug in saving multilayer openexr files compressed, and committed a fix for that. However I'm not sure that is the same issue you found, so please give the exact steps you use to redo this bug?

What I tried for example: open image editor, open LightmapFar-0.exr, save as, choose ZIP codec, and save.%%%

%%%I found a bug in saving multilayer openexr files compressed, and committed a fix for that. However I'm not sure that is the same issue you found, so please give the exact steps you use to redo this bug? What I tried for example: open image editor, open LightmapFar-0.exr, save as, choose ZIP codec, and save.%%%
Author

%%%Hi Brecht.

I guess that this is another bug. My steps were much simpler. All i did was to load the LightmapFar-0.exr, and save it then. The compression works when i use it. It`s just that older builds saves compressed exr files as compressed files again without the need to readjust the export settings.

The point is, i cannot know if the original file was uncompressed or compressed without looking at the filesize. And even when i notice that it is compressed, which can be seen at the filesize, i cannot know if the origial is rle compressed, zip compressed, pixr24 compressed, and if it is 16 bit or 32 bit. Those are infos that should be collected when the exr file gets loaded. And get reused when the exr file gets saved. As told, older Blender versions saves the exr file compressed. Newer versions saves the same exr file uncompressed. I hope you get the point :)%%%

%%%Hi Brecht. I guess that this is another bug. My steps were much simpler. All i did was to load the LightmapFar-0.exr, and save it then. The compression works when i use it. It`s just that older builds saves compressed exr files as compressed files again without the need to readjust the export settings. The point is, i cannot know if the original file was uncompressed or compressed without looking at the filesize. And even when i notice that it is compressed, which can be seen at the filesize, i cannot know if the origial is rle compressed, zip compressed, pixr24 compressed, and if it is 16 bit or 32 bit. Those are infos that should be collected when the exr file gets loaded. And get reused when the exr file gets saved. As told, older Blender versions saves the exr file compressed. Newer versions saves the same exr file uncompressed. I hope you get the point :)%%%

%%%If i understand the issue correct, it's just about unable to save file with the same settings as original file. Automatic format settings detection indeed doe not currently happens because of some design issues. It's possible to support but wouldn't consider this is a bug. Added note to http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Editors#Image_Editor
Thanks for the report, but will close it now.%%%

%%%If i understand the issue correct, it's just about unable to save file with the same settings as original file. Automatic format settings detection indeed doe not currently happens because of some design issues. It's possible to support but wouldn't consider this is a bug. Added note to http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Editors#Image_Editor Thanks for the report, but will close it now.%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Author

%%%I see the point. Thanks Sergej :)%%%

%%%I see the point. Thanks Sergej :)%%%
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#30384
No description provided.