On Mon, Apr 19, 2010 at 11:54 AM, Chris Marshall <[email protected]> wrote:
> P Kishor writes:
>>
..
>
>> 2. (Minor point). Why are PDL's interfaces with
>>    various graphics libraries under PDL::Graphics::*,
>>    but PDL's interface with GD is under PDL::IO::*.
>
> GD is a file IO library (reading and writing image files).
> The PDL::Graphics::* modules are for drawing/display, not
> just file IO.
>

Hmmmm... never thought of it that way. Always thought of GD as a
graphics library, but I guess it makes sense to think of modules for
actually displaying the images as being different from modules that
create those images in the first place.

>>
>>    On top of that, PDL::IO::GD is actually listed
>>    under the "Documentation" sub-heading rather than
>>    under the "Modules" sub-heading....
>
> Documentation bugs are bugs.  You'll need to provide
> more specific information for an official bug/problem
> report.  See BUGS for what to include.

Ok. I filed it in the sf bug tracker, but basically it is the same
info as noted above. Nothing more.
..
>
>> 4. Finally, my question re. using PDL::IO::GD. I
>>    have a PDL constructed out of a query from a db. It
>>    looks like so $a = [[$var,$x,$y],[$var,$x,$y] ..];
>>    I want to create a lookup table based on the
>>    values of $var...
>
> There was a previous discussion on pdl-porters about
> making a LUT for image display.  See the thread at
>
> http://mailman.jach.hawaii.edu/pipermail/pdl-porters/2006-December/000643.html

Thanks for that link. It is very useful, but it is further down the
road for me. I am still at the "how do I make an image from a
collection of x,y values" stage.

-- 
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

Reply via email to