Use the easy quick web service ECW to Tiff Online converter.
Or, build and run this locally yourself.
There are two different ways to run the converter
- As a web application (the default)
- As a quick docker command without the web application
cd ecw-to-tiff-conversion
# change UPLOAD_FOLDER_MOUNT_PATH to the right setting
cp .env.example .env
docker-compose up --build
Create a directory to store the file(s) you want to convert (e.g. 'uploads').
Run the command as follows:
- Argument one is the filename (not filepath) of the file you want to convert
- Argument two is the full path to the folder where you're storing the image
E.g.
./app/ecw-to-COG.sh my-image-file.ecw $(realpath ./uploads)
Don't know what realpath
does? Or on Windows?
./app/ecw-to-COG.sh my-image-file.ecw C:\Users\Documents\uploads)
Your file will be converted into a GTiff
file format, and placed into the uploads folder
with the filename suffix _converted.tiff
.
Docker Desktop should be changed to use WSL2 mode
-
How to install WSL2 https://learn.microsoft.com/en-us/windows/wsl/install-manual
-
How to enable WSL2 with docker-desktop https://docs.docker.com/desktop/wsl/
-
Clone the repo https://github.com/KarmaComputing/ecw-to-tiff-conversion.git
-
Do the "How to run it" section