Re: TIFF Data formats [message #55694] |
Wed, 05 September 2007 08:41 |
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  |
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  |
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?
|
|
|