Timeline for How to convert ECW to PNG with gdal_translate while preserving colors
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 15, 2021 at 16:41 | comment | added | user30184 |
Your image has 5 channels and png format does not support that. Just to make sure that the the input image is generally OK try gdal_translate -of GTiff -co tiled=yes -co compress=deflate test.ecw test.tif . If is ok have a new try with png format by selecting three bands for RGB with the -b parameters.
|
|
May 15, 2021 at 16:34 | comment | added | user30184 | You may suggest the developer of the software to add support for more GIS-friendly formats like tiled GeoTIFF. Your image has a size of 16000 by 24000 pixels and the software must always open the whole PNG image even if it would only need a small subset. | |
May 15, 2021 at 13:06 | comment | added | user183474 | @user30184 Done. Because I need to use the images in some software that only support PNG. | |
May 15, 2021 at 13:06 | history | edited | user183474 | CC BY-SA 4.0 |
added 3084 characters in body
|
May 14, 2021 at 19:07 | comment | added | user30184 | Add gdalinfo report about the source image. Why do you want to create output as PNG? It is very bad GIS format for big images. | |
May 14, 2021 at 14:57 | comment | added | user183474 | @wingnut gdal_translate tells me that the JPEG2000 driver is deprecated. If I suppress the message, I get "0ERROR 1: Unable to write scanline 0 of the component 0." | |
May 14, 2021 at 14:54 | comment | added | user183474 | @KadirŞahbaz I've done that now | |
May 14, 2021 at 14:53 | history | edited | user183474 | CC BY-SA 4.0 |
Added command used
|
May 14, 2021 at 14:37 | comment | added | wingnut | What happens if you translate to JPEG2000 instead? | |
May 14, 2021 at 14:18 | review | First posts | |||
May 14, 2021 at 14:26 | |||||
May 14, 2021 at 14:15 | history | asked | user183474 | CC BY-SA 4.0 |