Geotiffwrite without compression
Ältere Kommentare anzeigen
Hi,
I am struggling to use "geotiffwrite" without compression.
Writing the file with:
geotiffwrite('output.TIF', A, R, 'GeoKeyDirectoryTag', info.GeoTIFFTags.GeoKeyDirectoryTag);
works fine. But using
geotiffwrite('output.TIF', A, R, 'GeoKeyDirectoryTag', info.GeoTIFFTags.GeoKeyDirectoryTag, 'TiffTags', Tiff.Compression.None);
or any similar code does not work.
errormsg:
"Error using ==> geotiffwrite Expected TiffTags to be one of these types:
struct
Instead its type was double."
Which is right, Tiff.Compression.None is 1, but any ohter input, like Tiff.Compression does not work either.
Could anyone help me with the exact coding or writing a geotiff without compression?
thanks in advance,
ah
Akzeptierte Antwort
Weitere Antworten (1)
Albin
am 26 Mär. 2012
0 Stimmen
Kategorien
Mehr zu Standard File Formats finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!