Re: saving the spectrum to ps/jpg format

From: Rajan K Paranji <rajan_at_cabm.rutgers.edu>
Date: Tue, 26 Aug 2003 17:20:41 -0400

We have been using the following method and it works fine, it can be
done within the SUN workstation itself.
 
 First, make sure that, you have a generic PS printer/plotter created
using /vnmr/bin/adddevices.

1. Select the PS plotter within VNMR, either through the menu or by
setting
       plotter='PSplotter_name'

2. Use page('filename.ps') command to dump the plot into a .PS format.

3. Now, one can use the following 'convert' script to obtain .jpg file
from the .PS plot.

    convert -quality 100 -rotate 90 -unsharp 0{1} -density 125x125
-contrast -contrast $1.ps $nesg/JPEG/$1.jpg

Actually I have put together the above steps as a vnmr macro and it
works good.

    Also, there is a free download software "gimp", which runs across
several platforms including MS-WINDOWS.
GIMP reads .PS files and can save that file in .jpg file in a straight
forward manner.

Hope this helps.

rajan

========================================
RAJAN K. PARANJI, Ph.D.
Research Associate and
NMR Facility Manager
Protein NMR laboratory
Center for Advanced Biotechnology
and Medicine
679 Hoes Lane, Piscataway
NJ 08854

ph: 732 235 5327
fax: 732 235 5633
email: rajan_at_cabm.rutgers.edu

=======================================
Received on Wed Aug 27 2003 - 16:31:42 MST

This archive was generated by hypermail 2.4.0 : Wed Jun 07 2023 - 16:08:04 MST