linux pstogif

地震行业中,经常要做一些地图,来描绘地球内部的运动。在这里所里做了这么时间项目,一直也没有写下什么日志。主要还是懒,平时借口是没有时间。今天抽五分种来写写今天下午搞安装的linux软件。把ps格式的图转换成gif类型的图片格式,

http://uv-vis.aeronomie.be/software/tools/pstogif.php

 

Converting PostScript images into GIF, PNG, JPEG, TIFF or PNM

A software tool called pstogif is provided to convert images (such as plots) made in PostScript into various other formats: GIF, PNG, JPEG, TIFF and PNM.

The main advantage of pstogif over conversion packages such as the widely used convert, is that pstogif performs any scaling of the image before conversion - convert performs the scaling after the conversion, leading to strange artifacts in the image, notably with straight lines, and interpolation of colours.

Linux / UNIX specific tools

  • pstogif
    A software tool called pstogif to convert images (such as plots) made in PostScript into various other formats: GIF, PNG, JPEG, TIFF and PNM.

软件下载下来,解压后把pstogif复制到/usr/local/bin目录下,chmod u+x ./pstogif

在shell 脚本执行

pstogif aa.ps out.gif 转GIF PNG JPEG TIFF PNM都是可以的

呵呵。出来了。

搞定。

以后继续写一些,关于java针对大数据量处理、shell 脚本。

 

你可能感兴趣的:(linux,image,shell,脚本,postscript,tiff)