Hello,
This is probably really easy, but I'm a newbie so I'm not sure how to
do it.   I'm trying to output a 16-bit Tiff, but all I get is an 8 bit
tiff.
Here's my pseudo code:


use PDL;
use PDL::NiceSlice;
use PDL::IO::Pic;

$blank_slate = zeroes(1800,900);

.......in here i add values to the blank_slate piddle from 0 to about 3000

$blank_slate->wpic("test.tif");


So, if I look at test.tiff  it's 1800x900 pixels, but the max value is
255 and not 3000.  If it was a 16-bit tiff it could accomodate this
value.  I'm running this on Windows XP, and I have the netpbm binaries
installed. (I noticed my wpic command calls pnmtotiff )

Any ideas?

Thanks much,
Janos

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to