Re: Re-sampling a 32 bit geotif

2009-03-07 Thread Brian Manning
2009/3/7 Jamie Lahowetz : > I tried to make a test script but it crashes when trying to read the geotif. > Any ideas? Try ImageMagick from the command line? convert -depth 24 NED_52181266.tif NED_52181266.24bit.tif If it crashes there, then you need to find some other tool to convert it. You ma

Re: Re-sampling a 32 bit geotif

2009-03-07 Thread Jamie Lahowetz
I tried to make a test script but it crashes when trying to read the geotif. Any ideas? #!/usr/local/bin/perl -w use strict; use Image::Magick; my($image, $x); $image = Image::Magick->new; $x = $image->Read('NED_52181266.tif'); warn "$x" if "$x"; my ($width, $height) = $image->Get('columns', 'r

Re: Support for graphs/charts in gtk?

2009-03-07 Thread zentara
On Sat, 7 Mar 2009 11:42:38 +1300 Srdan Dukic wrote: >2009/3/7 Paul Miller > >> >> What are these "advanced" features we're looking for? animations and >> things? >> > >The advanced features are things like being able to create 'clickable' >areas, such as if a user was to click on a 'slice' of a

Re: Support for graphs/charts in gtk?

2009-03-07 Thread zentara
On Sat, 7 Mar 2009 09:48:20 +0100 Jörn Reder wrote: >zentara wrote: > >> >What are these "advanced" features we're looking for? animations and things? >> >> If I can toss one out... how about 3-d animations with text frame overlays. >> :-) >> A 3d drawing area/canvas. A canvas would be nice,

Re: Gtk2::ImageView memory issue

2009-03-07 Thread Jeffrey Ratcliffe
2009/3/7 muppet : > Simplest is to wrap it: I should have thought of that... Unfortunately, it's not being called. I have: static void wrap_gdk_pixbuf_draw_cache_free (void * the_thing) { g_print ("OMG I'M ABOUT TO FREE A GdkPixbufDrawCache AT %p\n", the_thing); gdk_pixbuf_draw_cache_free (

Re: Re-sampling a 32 bit geotif

2009-03-07 Thread Jeffrey Ratcliffe
2009/3/7 Jamie Lahowetz : > I am trying to display a geotif using Gtk2::Gdk::Pixbuf but the geotif is 32 > bits and only a 24 bit image can be read in. I want to know if there is a > way to resample the geotif so that it can be loaded into my Perl program. I imagine Imagemagick is your friend...

Re: Support for graphs/charts in gtk?

2009-03-07 Thread Jörn Reder
zentara wrote: > >What are these "advanced" features we're looking for? animations and things? > > If I can toss one out... how about 3-d animations with text frame overlays. > :-) > A 3d drawing area/canvas. A canvas would be nice, for persistence of items. > We could start writing TV commerci