Converting EPS to JPG issue


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Converting EPS to JPG issue
# 1  
Old 01-11-2012
Converting EPS to JPG issue

I'm trying to convert a file with the following command:

convert -verbose image.eps -resize 500x image.jpg

The problem is that the output image loses it's quality and gets all blurred when resized. It shouldn't happen since I'm working with a vector.

I'm pretty sure that I'm missing a command option.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

Python[Issue in converting .py to .exe using py2exe

Hi Experts, Good morning. I am trying to convert my hello.py to hello .exe file. I followed the steps as mentioned in the documentation but getting errors in the end. Please help. What I did as below-- Created hello.py file print ("Hello world!") raw_input('') Then... (0 Replies)
Discussion started by: shekhar_4_u
0 Replies

2. Shell Programming and Scripting

Weird issue in converting XLSX to TXT

Hi Guys, I have used Perl scripting to convert XLSX file to TXT file using Perl module Spreadsheet::XLSX. I processed one XLSX file having one column and 65k rows of data . Strangely ,It is merging data for every 2047 row and I could see data in TXT file as Ex: Suppose in XLSX file ,if... (2 Replies)
Discussion started by: Rajk459
2 Replies

3. UNIX for Dummies Questions & Answers

Converting pdf to jpg in multiple directories?

Hi! On my Ubuntu I have thousands of files in a couple hundred directories. I'm trying to convert the pdf's to jpg's. I used this command in terminal: for fname in *.pdf; do convert $fname ${fname%.pdf}.jpg; doneIt works great but the problem is I have to run this in terminal for each... (2 Replies)
Discussion started by: martinsmith
2 Replies

4. UNIX for Dummies Questions & Answers

Wget JPG not working

Hi, I am new to Unix. Actually, I am using Terminal from MAC OSX Snow Leopard. I have installed XCode and wget 1.14 today. I just want to download all of the jpg files from a specific blog (from blogspot). But its not working. Here is the command I use: wget -r -nd -A jpg come-se All... (3 Replies)
Discussion started by: bruleke
3 Replies

5. UNIX for Dummies Questions & Answers

Deleting all but JPG files

I would like to delete all files but keep all the .JPG files. How can this be accomplished? Thanks in advance (8 Replies)
Discussion started by: Xterra
8 Replies

6. Shell Programming and Scripting

Rename all ".JPG" files to ".jpg" under all subfolders...

Hi, Dear all: One question ! ^_^ I'm using bash under Ubuntu 9.10. My question is not to rename all ".JPG" files to ".jpg" in a single folder, but to rename all ".JPG" files to ".jpg" in all subfolders. To rename all ".JPG" to ".jpg" in a single folder, for x in *.JPG; do mv "$x"... (7 Replies)
Discussion started by: jiapei100
7 Replies

7. UNIX for Dummies Questions & Answers

eps or ps output files

I am writing a text for LaTeX compile. I think that my grace figs need to be .ps or .eps files for incorporation. Can one just do a 'save as X.eps' for this, or is another method required? Thanks- Marshall (6 Replies)
Discussion started by: blann
6 Replies

8. AIX

jpg image

Hello I would like to see an jpeg image with aix. It is possible ? how can i do ? thank you (4 Replies)
Discussion started by: pascalbout
4 Replies

9. UNIX for Dummies Questions & Answers

PDF/EPS to GIf/JPG Help!!

Hello. I have a large number of EPS files and a lesser number of PDFs that I need to convert to GIFs/JPGs using a Unix system. Is there a unix utility or application out there that can do this conversion? Thank you in advance for any help you can provide. -Pook (1 Reply)
Discussion started by: PookJP
1 Replies
Login or Register to Ask a Question
IMAGETRUECOLORTOPALETTE(3)						 1						IMAGETRUECOLORTOPALETTE(3)

imagetruecolortopalette - Convert a true color image to a palette image

SYNOPSIS
bool imagetruecolortopalette (resource $image, bool $dither, int $ncolors) DESCRIPTION
imagetruecolortopalette(3) converts a truecolor image to a palette image. The code for this function was originally drawn from the Indepen- dent JPEG Group library code, which is excellent. The code has been modified to preserve as much alpha channel information as possible in the resulting palette, in addition to preserving colors as well as possible. This does not work as well as might be hoped. It is usually best to simply produce a truecolor output image instead, which guarantees the highest output quality. PARAMETERS
o $ image -An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(3). o $dither - Indicates if the image should be dithered - if it is TRUE then dithering will be used which will result in a more speckled image but with better color approximation. o $ncolors - Sets the maximum number of colors that should be retained in the palette. RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 Converting a true color image to a palette-based image <?php // Create a new true color image $im = imagecreatetruecolor(100, 100); // Convert to palette-based with no dithering and 255 colors imagetruecolortopalette($im, false, 255); // Save the image imagepng($im, './paletteimage.png'); imagedestroy($im); ?> NOTES
Note This function requires GD 2.0.1 or later (2.0.28 or later is recommended). PHP Documentation Group IMAGETRUECOLORTOPALETTE(3)