After save as operation with non-default options of Image, simple save operation does not use previous settings, but default settings again. #95721

Open
opened 2022-02-12 04:29:59 +01:00 by Doug Cox · 4 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 497.29

Blender Version
Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: f1cca30557

Description

When re-saving a modified imaged (from Texture Painting for example), the newly saved file appears to lose all settings used during the original "Save As" operation. For file types such as OpenEXR that were saved as 16-bit using Zip compression, this can result in a file that was roughly 800KB becoming 64MB in size. This wastes quite a large amount of disk space and bandwidth when using version control.

Image files should remember the settings applied when loaded or from Save As. There does not appear to be a way to set global file-type defaults to reduce some of this behavior.

Exact steps for others to reproduce the error

  • Switch to the Texture Paint workspace.
  • Click "New" to create a new texture. Set Width/Height: 2048x2048, 32-Bit Float: Checked
  • Switch to the "Paint" mode if needed and draw a circle.
  • Click Image / Save As. File Format: OpenEXR, Color: RGB, Color Depth: Float (Half), Codec: ZIP (lossless)
  • Open a File Explorer window and note the saved file size is roughly 300KB.
  • Click Image/ "Save" (not Save As) to re-save the file. Note the image file is now roughly 1MB. (It appears Blender has now forgot the file should be Float (Half)
  • Close Blender and Save the scene.
  • Open Blender and the saved scene.
  • Click Image/ "Save" to re-save the file again. Note that the image file is now roughly 50MB as Blender appears to have lost the Codec setting and the Float (Half) setting.

This bug occurs on other file types as well such as PNG where the compression settings are lost.

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 497.29 **Blender Version** Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: `f1cca30557` **Description** When re-saving a modified imaged (from Texture Painting for example), the newly saved file appears to lose all settings used during the original "Save As" operation. For file types such as OpenEXR that were saved as 16-bit using Zip compression, this can result in a file that was roughly 800KB becoming *64MB* in size. This wastes quite a large amount of disk space and bandwidth when using version control. Image files should remember the settings applied when loaded or from Save As. There does not appear to be a way to set global file-type defaults to reduce some of this behavior. **Exact steps for others to reproduce the error** * Switch to the Texture Paint workspace. * Click "New" to create a new texture. Set Width/Height: 2048x2048, 32-Bit Float: Checked * Switch to the "Paint" mode if needed and draw a circle. * Click Image / Save As. File Format: OpenEXR, Color: RGB, Color Depth: Float (Half), Codec: ZIP (lossless) * Open a File Explorer window and note the saved file size is roughly 300KB. * Click Image/ "Save" (not Save As) to re-save the file. Note the image file is now roughly 1MB. (It appears Blender has now forgot the file should be Float (Half) * Close Blender and Save the scene. * Open Blender and the saved scene. * Click Image/ "Save" to re-save the file again. Note that the image file is now roughly **50MB** as Blender appears to have lost the Codec setting and the Float (Half) setting. This bug occurs on other file types as well such as PNG where the compression settings are lost.
Author

Added subscriber: @ziflin

Added subscriber: @ziflin
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Thanks for the report. I can confirm settings are not retained after saving the image once.

Note that the image file is now roughly 50MB as Blender appears to have lost the Codec setting and the Float (Half) setting.

This is also true. And behavior stands same on previous versions as well (2.83 is the oldest version I checked)
Confirming for now.

Thanks for the report. I can confirm settings are not retained after saving the image once. > Note that the image file is now roughly 50MB as Blender appears to have lost the Codec setting and the Float (Half) setting. This is also true. And behavior stands same on previous versions as well (2.83 is the oldest version I checked) Confirming for now.
Bastien Montagne changed title from Re-saving images results in much larger (50-150x Larger) files. to After `save as` operation with non-default options of Image, simple `save` operation does not use previous settings, but default settings again. 2022-05-03 11:40:04 +02:00
Philipp Oeser removed the
Interest
Core
label 2023-02-09 14:42:51 +01:00
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
2 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#95721
No description provided.