[Geoserver-devel] [JIRA] (GEOS-9060) Bad rendering with JAI-EXT and Input/Output TransparentColor options

Gnafu created an issue

GeoServer / BugGEOS-9060

Bad rendering with JAI-EXT and Input/Output TransparentColor options

Issue Type:

BugBug

Affects Versions:

2.14.2

Assignee:

Unassigned

Attachments:

clipped.tif

Components:

WMS

Created:

13/Dec/18 11:46 AM

Environment:

Reproduced on Windows (binary package) and Linux (war on tomcat)

Priority:

MediumMedium

Reporter:

Gnafu

Tested with latest 2.14.x-SNAPSHOT bin package.
Use the attached sample GeoTiff to reproduce the bug

This bug appears only if JAI-EXT is enabled ( -Dorg.geotools.coverage.jaiext.enabled=true )
and only on layers that defines an InputTransparentColor o OutputTransparentColor ( available on mosaics )

No errors appear in the log.

To reproduce:

  • Download the latest 2.14.x package: https://build.geoserver.org/geoserver/2.14.x/geoserver-2.14.x-latest-bin.zip
  • Download the attached sample file or use a GeoTiff with nodata values.
  • Create a GeoTiff store from the sample file
  • Publish the layer
  • Check the layer preview: it should work fine
  • Go back to the layer settings and set the “InputTransparentColor” to 000000
  • Check the layer preview: the images are bad

The same happens with ImageMosaics that set an OutputTransparentColor value.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100095-sha1:4c6e108)

Atlassian logo