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

Home » Public Forums » archive » Re: plotting Ascii in bitmap
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: plotting Ascii in bitmap [message #52321 is a reply to message #52299] Fri, 26 January 2007 08:27 Go to previous messageGo to previous message
Paolo Grigis is currently offline  Paolo Grigis
Messages: 171
Registered: December 2003
Senior Member
hradilv wrote:
> Will using the Z-buffer help performance enough? Give it try.

But the Z-buffer has only 8-bit available for the colors in the
picture, right? Then it won't work if you have more than
255 different colors in your picture...

Paolo


>
> On Jan 26, 6:47 am, "Gert" <Gert.VandeWouwerNO @ SPAM.com> wrote:
>> Hi,
>>
>> I need to plot colored numbers (and letters) on a bitmap and then save the
>> result. It's not necessary to view the overlay bitmap in IDL.
>> so:
>> x = read_tiff('bitmap.tif')
>> overlay=x ;maybe be make an RGB here..
>> plottext('kjdhkj',positionrow,positioncol)
>> plottext('323',positionrow,positioncol)
>> write_tiff, x, 'overlay.tif'
>>
>> Does anyone know how the plottext() function should look like? I did it once
>> by:
>> tvsxcl,x
>> plot, stuff
>> oplot, stuff...
>> tvrd, overlay
>> but this isn't very practical if x is 5000x5000 bitmap...
>>
>> Thanks,
>>
>> Gert
>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: ION configure
Next Topic: Re: Overplot nice looking globe on 2d satellite images

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

Current Time: Sat Oct 11 16:01:52 PDT 2025

Total time taken to generate the page: 0.24193 seconds