I have a program that I call from my web app that takes some user input and produces an image. This program produces images in postscript format, but since I want them to be displayed on the web I use IM to convert them to jpegs. All I am using is the command:
Code: Select all
convert image.ps image.jpg
Presently, I am using an option in the program to resize the physical paper size of the postscript file. Normally, the paper size is 20x26 cms, which when converted results in the 612x792 jpeg. If I change the size to 200x260 cms, for example, and then convert, I get a much larger image and it looks beautiful. The only problem in this is that the conversion takes quite awhile in this case. So, my second question is, are there ways to speed up conversion or is there another web viewable file format that I can use that might be faster to convert to?
Any advice would be greatly appreciated, whether it is in response to one of my questions or a different approach I might take. Thanks!