comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: TIFF Data formats
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: TIFF Data formats [message #55694] Wed, 05 September 2007 08:41
liamgumley is currently offline  liamgumley
Messages: 74
Registered: June 2005
Member
On Sep 5, 9:31 am, Pestro <peter.str...@jrc.it> wrote:
> Dear All,
>
> I have to convert several thousand(!) ENVI files to LZW compressed
> GeoTIFF's. ENVI outputs GeoTIFF but does not give access to the batch
> routine and does not offer LZW compression. IDL (write_tiff), while
> giving me a lot of flexibility with the GeoTIFF tags and the
> compression, does offer only byte, unsigned short&long and float.
> (Strange enough ENVI can write e.g. signed short and read_tiff ingest
> its correctly to IDL.)
>
> Anyone an idea or a workaround? Can I modify the data type tag in a
> TIFF file after IDL has written it?
>
> Thanks
>
> Peter

If you create the GeoTIFFs in ENVI, and then create a compressed copy
with ImageMagick, this utility might allow you to copy the GeoTIFF
tags from the old image to the new image.

http://remotesensing.org/geotiff/geotifcp.html

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
Re: TIFF Data formats [message #55695 is a reply to message #55694] Wed, 05 September 2007 08:11 Go to previous message
Pestro is currently offline  Pestro
Messages: 2
Registered: September 2007
Junior Member
On Sep 5, 5:01 pm, hradilv <hrad...@yahoo.com> wrote:

> Will ImageMagick do it for you?

I guess not, I can't find the LZW compression and how to influence
the GeoTIFF tags.
Re: TIFF Data formats [message #55696 is a reply to message #55695] Wed, 05 September 2007 08:01 Go to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Sep 5, 9:31 am, Pestro <peter.str...@jrc.it> wrote:
> Dear All,
>
> I have to convert several thousand(!) ENVI files to LZW compressed
> GeoTIFF's. ENVI outputs GeoTIFF but does not give access to the batch
> routine and does not offer LZW compression. IDL (write_tiff), while
> giving me a lot of flexibility with the GeoTIFF tags and the
> compression, does offer only byte, unsigned short&long and float.
> (Strange enough ENVI can write e.g. signed short and read_tiff ingest
> its correctly to IDL.)
>
> Anyone an idea or a workaround? Can I modify the data type tag in a
> TIFF file after IDL has written it?
>
> Thanks
>
> Peter

Will ImageMagick do it for you?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Principal Componets Analysis
Next Topic: Re: Rick Towler please come in again!I can't send a email to you?!

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 08:36:45 PDT 2025

Total time taken to generate the page: 2.80177 seconds