Reading about Gerard Huet's paper on the geometry of the Shri Yantra available in PDF format at this link http://pauillac.inria.fr/~huet/SKT/sanskrit.html.orig, I was prompted to try out the Postscript code he had in and Appendix in the paper. After typing the code into a .txt file, the file did not render using Evince or a PDF … Continue reading How to convert PostScript script to a .ps file for viewing in PDF viewer or to PNG
Tag: convert
Convert any image file to pdf in Linux
Linux has a convert command that can manipulate images of any popular format from the command line individually or in a batch. In addition to the above, it can also convert image files into PDF files. To try it out, open a terminal window and type following command at the $ prompt: $ convert image.jpg image.pdf … Continue reading Convert any image file to pdf in Linux
Convert and compress PNG files to JPG in bulk
To compress PNG files to JPG, you can follow steps below: I. Convert all PNG files to JPG: Create a script using your favorite Linux text editor and type in the following lines: for i in $(ls *.png); do convert $i $i.jpg done II. Convert the JPG quality to 50% compression To compress the JPG … Continue reading Convert and compress PNG files to JPG in bulk
Convert DVD to AVI using mencoder
$ mencoder dvd://3 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o movie.avi Now the avi is the movie that you can copy elsewhere. The dvd://3 is to convert the 3rd Title on the DVD.