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 #58035 is a reply to message #58034] Sat, 12 January 2008 11:44 Go to previous messageGo to previous message
skymaxwell@gmail.com is currently offline  skymaxwell@gmail.com
Messages: 127
Registered: January 2007
Senior Member
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])
;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: Sat Oct 11 01:26:22 PDT 2025

Total time taken to generate the page: 0.87855 seconds