#1107145 Attempting to export an 8 bit linear image results in a 16 bit linear file instead

Package:
gimp
Source:
gimp
Description:
GNU Image Manipulation Program
Submitter:
Michael Deegan
Date:
2025-06-02 07:39:02 UTC
Severity:
normal
#1107145#5
Date:
2025-06-02 07:31:18 UTC
From:
To:
When exporting TIFFs from the attached (32 bit linear float) image after
fiddling with the pixel format, I noticed that the 8 bit linear integer
image is twice the size it's supposed to be, because it's actually 16 bit:

    r_6010912-6010991-raw_stacked-linear-float32.tiff TIFF 640x360 640x360+0+0 32-bit sRGB 2.64045MiB 0.000u 0:00.000
    r_6010912-6010991-raw_stacked-linear-int16.tiff TIFF 640x360 640x360+0+0 16-bit sRGB 1.32209MiB 0.000u 0:00.000
    r_6010912-6010991-raw_stacked-linear-int8.tiff TIFF 640x360 640x360+0+0 16-bit sRGB 1.32209MiB 0.000u 0:00.000
    r_6010912-6010991-raw_stacked-nonlinear-float32.tiff TIFF 640x360 640x360+0+0 32-bit sRGB 2.64045MiB 0.000u 0:00.000
    r_6010912-6010991-raw_stacked-nonlinear-int16.tiff TIFF 640x360 640x360+0+0 16-bit sRGB 1.32209MiB 0.000u 0:00.000
    r_6010912-6010991-raw_stacked-nonlinear-int8.tiff TIFF 640x360 640x360+0+0 8-bit sRGB 695108B 0.000u 0:00.000

Expected results: exporting an 8-bit image should result in an 8-bit TIFF.