16bit Tiff save broken in Blender 2.60 #29076

Closed
opened 2011-10-28 19:47:05 +02:00 by Morten Mikkelsen · 8 comments

%%%In 2.60 Tiff 16 bit save is broken.

I'll be attaching a scene which was made by opening the default scene with std. downloaded Blender 2.60.
First I checked 16 bit under tiff in the output section of the render panel
and then I choose "save image as" and pick tiff rgb. The result becomes an 8 bit tiff.
I've been able to save 16 bit tiffs in Blender 2.59 so the support has clearly been broken since then.

I'd also like to report a second issue. If I "load image" a 16 bit tiff then the only way to get it back out without loosing precision in 2.60
is to save it as .exr before saving the .blend. I'd also like to point out if I do the same thing with 16 bit png they'll load into Blender
but unlike 16 bit tiff they are immediately squashed to 8 bits upon load whether I save out as exr or not before saving blend.

I'll attach a separate blend for that which was made by me loading a png and then saving out as exr just before saving blend.
%%%

%%%In 2.60 Tiff 16 bit save is broken. I'll be attaching a scene which was made by opening the default scene with std. downloaded Blender 2.60. First I checked 16 bit under tiff in the output section of the render panel and then I choose "save image as" and pick tiff rgb. The result becomes an 8 bit tiff. I've been able to save 16 bit tiffs in Blender 2.59 so the support has clearly been broken since then. I'd also like to report a second issue. If I "load image" a 16 bit tiff then the only way to get it back out without loosing precision in 2.60 is to save it as .exr before saving the .blend. I'd also like to point out if I do the same thing with 16 bit png they'll load into Blender but unlike 16 bit tiff they are immediately squashed to 8 bits upon load whether I save out as exr or not before saving blend. I'll attach a separate blend for that which was made by me loading a png and then saving out as exr just before saving blend. %%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

%%%I need to clarify a few of my comments I see.

So the first test-case is tiff16_fail.blend and I forgot to mention that after I check 16 bit tiff I hit F12 to render the image and then choose "save image as" but perhaps this is obvious when looking at the scene.

The second scene is save_test.blend but it's really just as simple as opening blender. Entering the UV editor, Open Image and pick the png file read_png_ver.png
and then save out as exr as BW (input image is also single channel) and then finally save the blend.
The resulting exr will have only 256 different levels eventhough the png has many more. If I do the same test using the tiff version of the image then I get all my levels.

%%%

%%%I need to clarify a few of my comments I see. So the first test-case is tiff16_fail.blend and I forgot to mention that after I check 16 bit tiff I hit F12 to render the image and then choose "save image as" but perhaps this is obvious when looking at the scene. The second scene is save_test.blend but it's really just as simple as opening blender. Entering the UV editor, Open Image and pick the png file read_png_ver.png and then save out as exr as BW (input image is also single channel) and then finally save the blend. The resulting exr will have only 256 different levels eventhough the png has many more. If I do the same test using the tiff version of the image then I get all my levels. %%%

%%%Confirmed the 8bit tiff issue on Windows 64bit Blender 2.60a (r41226)

Windows 7 64bit SP1
12gb Ram
Nvidia GTX 460 (285.62)

%%%

%%%Confirmed the 8bit tiff issue on Windows 64bit Blender 2.60a (r41226) Windows 7 64bit SP1 12gb Ram Nvidia GTX 460 (285.62) %%%

%%%I attached a patch for the first part (saving 16bit TIFF – and other file formats options as well, like half exr or Jpeg2000 options, btw). But even if it (seems to) do(es) the trick, it’s unlikely to get in Blender (ideasman_42 thinks it’s a wrong way to fix it…). At least, it can help waiting for a proper solution.

As for the second point, afaik, Blender never supported 16bit png?%%%

%%%I attached a patch for the first part (saving 16bit TIFF – and other file formats options as well, like half exr or Jpeg2000 options, btw). But even if it (seems to) do(es) the trick, it’s unlikely to get in Blender (ideasman_42 thinks it’s a wrong way to fix it…). At least, it can help waiting for a proper solution. As for the second point, afaik, Blender never supported 16bit png?%%%
Author
Member

%%%Thanks Bastien does this mean someone else is working on a solution for trunk?

As for 16 bit png it is apparently working (load wise) in the sense that it's loading the colors correctly but just dropping the precision.%%%

%%%Thanks Bastien does this mean someone else is working on a solution for trunk? As for 16 bit png it is apparently working (load wise) in the sense that it's loading the colors correctly but just dropping the precision.%%%

%%%The last build I was able to pass a 16 bit Tiff through Blender with correct precision was 2.56. builds: Windows 32,64 and Mac%%%

%%%The last build I was able to pass a 16 bit Tiff through Blender with correct precision was 2.56. builds: Windows 32,64 and Mac%%%

%%%fixed r41483.%%%

%%%fixed r41483.%%%

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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
5 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#29076
No description provided.