Hi! I guess you arrived at a little hotspot. There has been discussions in this list about PDL reading and writing TIFF files. It is normally OK, but not straightforward if you want to work with 16 bit files. GeoTIFFs might be a different problem. In this regard, one of my favourite wishes for Santa Claus is a module called PDL::GDAL or something like that. I also wish I could write it myself ...
Hernán 2009/3/6 P Kishor <[email protected]>: > Greets, > > So, I have finally moved beyond installing (more on that elsewhere), > and am trying to read/write geotiffs. As I understand, PDL by itself > reads and writes PNM only, and optionally JPEGs, and uses NetPBM for > translating between various other formats. > > Now, I have NetPBM installed successfully, and I have libtiff > installed as well. I am expecting everything to just work, but I am > sure I am experiencing a 'user error' moment here. > > ---- > perldl> @foo = PDL->rpiccan() > > perldl> print @foo > JPEG PNM > > perldl> use PDL::AutoLoader > > perldl> $tif = > '/Users/punkish/Projects/Learning_PDL/cartagena_geotiff/49573847\49573847.tif' > > perldl> $img = PDL->rpic($tif, {FORMAT => 'TIFF'}) > PDL: Oops, this is not a PNM file > Caught at file (eval 47), line 4, pkg main > ---- > > Please hold my hand. > > > -- > Puneet Kishor http://www.punkish.org/ > Nelson Institute for Environmental Studies http://www.nelson.wisc.edu/ > Carbon Model http://carbonmodel.org/ > Open Source Geospatial Foundation http://www.osgeo.org/ > > _______________________________________________ > Perldl mailing list > [email protected] > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl > -- Hernán De Angelis Linux user # 397217 _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
