add transparency support

Description

Add support for transparancy - I have code for this in my version of gt2wms.

Environment

None

Activity

Show:
codehaus
April 10, 2015, 3:50 PM

CodeHaus Comment From: cholmes - Time: Tue, 21 Sep 2004 14:56:19 -0500
---------------------
<p>I think we've got this working, the only problem is that most of the output formats of GeoServer don't actually support transparency. But the code is there, and we've got some work to produce gifs (which do transparent), on the way as well...</p>

codehaus
April 10, 2015, 3:50 PM

CodeHaus Comment From: ianturton - Time: Sat, 2 Oct 2004 10:10:40 -0500
---------------------
<p>further testing needed</p>

codehaus
April 10, 2015, 3:50 PM

CodeHaus Comment From: ianturton - Time: Sat, 2 Oct 2004 10:12:09 -0500
---------------------
<p>change at line 303/304

BufferedImage image = new BufferedImage(width, height,

BufferedImage.TYPE_INT_ARGB);</p>

codehaus
April 10, 2015, 3:50 PM

CodeHaus Comment From: ianturton - Time: Sat, 2 Oct 2004 10:14:48 -0500
---------------------
<p>simple test page - assumes you have geoserver running on 8080.

If all is working correctly you should see the cyan background through the images on the right but not the left. The lower row uses a semi-transparent style so it looks different on the right.</p>

codehaus
April 10, 2015, 3:50 PM

CodeHaus Comment From: ianturton - Time: Sat, 2 Oct 2004 10:16:21 -0500
---------------------
<p>now works for png, I haven't tested it for gifs.</p>

Fixed

Assignee

Unassigned

Reporter

codehaus

Triage

None

Fix versions

Affects versions

Components

Priority

Low