Generalcompression artefacts after using Photoshop to create eps

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
drumex
Posts: 12
Joined: Mon Apr 14, 2008 2:18 am

compression artefacts after using Photoshop to create eps

Post by drumex »

Hello all.

I'm a Latex newbie. I have used it for a number of assignments at the university so far, mostly sticking to default features of Miktex, nothing fancy.

Here's a problem that I have. In some documents, all the images I use are raster, so I use pdflatex. In certain others, however, I will have a combination of raster images and eps images (plots from Matlab etc). I use the graphicx package for images, by the way.

I know that latex doesn't accept raster images. Since I'm a beginner, I've been keeping notes on how to do certain things. So for this kind of a documents, I've taken notes to save any raster images as eps from within Photoshop, and then use them in the document with latex and dvipdfm afterwards.

Now, I remember using this method without any problems before, but yesterday when I tried the same, the images that were converted to eps from raster had horrible compression artefacts in the created pdf.

I'm using Photoshop CS2 and in the save as dialog, there are three eps options; Photoshop eps, and Photoshop DCS 1.0 & 2.0, both of which are eps as well. I think I've tried all combinations, all to no avail.

I'm really confused as to why something that apparently worked before (I think it did) has suddenly stopped working.

If I save any raster image with Inkscape as eps, everything's fine but I'd rather find out what's wrong with what I'm doing.

Sorry if the message is a bit incoherent or I forgot to mention relevant information.

Looking forward to resolving this one.
Windows Vista (SP1), MiKTeX 2.7, TeXnicCenter 1.0 RC1

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

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: compression artefacts after using Photoshop to create eps

Post by Stefan Kottwitz »

Hi drumex,

welcome to the LaTeX Community board!
I would use raster images only with pdflatex. If I needed eps graphics too I would convert them to pdf using epstopdf or eps2pdf and include them (with pdflatex) by \includegraphics. I would not convert jpg or png to eps. As soon as I need raster graphics I would use pdflatex and convert eps top pdf when needed.

Stefan
LaTeX.org admin
drumex
Posts: 12
Joined: Mon Apr 14, 2008 2:18 am

Re: compression artefacts after using Photoshop to create eps

Post by drumex »

I downloaded eps2pdf and gave it a go. Problem solved.

Thanks Stefan.
Windows Vista (SP1), MiKTeX 2.7, TeXnicCenter 1.0 RC1
Post Reply