Skip to main content
Question

Tiff 2 ECW without black background


koenvdw
Contributor
Forum|alt.badge.img+6

Hi

 

I have a workbench that converts Tiff tiles into one jpeg2000 with a transparent background.

This is the bench:

 

When I replace the jpeg2000 writer with an ECW writer I get a black background.

 

When I load a jpeg2000 in Qgis, the background is transparent.

When I load the ecw in Qgis I have to select in the settings under transparency band 3 as transparency band and then it's like the jpeg2000, but with an extra step.

 

Sadly our customer works with CAD and there I cant remove the black background with a setting....

 

Am I doing something wrong?

 

 

 

 

 

 

 

 

3 replies

david_r
Evangelist
  • April 1, 2020

It looks like NODATA isn't supported in ECW, see here http://docs.safe.com/fme/2020.0/html/FME_Desktop_Documentation/FME_ReadersWriters/ecw/quick_facts_ecw.htm

I suspect that you have use an alpha-band for the transparency. Have a look at the sample posted by @helmoet here: https://knowledge.safe.com/questions/42118/making-black-no-data-cells-transparent-in-ecw-rast.html


koenvdw
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • April 1, 2020
david_r wrote:

It looks like NODATA isn't supported in ECW, see here http://docs.safe.com/fme/2020.0/html/FME_Desktop_Documentation/FME_ReadersWriters/ecw/quick_facts_ecw.htm

I suspect that you have use an alpha-band for the transparency. Have a look at the sample posted by @helmoet here: https://knowledge.safe.com/questions/42118/making-black-no-data-cells-transparent-in-ecw-rast.html

thx for your comment. Can you check the link you provided, because it's a link to this article...


david_r
Evangelist
  • April 1, 2020
koenvdw wrote:

thx for your comment. Can you check the link you provided, because it's a link to this article...

Sorry about that. Fixed.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings