Changeset 7132 in josm for trunk/test/unit/org/openstreetmap

Timestamp:
2014-05-15T03:15:28+02:00 (10 years ago)
Author:
Don-vip
Message:

fix #9984 - Add support for WMS tiles defining a transparent color in RGB space (tRNS PNG chunk for example), instead of a proper alpha channel. Surprisingly, Java does not support that out of the box, ImageIO.read always returns opaque images. Allows to switch between this mode and standard mode using WMS layer contextual entry "Use Alpha Channel", for consistency with images defining an alpha channel. Does not impact other images than WMS tiles.

File:
1 added

Note: See TracChangeset for help on using the changeset viewer.