I have the following piddle pdl> $a = ones(5, 4)->random pdl> p $a [ [ 0.45599306 0.67084488 0.7872064 0.80197957 0.31240432] [ 0.20072609 0.02941865 0.86771778 0.16045055 0.11242522] [0.017854221 0.20779644 0.74310164 0.41471134 0.54152694] [ 0.85162429 0.087391935 0.046048242 0.92007438 0.15784042] ]
What is the most straight-forward way to create an image whose every pixel is colored with some factor based on each of the above values? I guess, I am seeking recommendations for image IO modules that would accomplish the above. There are a bunch of Graphics and IO modules, for example, PDL::IO::Pic, PDL::IO::GD, and the many PDL::Graphics::* modules. Where am I looking to start? I want to output PNGs and possibly Tiffs (geotiffs). -- Puneet Kishor http://www.punkish.org Carbon Model http://carbonmodel.org Charter Member, Open Source Geospatial Foundation http://www.osgeo.org Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor Nelson Institute, UW-Madison http://www.nelson.wisc.edu ----------------------------------------------------------------------- Assertions are politics; backing up assertions with evidence is science ======================================================================= _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
