comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: How to make higher resolution GIF or JPEG image?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to make higher resolution GIF or JPEG image? [message #38021] Tue, 17 February 2004 12:35 Go to previous message
bleau is currently offline  bleau
Messages: 24
Registered: November 1993
Junior Member
In article <102qkjo6mqkgrd4@corp.supernews.com>, Michael Wallace <mwallace.removethismunge@swri.edu.invalid> writes:
[snip]
> It's not that PS is high resolution -- it's because PS uses vector
> graphics rather than raster graphics. This allows PS viewers to redraw
> the image when the resolution changes.

Okay, that makes sense.

>> Does anyone know of a way to convert PS to GIF? I read about
>> Ghostscript and Ghostview, but the ftp site says they removed the GIF
>> generation capabilities from the package due to licensing problems.
>> Since we're going to be displaying these gif's on the web, that's
>> probably not a way for us to go. Any other ideas?
>
> You can use PNG instead of GIF. PNG is basically a free replacement for
> GIF. It's been supported in IDL for a while and nearly everyone who I
> work with who use to use GIFs now use PNGs. I wouldn't recommend JPEG
> or any other lossy format. And PNGs can be seen without problem in web
> browsers.

That's the concern here: That many folks have web browsers that haven't
been upgraded in a while and won't be able to support PNG. I counselled
against using JPEG, but there's not many alternatives if one rules out PNG.

> Fonts created in IDL direct graphics do not look good at all, and there
> are many here who have voiced similar complaints. One thing you can do
> is use hardware fonts or use object graphics. Another thing you can do
> is the "make 'em big trick" as described here:
> http://www.dfanning.com/graphics_tips/zfonts.html

This technique looks interesting and has possibilities; I'll try it. I'm
writing my entire plot to a Z-buffer, though, not just the text. I guess
that means I should make the entire plot 4x larger in each dimension,
right? REBIN will take care of averaging adjacent pixels together for me.

Lawrence Bleau
University of Maryland
Physics Dept., Space Physics Group
301-405-6223
bleau@umtof.umd.edu
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TIFF header
Next Topic: Calling DirectInput from IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 14:03:29 PDT 2025

Total time taken to generate the page: 0.72036 seconds