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

Home » Public Forums » archive » write_png
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: write_PNG [message #40988 is a reply to message #28652] Fri, 17 September 2004 07:49 Go to previous messageGo to previous message
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
In article <10klttimk7lnb76@corp.supernews.com>,
Michael Wallace <mwallace.no.spam@no.spam.swri.edu.invalid> wrote:

> Use David's TVRead() command so that you don't have to be concerned with
> the whole 8-bit vs 24-bit thing.
>
> image = tvread()
> write_png, 'plot.png', image
>
> Just another way to skin a cat.
>
> -Mike

If I remember right, it's not really an 8-bit or 24-bit issue. It's
that WRITE_PNG expects the image to be interleaved over the first
dimension. I usually interleave 24-bit images over the 3rd dimension,
so I have to remember to set TRUE = 1 in TVRD.

I don't have an 8-bit display to test it with. Is TRUE = 1 ignored in
that case?

Ken
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Help displaying live video
Next Topic: Re: Greetings From Munich

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

Current Time: Tue Dec 02 07:09:51 PST 2025

Total time taken to generate the page: 1.84003 seconds