Tool for batch processing EPS to JPG - image-processing

Does anyone know of a adobe command line tool for creating jpegs from pdfs. This needs to cater for EPS 15 ( CS5 )?
I am converting EPS files to hi-res JPEGS with imagemagic but the results are mediocre even when the EPS is scanned at a very high-res. I think imagemagic works off the eps preview rather than rasterizing the vector.
GIMP is a bit better but not perfect.
Photoshop produces perfect jpegs but I dont know of a command line utility for this and have used the scripting tools but found them a pain on large batches.
I have distiller server but this ( to my knowledge ) does not produce jpegs.

You could try ghostscript:
gs -sDEVICE=ppmraw -sOutputFile=file%d.ppm -r600 -dNOPAUSE yourfile.ps -c quit

I would give GraphicsMagick http://www.graphicsmagick.org a try. It's a fork of Image Magick, more complete and updated.
It internally uses GhostScript as the PS interpreter, it does not use the embedded image but it completely renders the postscript.
For best results, make sure that you work at the right density. Instead of the PostScript standard of 72 DPI, try
gm convert -density 144 infile.eps outfile.jpg
with different -density values and see if the quality improves.

If you're out of luck to find a command line tool for this, you can create a macro to script GIMP or Photoshop to do the job.
You have not mentioned the operating system, but if you're using OS X you can write an AppleScript which will do the converting through commanding the GUI programs.
In Windows you can download a macro recorder program, but I have no experience with that in the new versions of Windows.

http://www.reaconverter.com/command-line-image-processing.html for 50USD

Inkscape is a mature free vector graphics program with commandline import/export options. I would be happy to test its ability to handle EPS15 but I don't have CS5 or any documents in that format. If you can post a link I'll try it out.

http://www.adobe.com/eeurope/products/indesignserver.html does the Job.

Related

Do I need multiple test fixtures for PDF (.AI) conversion with ImageMagick

I implemented a specialized utility for my team to batch convert AI files to other formats. It's using imagick and works well with the 1 AI file I used. They to need officially support Illustrator v 9 and upward.
Is it sufficient enough to write a test for the utility using an AI file saved for Illustrator 9 and be confident that the embedded PDF data is similar enough that I don't have to add test AI files saved in other versions of AI?
In other words, if it can properly convert the PDF (in the AI file) saved with Illustrator v 9 then all other formats will convert 100% the same?
Or should I add test fixtures (AI files) for each other version of Illustrator because the natively supported PDF format changed significantly?
Or ... does ImageMagick already account for these differences?
I tried same thing before. Simple answer is there is always something different. After trying for almost 3 months. I decide to use Illustrator Javascript API to convert files. And it works well.
It really depends on the version of GhostScript installed because ImageMagick uses GhostScript for converting from PDF.
If the version of AI used is 9 and above, and if the .ai file is saved with PDF compatibility and your GhostScript is up to date .. then GhostScript should have no issue converting it regardless of the version of Illustrator (from 9 or above) that it was produced with. Illustrator specific information is saved at the end of the PDF file which affects the specific version of Illustrator and this is data that is not consequential to GhostScript.

Convert JPG,GIF,EPS and PDF to PDF with Imagemagick in PHP

I need to convert jpg,gif and eps files to pdf and vice versa. Is ImageMagick will be the best tool for this ? I have configure imagemagic with ubuntu 11.04 and using CLI trying to convert images into pdf, but quality is too bad. So what whoud be best approch to convertion ?
Thanks in Advance :)
You want to support two types of files; raster (jpg/gif) and vectorial (eps). Conversion from one set to the other is never lossless.
When converting from vectorial to raster or vice-versa, one crucial parameter is -density, that sets the image size before it gets converted.
Imagemagick is probably the right tool for vectorial to raster, it's just a matter of getting the parameters right. To transform raster to vectorial, better tools would probably be autotrace or potrace, but be aware these tools cannot do a perfect conversion.

Creating DDS(DXT5) from two files (RGB+Alpha). Command line tool need

I need some command-line tool to create dds (dxt5 format) from two .png files -- one with rgb channels and one with alpha. It's because I have a waste amount of images to process -- I can't do it manually. It's no problem for me to create script for generating batch file to process all images one by one, but I need tool to create dds from two png-s.
Anyone known such command-line tool ?
Thanks.
P.S. nvDXT.exe is very good but it can't combine rgb and alpha from different files.
If you have Photoshop, you could always use Batch Script (see Batch Scripting Tutorial for an example) to merge the channels (with NVidea plug in installed, you could probably even do the DDS conversion too). Just a thought.

What alternavies exists to OSXs "texturetool" for converting png image data to PowerVR

I'd like to know of alternatives to the command line program texturetool which comes with XCode for converting PNG Images to PowerVR compressed images.
For some reason texturetool takes about 50 seconds for converting some of the images I am working with. With about 1.3 mio images to be compressed, that would take several months.
Now I am looking for other tools running on either Linux or OSX, most preferable an in-memory C++ library, as the images are being generated procedurally.
Would love to get an answer.
Thanks.
Imagination Technologies have just released an updated version of their texture compression library That may be worth trying. (I know the page only says Windows and Linux but there appears to be a Mac version there as well).

Using ImageMagick from Command line in .Net?

I am using ImageMagick from Commandline in .Net? Although a .Net wrapper (ImageMagick.Net in codeplex) is available but it is still in alpha and does not have implementation for all the command line options e.g Distort, Montage. Therefore I am using System.Diagnostics.Process class to invoke the ImageMagick command line.
What are the Pros/Con of this approach? I can see a performance issue if I have to perform multiple transformation on the same image and if I invoke the command twice then the commandline will load the Image twice. Is there a way I can chain the commands so that output of the first transformation is feed into the second command?
It will definitely be slower, and when you chain commands, you are going to be encoding and decoding the image into a format unnecessarily -- if you do this, make sure you use a lossless format like PNG for intermediate formats. To speed it up, use one without compression.
Two other choices
Use ImageMagick.NET and then wrap anything else you need from imagemagick yourself, probably by contributing to the project
My company, Atalasoft, has a free .NET imaging SDK with a lot of overlap with ImageMagick. You can download here: http://atalasoft.com/photofree -- Montage is basically the same as our Overlay commands and Distort is a 2D transformation, which are all included. If ImageMagick.NET can accept and produce .NET Bitmap objects, then you can use both together fairly easily.

Resources