Timeline for Adding alpha band to a TIFF image drastically increases its filesize? [duplicate]
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 17, 2017 at 10:42 | history | closed |
user2856 nmtoken xunilk JGH Kersten |
Duplicate of File size inflation normal with gdalwarp? | |
Dec 16, 2017 at 22:11 | comment | added | user2856 |
@onakua I don't think it matters, solution is the same: gdalwarp -of VRT -dstalpha src.tif dst.vrt && gdal_translate -co compress=whatever dst.vrt dst.tif
|
|
Dec 16, 2017 at 22:02 | comment | added | onakua | Yeah that is my concern. If his gdalwarp call involved clipping (instead of simply adding an alpha band) it will result in file inflation, which as you mention is duplicate. | |
Dec 16, 2017 at 22:00 | history | edited | PolyGeo♦ | CC BY-SA 3.0 |
added 2 characters in body; edited title
|
Dec 16, 2017 at 21:17 | review | Close votes | |||
Dec 17, 2017 at 10:42 | |||||
Dec 16, 2017 at 20:22 | history | edited | Basile | CC BY-SA 3.0 |
Narrowed the problem
|
Dec 16, 2017 at 16:09 | comment | added | onakua | Could you please provide your full gdalwarp call? | |
Dec 16, 2017 at 14:24 | comment | added | user30184 | The original image is probably compressed and you write out an uncompressed image. Check with gdalinfo and use suitable -co compress= option. | |
Dec 16, 2017 at 14:01 | history | asked | Basile | CC BY-SA 3.0 |