Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a document which under normal conditions compiles into a reasonably-sized output - 1 MB PDF and 2 MB PS. I need to add two raster images, also reasonably-sized - About 150 KB JPG each.

I tried the simple approach, and converted the images to PDF and PS. The graphical results are excellent, but the output grew in size to 2 MB PDF and 8 MB PS (!).

What is the best strategy for converting and including these images in the document, that will not blow up the size of the output significantly? Ideally, I prefer to have both a DVI->PS output and PDF output, but only the PDF is a must.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

You can use jpeg2ps utility to convert JPEG images to EPS format. It does not uncompress the images.

share|improve this answer
    
    
It might be what I am looking for. –  xport Dec 30 '10 at 10:43

You may use this approach, but for conversion use this command:

`convert -compress zip #1 eps2:-

It requires ImageMagick's convert.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.