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

Home » Public Forums » archive » image size
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
image size [message #9980] Wed, 17 September 1997 00:00
Nicolas Stern is currently offline  Nicolas Stern
Messages: 2
Registered: September 1997
Junior Member
Did anyone see something similar happen :
I use write_tiff to save arrays as true color image.

array_1=bytarr(512,512)
array_2=bytarr(512,512)
array_3=bytarr(512,512)
array_1[*,*]=255
array_2[*,*]=10
array_3[*,*]=10
WRITE_TIFF, 'test.tif',
RED=array_1,GREEN=array_2,BLUE=array_2,PLANARCONFIG = 2

Now, when I open the test.tif image with an image processing soft (PSP,
v4.0), the image size is 491*491 ! Saving a 512*512 byte array as a
grayscale image doesn't produce a similar artefact ! (I suppose the
problem does not come from IDL.)

Nicolas Stern
[Message index]
 
Read Message
Previous Topic: Saving pixmaps
Next Topic: Numerical Recipes diffs?

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

Current Time: Thu Oct 09 07:52:21 PDT 2025

Total time taken to generate the page: 1.12103 seconds