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

Home » Public Forums » archive » Re: off-white background in IDL-generated bitmaps
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: off-white background in IDL-generated bitmaps [message #30358 is a reply to message #30357] Thu, 18 April 2002 10:21 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Hi Steve Smith<steven_smith>, you write:

> I generated some bitmap images (GIF, BMP) using IDL
> and tvrd, they look good on the screen, but when inserted into MS-WORD
> documents, the formerly white background becomes somewhat darkened or
> shaded and stands off from the white page background. Is there a 'trick'
> to make a bitmap image in IDL (with white background) that won't do
> this? I suspect it has something to do with color indexing, so perhaps
> someone will say 'use a non-indexed image format'. I do need compression,
> and since the bitmaps have text in them, JPEG usually isn't a good idea.
> Ideally, a vector-drawn text combined with the bitmapped portion of the
> figure would be best, but I'm not aware of a way to do this in IDL. I'm
> using idl 5.2, by the way. thanks for any suggestions!

Here is an article that explains what is going on and how
to correct it:

http://www.dfanning.com/color_tips/gif_gray.html

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: file i/o help
Next Topic: Replicate from [1, 148] to [1000, 148]

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

Current Time: Wed Dec 03 01:49:22 PST 2025

Total time taken to generate the page: 0.32298 seconds