Subject: Black background spectrum image saving
From: Tom Goddard
Date: Jan 27, 2009

Next: 551


Philip Weisshuhn wrote:
Dear Sparky-Developer,
I would like to ask you something. When using Sparky, the background
is black and peaks can be nicely viewed. However, when exporting to an
post-script file, the background becomes white. To get back to the
black background, I export the picture as a postscript file and open
it with adobe photoshop, than I manipulate the background color.
Unfortunately, the bright colors from sparky become less bright.
Instead of this I used the screenshot option and here, the colors were
better but the resolution worse. Do you have any recomendations how to
get the best picture exported into powerpoint with a black background?
Thank you so much for your help!
Regards,
Philip
Hi Philip,

Youve tried the two available options. Probably the photoshop on the
postscript image gives colors that are not as bright as in Sparky
windows because the contour line thicknesses are smaller. You can edit
the postscript file Sparky produces with a text editor to thicken those
lines. Below is the little block of postscript I changed to thicken up
the contour lines by a factor of 10. The other approach is to make as
big a window on-screen as possible and do a screen capture. On a high
res display (1900 x 1200 say) that might be adequate quality.

Tom


%
% Color printer check. If true, the /4color variable is set to be true.
%
has_color {
/4color true def
% 1.0 setlinewidth
10.0 setlinewidth
}{
/4color false def
% 0.25 setlinewidth
2.5 setlinewidth
} ifelse