ImageMagick TIFF-to-GIF conversion is failing for a specific TIFF graphic: NoDecodeDelegateForThisImageFormat `TIFF' @ error/constitute.c/ReadImage/746

Aperta
#9,067 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c
Ambito
cli

Direzione di ricerca

The failure is raised from ReadImage in MagickCore/constitute.c, which reports NoDecodeDelegateForThisImageFormat when no decoder is registered for TIFF at read time. Start by checking the delegate build flags in the reported configure output and whether the TIFF coder is listed in the coders directory. The sample file is private, so a newcomer would need to reproduce with any valid TIFF first. Done means identifying why the TIFF delegate is missing for this build and documenting or fixing it.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

ImageMagick version

7.1.1-37

Operating system

Linux

Operating system, version and so on

Rocky Linux 9.8 (Blue Onyx) platform:el9

Description

TIFF-to-GIF conversion is failing for a specific TIFF graphic. Please refer to the details below.
using convert command
[root@corena-kcaserver-7bc7489975-nndw9 temp]# /opt/bin/imagemagick/el9/usr/bin/convert /opt/temp/G-72000056-02.tif /opt/temp/G-72000056-02.gif
WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"

convert: NoDecodeDelegateForThisImageFormat TIFF' @ error/constitute.c/ReadImage/746. convert: NoImagesDefined /opt/temp/G-72000056-02.gif' @ error/deprecate.c/ConvertImageCommand/3368.
[root@corena-kcaserver-7bc7489975-nndw9 temp]#
using magick command
[root@corena-kcaserver-7bc7489975-nndw9 temp]# /opt/bin/imagemagick/el9/usr/bin/magick /opt/temp/G-72000056-02.tif /opt/temp/G-72000056-02.gif
magick: NoDecodeDelegateForThisImageFormat `TIFF' @ error/constitute.c/ReadImage/746.
[root@corena-kcaserver-7bc7489975-nndw9 temp]#

Version details
[root@corena-kcaserver-7bc7489975-nndw9 /]# /opt/bin/imagemagick/el9/usr/bin/convert -version
WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"

Version: ImageMagick 7.1.1-37 Q16-HDRI x86_64 5b2825b29:20240824 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP(4.5)
Delegates (built-in): bzlib cairo djvu fftw fontconfig fpx freetype gslib gvc heic jbig jng jp2 jpeg jxl lcms lqr ltdl lzma openexr pangocairo png ps raqm raw rsvg tiff webp wmf x xml zip zlib zstd
Compiler: gcc (11.4)
[root@corena-kcaserver-7bc7489975-nndw9 /]#

Please let us know whether any additional libraries need to be installed to support this graphic.
Thank you!

Steps to Reproduce

/opt/bin/imagemagick/el9/usr/bin/convert /opt/temp/G-72000056-02.tif /opt/temp/G-72000056-02.gif

Images

Since this is customer data, we are unable to share the TIFF image.

Lingua principale
C
Stelle
17.9k
Fork
1.7k
Merge medio
1g 6h
PR unite (30g)
23

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ImageMagick/ImageMagick

Tutte le issue di ImageMagick/ImageMagick

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.