PDF guides

Make a timed red-to-blue GIF from two PDF pages

·

PDF to GIF turns each selected page into one picture. Export a looping GIF for a short visual sequence, or save static GIFs when each page needs its own image.

PDF to GIF

Set a 32-color palette and 750 ms delay

Select Load example. Choose 72 DPI, select Animated GIF under Output, and set Palette limit to 32 colors. Set Frame delay (ms) to 750 and select Floyd–Steinberg under Dithering. Leave Pages blank to include both sample pages.

Select Convert PDF to GIF. Page 1 is portrait with a red center and a color strip near the bottom. Page 2 has a blue center and uses a quarter-turn rotation. Select Play animated preview to see them alternate.

Set a 32-color palette and 750 ms delay
PropertyExpected export
Frame orderRed then blue
Canvas216 × 216 px
Delay per frame750 ms
Time per loop1,500 ms
Palette ceiling32 colors per frame

Download the two-page signal fixture with red and blue panelsCompuServe GIF89a specification for frames, color tables and frame delay

Check the exported timing and padding

Download the animated GIF and open it in an animation reader. Check that both frames use the same 216 × 216 px canvas, and check their individual durations. A GIF stores frame delay in hundredths of a second, so 750 ms is stored as 75.

The source renders at 144 × 216 px and 216 × 144 px. The animation centers both page images without rescaling them. The narrow first frame gets white space at its sides. The short second frame gets white space above and below.

Download the two-page signal fixture with red and blue panelsCompuServe GIF89a specification for frames, color tables and frame delay

Save a page at its actual rendered dimensions

Switch Output to Separate GIFs and convert the sample again. Choose Page 2 in Page preview and download the selected GIF. The landscape image is 216 × 144 px because separate images retain their own dimensions.

When judging the sample’s color strip, compare Dithering Off with Floyd–Steinberg at the same palette limit. Dithering distributes quantization error across nearby pixels. GIF still has a limited palette, so save a PNG when you need to preserve the rendered colors.

Download the two-page signal fixture with red and blue panelsCompuServe GIF89a specification for frames, color tables and frame delayImageMagick color reduction and dithering behavior

Common questions

Can I set the animation to a single page?

Animated GIF needs two or more selected pages. Choose Separate GIFs for one page.

Does the GIF contain a DPI value?

The tool uses DPI to calculate the number of rendered pixels. The exported GIF has pixel dimensions and no physical DPI tag.

Sources

Put it into practice.

Related guides