SLUG Mailing List Archives
Re: [SLUG] Black/white drawing formats
- To: SLUG <slug@xxxxxxxxxxx>
- Subject: Re: [SLUG] Black/white drawing formats
- From: Michael Lake <Mike.Lake@xxxxxxxxxx>
- Date: Mon, 06 Nov 2006 10:11:25 +1100
- User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)
Alan L Tyree wrote:
I'm doing a small book that contains lots of black and white drawings.
The final product must be a pdf file, probably produced with LaTeX.
The question is, what format should use I save the scanned grayscale
drawings to get the best output?
It depends on whether you will be using latex or pdftex for the processor.
If you are using pdflatex you could produce the drawings in pdf directly or use jpg
or png or tiff. If you are using latex with a out-of-the-box setup you'll need to use
eps image files. They can be stored compressed and uncompressed by latex on the fly.
Contrary to what others say about jpeg being lossy; yes it is lossy but you can
specify the compression to use at creation time, from no compression to lots. The
reason why you might decide not to use it for line drawings is that artefacts can
occur in these type of image from the compression algorith which was specifically
designed for photographs where you have more continuous or smooth variations of the
image. Google for 'jpeg artefacts' Given the above though I have use jpeg for line
drawings and have not had any problems.
If you are using pdflib consider doing the images in pdf. PDF will be much smaller
than tiff images.
Computational Research Support Unit
Science Faculty, UTS
Ph: 9514 2238