[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Re-sampling a 32 bit geotif



2009/3/7 Jamie Lahowetz <jlahowetz gmail com>:
> 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 may get some usable error output however.  Does the program
that created those TIFF files have some kind of bit depth option you
can use?

Thanks,

Brian

>> 2009/3/7 Jamie Lahowetz <deadpickle gmail com>:
>> > 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...
>>
>> Regards
>>
>> Jeff
>
>
>
> --
> Jamie Ryan Lahowetz
> University of Nebraska - Lincoln
> Graduate Student - Geosciences
> 402.304.0766
> jrl9262 huskers unl edu
>
> _______________________________________________
> gtk-perl-list mailing list
> gtk-perl-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-perl-list
>
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]