GeneralReducing Size of GIF files for putting in LATEX document.

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
centurion555
Posts: 6
Joined: Thu Nov 06, 2008 1:15 pm

Reducing Size of GIF files for putting in LATEX document.

Post by centurion555 »

Hi everybody,

I have gif files of size 4800 x 3600 pixels. I want to put them in a document where they are 16cm wide and the document is to be printed on a printer with 300 dpi resolution. My question is to which size (in pixels) should I reduce this file in order to reduce its size as much as possible while keeping the necessary resolution??

Regards
Centurion

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

centurion555
Posts: 6
Joined: Thu Nov 06, 2008 1:15 pm

Re: Reducing Size of GIF files for putting in LATEX document.

Post by centurion555 »

Ok, I figured out myself.

Original size: 4800 x 3600 pixcels

Target size: 16cm x 12cm for printing on 300dpi.
Target size in inches: 6.3'' x 4.7''

Reduced file size without losing quality should be: (6.3 x 300) x (4.7 x 300) pixels = 1890 x 1410 pixels

So it reduces size by factor of about 6.5

Centurion
Post Reply