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

Home » Public Forums » archive » Re: 255 and 0
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: 255 and 0 [message #39780] Sat, 12 June 2004 12:24
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Adhara writes:

> I know for sure that my bitmap contains ONLY zeros and 255s. However,
> when I try to transform this bitmap into a Tif image, the result shows
> 238 and 226 as well! How is this possible?

It's not possible. :-)

How do you "know" your bitmap contains only zeros and 255s?
Are both your bitmap AND your TIFF files 2D image arrays?

> I was suggested to scale
> the values, however, this is still happening...

There is absolutely no point in scaling data that
is already scaled into the range you want.

> Can someone help me..???

Probably not without collecting an eye of a newt
or something. I think you computer must be possessed. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Previous Topic: 255 and 0
Next Topic: does the image size matters?

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

Current Time: Sat Oct 11 11:25:55 PDT 2025

Total time taken to generate the page: 0.15857 seconds