[lug] pdf to jpg

Ed Hill ed at eh3.com
Sun Nov 4 16:13:54 MST 2001


Hi Jeff,

I've had to do this before and had pretty good luck using "gs"
and tweaking the resolution option.  Such as:

   gs -sDEVICE=jpeg -sOutputFile=file.jpg -r100x100 file.ps
   gs -sDEVICE=jpeg -sOutputFile=file.jpg -r300x300 file.ps
   gs -sDEVICE=jpeg -sOutputFile=file.jpg -r600x600 file.ps

and it worked fine.  I think the low res you're seeing is just
the default for gs.

hth,
Ed


Jeff wrote:

> Does anybody know how to convert from a .pdf to .jpg?  I looked at a
> thread on the list about 6 weeks ago and close but no cigar.  I can go
> from .pdf -> .(e)ps -> .jpg, but there's too much loss in resolution. 
> When I use "convert file.pdf file.jpg" the right half of the image is
> chopped off.  Since this is for business, the is not acceptable.  I need
> the high resolution from the .pdf (a contradiction in terms I know). 
> Using the -geometry switch only makes the image taller, not wider. 
> There's important information that's getting chopped.  Any ideas?  Any
> help appreciated.
> 
> Jeff
> 



-- 
Edward H. Hill III, PhD
Post-Doctoral Researcher    |  Emails:   <ed at eh3.com>, <ehill at mines.edu>
Division of ESE             |  URL:      http://www.eh3.com
Colorado School of Mines    |  Phone:    303-273-3483
Golden, CO  80401           |  Fax:      303-273-3311




More information about the LUG mailing list