Hi all,
I’ve setup a geoserver instance with 1 simple shapefile with 1 style.
When I deploy this on OC4J (Oracle application server) I cannot get a transparent image.
I’ve also deployed this on my laptop on apache-tomcat 6 which gives nice transparent images.
What is involved in creating transparent images so I can analyze the differences between the 2 environments more closely (already installed new java 6u10 and advanced-imaging but that doesn’t help.
Cheers
Kris
Kris Geusebroek ha scritto:
Hi all,
I’ve setup a geoserver instance with 1 simple shapefile with 1 style.
When I deploy this on OC4J (Oracle application server) I cannot get a transparent image.
I’ve also deployed this on my laptop on apache-tomcat 6 which gives nice transparent images.
What is involved in creating transparent images so I can analyze the differences between the 2 environments more closely (already installed new java 6u10 and advanced-imaging but that doesn’t help.
To just get transparent images you don't need to install anything
special, JAI image I/O native components gives you just a speedup
in image encoding.
Are you sure you're using the same request parameters and the
same image format in both environments?
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Hi Andrea,
I'm pretty sure that i'm using the same request parameters (can check
tomorrow to be 100% sure)
I can even see some difference when adding/removing the parameter
transparent=true to the request (grey background becomes a white
background but not transparent) in the oc4j environment.
Cheers Kris
-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com]
Sent: Monday, October 27, 2008 11:52 AM
To: Kris Geusebroek
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Transparant tiled images
Kris Geusebroek ha scritto:
Hi all,
I've setup a geoserver instance with 1 simple shapefile with 1 style.
When I deploy this on OC4J (Oracle application server) I cannot get a
transparent image.
I've also deployed this on my laptop on apache-tomcat 6 which gives
nice
transparent images.
What is involved in creating transparent images so I can analyze the
differences between the 2 environments more closely (already installed
new java 6u10 and advanced-imaging but that doesn't help.
To just get transparent images you don't need to install anything
special, JAI image I/O native components gives you just a speedup
in image encoding.
Are you sure you're using the same request parameters and the
same image format in both environments?
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Kris Geusebroek ha scritto:
Hi Andrea,
I'm pretty sure that i'm using the same request parameters (can check
tomorrow to be 100% sure)
I can even see some difference when adding/removing the parameter
transparent=true to the request (grey background becomes a white
background but not transparent) in the oc4j environment.
Well, I have no idea... to make a transparent image we just render
over a RGBA buffered image and then call the java or jai png
encoder and that's it. Depending on the options you might
have added (antialiasing settings, palette) there might
be some intermediate steps, but that's it.
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Hi Kris,
What is involved in creating transparent images so I can analyze the
differences between the 2 environments more closely (already installed new
java 6u10 and advanced-imaging but that doesn't help.
the browser is involved in rendering. Keep in mind that IE has up to v6 a
png-transparency bug.
Cheers,
Tilo
Thanks,
On my laptop i have IE7 and on the OC4j env it's IE6 so I think we have
a winner here.
I'll have to check this tomorrow and see how its behaving on for example
firefox or so.
Thanks for the tip
Cheers Kris
-----Original Message-----
From: Tilo Wutherich [mailto:tilo.wuetherich@anonymised.com]
Sent: Monday, October 27, 2008 1:02 PM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Transparant tiled images
Hi Kris,
What is involved in creating transparent images so I can analyze the
differences between the 2 environments more closely (already installed
new
java 6u10 and advanced-imaging but that doesn't help.
the browser is involved in rendering. Keep in mind that IE has up to v6
a
png-transparency bug.
Cheers,
Tilo
------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users