Re: [gdal-dev] Re: TiffAppendToStrip errors with uncompressed output [SOLVED]

2012-05-13 Thread Even Rouault
Le mercredi 09 mai 2012 12:13:06, Jukka Rahkonen a écrit : Ahem, It seems to be so that compression makes resulting tiff files smaller. In some cases they can then fit to almost full disk even there is not enough room for an uncompressed version. An explanation for why I did not notice

Re: [gdal-dev] Re: TiffAppendToStrip errors with uncompressed output [SOLVED]

2012-05-13 Thread Rahkonen Jukka
Even Rouault wrote: - In case of uncompressed tiff output, make driver to test beforehand if there is enough disk space for the target image I'm not aware of a portable way of doing that (I haven't searched a lot though). For the record, I've tried the following trick : seek to the offset

[gdal-dev] Re: TiffAppendToStrip errors with uncompressed output [SOLVED]

2012-05-09 Thread Jukka Rahkonen
Ahem, It seems to be so that compression makes resulting tiff files smaller. In some cases they can then fit to almost full disk even there is not enough room for an uncompressed version. An explanation for why I did not notice that disk was too full was that the LZW compression is so effective