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

Home » Public Forums » archive » Re: image on map
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: image on map [message #58033] Sat, 12 January 2008 12:49 Go to previous message
Foldy Lajos is currently offline  Foldy Lajos
Messages: 268
Registered: October 2001
Senior Member
On Sat, 12 Jan 2008, skymaxwell@gmail.com wrote:

> Thanks for your reply, David
>
> but now another question
> now i want to create BMP file
> i was looked at one of your tips
>
> http://www.dfanning.com/color_tips/howjpeg.html
>
> and some forum messages here. So here is my code
>
> ;read image from idl window
> image=TVRD(TRUE=1)
> help,image
> ;something wrong with microsoft ? RGB to BGR
> newImage=Transpose(image[2,1,0])

newImage=Transpose(image,[2,1,0])

regards,
lajos

> ;try create bmp
> WRITE_BMP,'file_src.bmp',newImage;,/RGB
>
>
> and i got the error
>
> IMAGE BYTE = Array[3, 600, 360]
> TRANSPOSE: Expression must be an array in this context: <BYTE
> ( 0)>.
> Execution halted at: $MAIN$ 58 C:\Documents and Settings
> \user\Desktop\bmpwindow.pro
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: image on map
Next Topic: how to sort data based on other sorted data

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

Current Time: Fri Oct 10 13:18:32 PDT 2025

Total time taken to generate the page: 0.39930 seconds