Bug 54609

Summary: loupe: glycin: The decoder for Tiff does not support the format features RGBPalette with [8] bits per sample is unsupported
Product: Sisyphus Reporter: Artem Varaksa <varaksaaa>
Component: glycin-loadersAssignee: Yuri N. Sedunov <aris>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: aris
Version: unstable   
Hardware: x86_64   
OS: Linux   
See Also: https://bugzilla.altlinux.org/show_bug.cgi?id=54601
https://bugzilla.altlinux.org/show_bug.cgi?id=54607
Attachments:
Description Flags
smurf.hpgl.magenta.tiff none

Description Artem Varaksa 2025-06-02 17:06:17 MSK
Шаги
====

1. Открыть прикреплённое изображение в loupe.

(Изображение сделано с помощью `$ hp2xx smurf.hpgl -m tiff -c 6 -m 2` из файла https://github.com/spustlik/plotr/blob/7792e9fd45fca4e11f452dc0a7b2c0a8b85bfb58/Plotr/Samples/smurf.hpgl)

Фактический результат
=====================

Ошибка при загрузке изображения (номера строк из sisyphus glycin-loaders-1.2.1-alt1.x86_64):

> Remote error: org.gnome.glycin.Error.LoadingError: loaders/glycin-image-rs/src/main.rs:331:54: The decoder for Tiff does not support the format features RGBPalette with [8] bits per sample is unsupported

$ file smurf.hpgl.magenta.tiff
smurf.hpgl.magenta.tiff: TIFF image data, little-endian, direntries=13, height=595, bps=8, compression=none, PhotometricInterpretation=RGB Palette, width=310

Ожидаемый результат
===================

Корректное отображение изображения.

Изображение корректно отображается в других программах, например в p11 в:

gimp-3.0.2-alt1.x86_64
papers-47.4-alt1.x86_64
gimagereader-gtk-3.4.2-alt2.x86_64

В darktable загружается, но некорректно, см. https://bugzilla.altlinux.org/54607.

Воспроизводимость
=================

Воспроизводится на виртуальных машинах:

[sisyphus] ALT Workstation 11.0 x86_64
glycin-loaders-1.2.1-alt1.x86_64
loupe-48.1-alt1.x86_64

[p11] ALT Workstation 11.0 x86_64
glycin-loaders-1.1.4-alt1.x86_64
loupe-47.4-alt1.x86_64
Comment 1 Artem Varaksa 2025-06-02 17:08:05 MSK
Created attachment 18686 [details]
smurf.hpgl.magenta.tiff