Skip to main content
Solved

TIF to ECW: Keeping nodata value on ECW

  • September 2, 2025
  • 1 reply
  • 19 views

ares
Contributor
Forum|alt.badge.img+4

I want to transform a geotiff to an ecw while removing the nodata. The geotiff has just one band (band 0: Gray8). I do not have a clipper, so I think cannot use option 2 or 3 mentioned here, but only the first: use a rasterbandnodatasetter.

So I used a rasterbandnodatasetter to set 0 as nodata, but when writing to the ECW this is not retained and still a black border is shown around the georeferenced image.

What should I do to remove it definitely?

 

Best answer by ares

Nevermind. I created a clipper by hand as a new polygon layer in QGIS to have a clipper. Now option 3 works. Solved.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

ares
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • Best Answer
  • September 2, 2025

Nevermind. I created a clipper by hand as a new polygon layer in QGIS to have a clipper. Now option 3 works. Solved.