Summary - spectra exported as TIFF/JPEG for publications

From: Sara Basiaga <sbasiaga_at_unlserve.unl.edu>
Date: Tue, 23 Aug 2005 10:28:30 -0500

There were enough people interested that I've put a summary of the
responses below.

***

Use function "print to file" which the resolution will depend on your
printer. If you have a printer (could be a virtual one) has resolution
>= 600 dpi and is a ps printer. You got the file with ps format and
resolution 600dpi or greater. There are many ways to convert ps format
to different image format.

If you get the picture prepared in XwinPlot and use the 'print -> to
file' option (after setting up the output as a JPEG), it works. I've
done this many times. You have to first go to the printer setup and
select JPEG from the menu, then print to file, and the JPEG you get is
very good quality (huge...). It can be scaled (by increasing the
resolution...) using Gimp or PhotoShop.


For best resolution, I use the EMF format. It is the best that can be
done from Topspin. Alternately you can set up a printer (PS) and print
to file. The extension on the file will be .prn, change it to ps, then
use adobe to make a pdf. I have tried to make TIFF and JPEG files but
they look horrible, because of the resolution. If you have to use
TIFF's then I have used the emf file and placed that into Powerpoint,
then saved it as a TIFF. They look better that way.


I usually export data as encapsulated postscript (eps). (XWinNMR may
just call it postscript) Since eps is a vector format rather than a bit
map, you will loose no resolution. Use Adobe illustrator (or something
like it) to convert formats. Eps files can also be imported into word
and wordperfect. If you have Matlab, I have a program for processing
NMR data that will export as tiff/jpeg and eps(with a tiff preview).
(see http://uwadmnweb.uwyo.edu/chemistry/research/NMR/software.asp)


You can print as a postscript file and then use a PC or Mac or Linux
program to convert to JPEG/TIFF. Illustrator is the one we use
regularly, but there are many utility program that will do the
conversion for you at a variety of DPI, including 600 & 1200.
Alternate for UNIX:
http://www.cs.wisc.edu/~ghost/doc/AFPL/6.50/Ps2pdf.htm
<http://www.cs.wisc.edu/%7Eghost/doc/AFPL/6.50/Ps2pdf.htm>
http://www.itl.nist.gov/div898/software/dataplot/refman1/auxillar/postconv.htm

(Just google convert postscript to jpeg and a zillion programs will
turn up.


How about exporting as postscript and importing that into a program like
Corel Dram / Photoshop which should be able to produce higher resolution
images.


Our best solution is to use Adobe Acrobat to print the output to a .PDF
File. I have installed Adobe Illustrator 10.0 on all of the PCs in the
lab, and you can edit the .PDF files with no loss of resolution (because
it is still in an "object oriented" format. Adobe Illustrator will let
you export your final figure in whatever format you desire (from Windows
Metafiles to high-resolution JPEG or other bitmap images).


NUTS can copy spectra as metafiles (vector drawings) at very high
resolution. See http://www.acornnmr.com/copying.htm and links to Word
docs contained therein. Illustrations are 1D data, but works fine with
contour plots as well.


Not a direct answer to your question as I would never save a spectrum as
a bitmap, except perhaps for import in to PowerPoint. A vector format
will be scalable and preserve all resolution. The latest version of
XwinPlot allows spectra to be saved as PDFs, older versions and XwinNMR
itself allow saving as postscript.


You can use PStill or Ghostscript to convert postscript to PDF, or Adobe
Illustrator/Corel Draw to convert to EPS, PDF, SVG or whatever suits
your purposes best. You can even create a TIFF this way if you really
want to.
 

You can create a PostScript file and then convert it using the UNIX
program Ghostscript. I always convert to bitmap at 200 bpi (black and
white) and then annotate in Microsoft Paint, saving as a pdf.


You have hit a pet peeve here. Spectra and vector graphics in general
should NEVER be dealt with in ANY bitmap format -- it is crazy to use a
format that is so wasteful on space and prints only at that resolution,
when you could just allow the printing process to dictate the resolution
for you. Some journals say they want TIFFs etc, but they do NOT!! What I
am saying is to use postscript or pdf!! -- that is what the people
actually doing the printing really want too. Simply save the pdf of the
files and they will print nicely at any resolution in the publication.
You can also do beautiful editing, labeling, coloring etc in a real
graphics program like Adobe Illustrator. All this is much easier on a
Mac where all graphics (to screen and print) are in a pdf format, but it
works on Windows or Linux too.
Another advantage is file size. A 600 DPI full page figure will take up
to 50 MB as a 600 dpi TIFF, but the pdf will be only 100KB or so!!! It
will resize any way you want it to without crapping out and will look
its best on what ever printer is used. Vector graphics rules unless you
are dealing with actual art or photographs.


MestReC DOES export a vector graphics format called an extended metafile
- EMF - under "File > Export file > Metafile..." This file type is
standard and can be read into lots of PC programmes like PowerPoint,
Adobe Illustrator, etc. You can also get the same thing from the
clipboard with "Edit > Copy > Copy metafile to clipboard". As I
mentioned it is a vector representation than can be pasted into your
application and then resized without loss of detail.
 Just one quirk: under "Options > settings" you need to tick the box to
say you want colour images. You have a lot of control over line
thicknesses, colour, fonts, etc. for just about everything that goes
onto the spectrum. I use it a lot for posters and presentations and it
always looks good. Hint: increase line thickness a bit for more impact.


I would add one useful correction: tiff's of B&W line art are quite
small. Where a 300 dpi bitmap of an 8x10 page is several Mbyte; a jpg
about 100 Kbyte; a 10 Kbyte tif has none of the ghostly shadows jpg
produces. (With the right tif settings; "FAX" settings are close).
This makes tif's very handy for emailing.
Received on Tue Aug 23 2005 - 09:49:50 MST

This archive was generated by hypermail 2.4.0 : Sat Jun 10 2023 - 19:47:54 MST