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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: plotting Ascii in bitmap [message #52299] Sun, 28 January 2007 23:58
Ingo von Borstel is currently offline  Ingo von Borstel
Messages: 54
Registered: September 2006
Member
Hi,

> 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...

Just a few posts earlier, David Fanning gave me an answer on a very
similar question of mine. I'm not sure about colors, though. Look for
the post "Writing on an image" by me - and especially the answer to this
question:
news://news.tu-bs.de:119/eo0k9r$6f$1@rzcomm2.rz.tu-bs.de

Best regards,
Ingo

--
Ingo von Borstel <newsgroups@planetmaker.de>
Public Key: http://www.planetmaker.de/ingo.asc

If you need an urgent reply, replace newsgroups by vgap.
Re: plotting Ascii in bitmap [message #52321 is a reply to message #52299] Fri, 26 January 2007 08:27 Go 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
>
Re: plotting Ascii in bitmap [message #52322 is a reply to message #52321] Fri, 26 January 2007 08:09 Go to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
Will using the Z-buffer help performance enough? Give it try.

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
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Wed Oct 08 19:05:21 PDT 2025

Total time taken to generate the page: 0.00659 seconds