Trouble with graphics formats [message #6276] |
Thu, 23 May 1996 00:00 |
slx
Messages: 7 Registered: February 1996
|
Junior Member |
|
|
Hi,
I am having trouble with writing bmp, gif files etc. The image
written with write_bmp is fine if you read it back with read_bmp in idl,
but if I ftp the file to windows it comes across all blue instead of
grey and scewed as though each line of pixels is out of register with
the one below? Has anyone ever had experience with this problem. When I
use write_gif the program that I use to read it just says 'corrupted
file' and gives up. Here's the code I'm using
data = tvrd()
tvlct, r, g, b, /get
WRITE_BMP, 'test.bmp', data, r ,g, b
any ideas?
Ta muchly
Samantha
Samantha Lane Australian Nuclear Science and
slx@anpnt22.anp.ansto.gov.au Technology Organistation
ISD + 61 2 717 3601 New Illawarra Rd ,
Lucas Heights. 2234
|
|
|