Ubuntu :: Convert A Jpg To Eps With Ghostscript Using The Command?
Feb 19, 2010
I'm trying to convert a jpg to eps with ghostscript using the command
Code:
gs -sDEVICE=jpeg -dJPEGQ=100 -dNOPAUSE -dBATCH -dSAFER -r300 -sOutputFile=file1.jpg file1.eps
but I'm getting the error message
Code:
Error: /undefinedfilename in (file1.eps)
[Code].....
View 1 Replies
ADVERTISEMENT
Jul 27, 2010
I know Ghostscript can convert PDFs to JPGs, and in the case of a multi-page PDF, can rip each page to an individual JPG. But is it possible to have it rip them to one JPG, so that the pages are pasted below each other, e.g. the top half of the JPG is page 1, the bottom half is page 2? Or do I have to use another program (and can ImageMagick do this?) to combine the JPG pages into one image?
View 2 Replies
View Related
Jan 14, 2011
I've spent hours trying to scan + shrink a multipage PDF documentlosing readability. This is the first time I've ever needed to do this! (I had to scan each page as ".jpg" in order to email and open on another computer, so I could not scan to PDF directly, which I think is why each page was so large; lower DPIs made the text too blurry.)I found this great tip on UbuntuGeek...but anyone can do this if GhostScript is installed:
View 1 Replies
View Related
Jan 19, 2010
I am trying to use 'convert' in command prompt to convert image file format.I get the following error.
convert: UnableToOpenConfigureFile `delegates.xml' @ configure.c/GetConfigureOptions/589.
convert: NoDecodeDelegateForThisImageFormat `airplane.jpg' @ constitute.c/ReadImage/530.
convert: MissingAnImageFilename `airplane.ppm' @ convert.c/ConvertImageCommand/2838.
View 3 Replies
View Related
Oct 15, 2010
I'm trying to convert this awk command from command line into an awk script, but just cannot get it to work:
This is what i have after my BEGIN
Am i missing something here? this just prints out the count for everyline, not counting lines on 5th field that match 'A'
View 1 Replies
View Related
May 20, 2011
Convert a .caf to mp3 using linux command line.. can anybody give me the ffmpeg or other command to the same conversion?
View 3 Replies
View Related
Mar 22, 2010
I have a PDF document that I need to rotate page through 180 degrees.
Can anyone tell me if Ghostscript can do this and if so how?
I've gone through the documentation and can't seem to find anyting on it nor Google
View 1 Replies
View Related
Jul 27, 2011
I wasn't able to fix it... poor Lappy ), and everything seemed to be going just swimmingly. Then, when I was testing out one of my old scripts in Octave today, it barked at me about needing epstool to print plots to file.
[Code]...
View 9 Replies
View Related
Mar 10, 2011
Compiling ghostscript (9.01 or older) on a SUSE-11.3 does not include the x11 devices.gs -h does not show x11, x11alpa, x11mono, etc.Compiling on an old SLES-9.3 all x11 devices are included.On the old SLES-9.3 there is a library /usr/X11R6 with subdirs lib and include.Apparently including x11 devices depends on the libraries in /usr/X11R6.Question 1: how do I compile ghostscript on suse-11.3 with x11 devices included? The option --with-x does Question 2: where can I get the appropriate /usr/X11R6 for SUSE-11.3?
View 1 Replies
View Related
Jan 30, 2011
when using the "convert' command is there a way to start the numbering at 22 or 47 instead of 0.
View 1 Replies
View Related
Jul 2, 2010
I need to convert thousands of DDS images to PNG format in Linux, preferably in command line. Is there any program available for such task?
View 1 Replies
View Related
Oct 17, 2010
Similarly to this question:Convert a PDF to greyscale on the command line in FLOSS?I have a PDF-document and want to convert it to pure black and white. So I want to discard halftones. To convert to grayscale with ghostscript I can use this command:
gs
-sOutputFile=output.PDF
-sDEVICE=pdfwrite
[code]....
View 2 Replies
View Related
Feb 15, 2010
I'm trying to get GS to print to network Windows printer, but somehow fail to do so . I managed to print through CUPS to that printer but if I use GS with -sDEVICE=cups nothing happens, nothing is printed, CUPS logs remain unchanged... I also found command using smbclient (gs ... | smbclient //machine/printer -U user ... -c 'printmode graphics;print-') but that one fails with "session setup failed: NT_STATUS_REQUEST_NOT_ACCEPTED" Here is why I need it, so maybe you know better way: We need to print thousands of PDF files in one print job (to prevent anybody else to send something else in while we are printing this). I was trying to develop small C program using GS API to achieve this but somehow I fail on something as trivial as print something on shared network printer.
View 3 Replies
View Related
Dec 13, 2009
im using cups filter 'texttops', to generate postscript file, then I;m using ghostscript to create pdf file. The problem is, that file generated from texttops don't contain landscape orientation instructions. How can I force ghostscript to do that. Here is the command Im using:
gs -sDEVICE=pdfwrite -sOutputFile=<outfile> -dBATCH -dNOPAUSE -f <infile>
I've found on the internet these instructions, but they don't work for me:
gs -dBATCH -dNOPAUSE -sOutputFile=myfile.pdf -sDEVICE=pdfwrite -dAutoRotatePages=/None -c "<< /PageSize [612 792] /Orientation 3 >> setpagedevice" 90 rotate 0 -612 translate -f myfile.eps
[code]....
View 1 Replies
View Related
Jan 11, 2010
I'm having trouble finding information on using gstreamer to convert videos from the command line. I've seen examples to convert audio and know it's possible to convert video (Thoggen does this with gstreamer) but what would the command be to execute this? I assume it will use gst-launch but there are so many following switches that it gets confusing. I'm interested in converting a DVD to OGG (as Thoggen does). I ask this because Thoggen:
1) Doesn't remember my preferences (quality, picture size etc.)
2) Gives me a huge preview window that I do not need (while it is encoding)
View 7 Replies
View Related
Mar 2, 2010
Used mpg123 command to convert mp3 to wav files. It is been converted fine but the question is why the file size is get differed?
For an example, # mpg123 -w out.wav Fav.mp3 Here Fav.mp3 size is 1.2 M and out.wav file size is 16M
Is there any specific reason in it?
View 4 Replies
View Related
Oct 17, 2010
I have to send a FAX (as some recipients are about 20 years behind the times). Sometimes the document looks excellent on the screen, but what comes out the other end looks terrible. So I'm trying to come up with a way to produce the best quality FAX from a vector PDF (which is searchable with images and text). Part of the goal is to preview the fax in advance, so there are no surprises. I start by converting the vector PDF to a raster (bitmap) postscript document:
[code]...
How can these steps above be improved?
View 4 Replies
View Related
Feb 14, 2010
I'd like to find a way of
1) capturing an RDF formatted RSS feed as a file on my computer
2) converting the result to HTML using local command line tools
I've sorted 1) with wget? I've discovered xsltproc but I'm going round in circles. The master plan is to import my pinboard bookmarks into a static web site produced on my linux box using a handful of clever bash scripts.
View 7 Replies
View Related
Feb 4, 2010
I have a colour PDF file, and I'm going to print it out and then photocopy it in black and white. I'd like to know what it's like in B&W before photocopying it. Is it possible to 'greyscale' a PDF on the command line using free software? I'm using Ubuntu 9.10.
View 2 Replies
View Related
Jan 26, 2010
I've got some documents in DjVu which I'll like convert to PDF. Is there a way to do this using command line OSS tools?
View 2 Replies
View Related
Mar 13, 2009
I've spent a lot of time googling on this one, but could not really find anything that would convert HTML to images. Does anyone know if there are some command line tools that can do this? I need to convert simple HTML documents to images to be attached to Powerpoint presentations. Could firefox gecko be tapped into to do this without a GUI?
View 4 Replies
View Related
Jun 25, 2011
After upgrade to ghostscript 9.02 from current all print jobs fail with: 'There is a missing print filter for printer HP_F2480'
The printer is an All-inone deskjet F2480 and the cups printer queue has been
setup with the hplip tools. Before the upgrade it was 'working' with quite a few bugs...eg image not printed correct, multipage printing garbage. (page for page printing was the workaround)
Do I need to remove the printer and define it again?
View 2 Replies
View Related
Jun 29, 2011
Is there a free linux command line tool to convert SVG to PDF and/or some commonly-used bitmap format (for example PNG)?
View 2 Replies
View Related
Jul 28, 2011
I am making a text search engine. I need to first convert binary documents to text. I want to go with cross-platform (we develop both on windows and linux) command line (so that I can get the output via python subprocess). What are the choices for this?
View 1 Replies
View Related
Sep 13, 2010
I am new to Linux and I am trying to convert image files to mpeg video I tried using this command images2mpg -o Vorticity.mpeg -i Vorticity-Magnitude0%d.jpeg I get an error as below bash: images2mpg: command not found
View 2 Replies
View Related
Oct 28, 2010
I would like to convert a .ods file to a .csv file via command line on a server running ubuntu with no graphical interface.
xls2csv does a perfect job on xls files; is there something similar for ods files?
View 1 Replies
View Related
Mar 16, 2010
An easy way to convert wav files into mp3 (or ogg).
$ sudo-apt-get install nautilus-script-audio-convert mpg321 vorbis-tools lame nautilus-script-manager.
after that run
$ nautilus-script-manager enable ConvertAudioFile
Now, when you right click on audio file, under 'scripts', you will see ConvertAudioFile option.
View 3 Replies
View Related
Aug 23, 2011
I need to be able to convert HTML email messages saved as text files (.eml or .msg) to PDF documents, one PDF per email, retaining formatting and images.
Are there any Linux tools that will allow me to do this from the command line (so it can be scripted)?
View 1 Replies
View Related
May 3, 2009
I have Ubuntu 9.04 and just installed Sound Converter. I am trying to convert a bunch of .ogg files to mp3 to play on my iPod and it's not working so well. In the Sound Converter options I have is set to convert to high quality mp3. I choose the folder that the files are in and after a moment (slow laptop) Sound Converter populates, I hit 'convert' and it shows that the conversion completes in two seconds. All that it did was create the new folder structure of artist/album but there is nothing in there. Not sure what I am missing. I used Sound Converter before and it worked fine.
View 2 Replies
View Related
Jul 18, 2010
I'm trying to use convert, I have installed the imagemagick. I use this line:convert *.jpg test.pdf but I'm only able to convert to pdf 1 single jpg file, not multiple files at once. When there's more than one file, I get the following error: Segmentation fault
View 5 Replies
View Related