Conversion of multi-page pdf to animated gif contains only 1st page

Aperta
#9,124 4 commenti 1 reazione 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
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c
Ambito
backend, cli

Direzione di ricerca

Start by reproducing the report with the provided multi-page PDF and command on ImageMagick 7.1.2-36, then compare the output with an earlier version if available. The issue does not identify a source file or test, so trace PDF reading and GIF writing from the command-line conversion path. Done means the command produces an animated GIF containing all PDF pages.

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

Descrizione

ImageMagick version

7.1.2-36

Operating system

MacOS

Operating system, version and so on

27.2.1

Description

I'm trying to convert a multi-page pdf into an animated .gif. With version 27.2.1 I only get a static .gif with the first page of the pdf.

Steps to Reproduce

I'm using magick -density 100 -delay 180 document.pdf -alpha remove document.gif to convert a multi-page pdf into an animated .gif.

I the past, this produced an animated .gif:

FyFR8LsV

Since the update to this version via homebrew

Version: ImageMagick 7.1.2-36 Q16-HDRI aarch64 983df25e4:20261116 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/license/
Features: Cipher DPC HDRI Modules 
Delegates (built-in): bzlib freetype heic jng jpeg lcms ltdl lzma png tiff webp xml zlib zstd
Compiler: clang (21.0.0)

I'm getting a static .gif with only the first page:

document
Images

Test pdf:

document.pdf

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.