Re: [OpenMap Users] Strange results with SHIS image

From: Don Dietrick <>
Date: Mon, 9 Aug 2004 12:04:20 -0400

Hi Christian,

On Aug 9, 2004, at 6:38 AM, Christian Weaves wrote:

> Hi,
> I'm getting some strange results when using the SimpleHttpImageServer
> object. I request a map image and most of the time image is sent back
> correctly as shown in the first image I've attached to this post.
> The problem arises when I zoom out and more OMGraphic objects are
> added to the OMGraphicList container. I get a back background instead
> of a blue one as shown in the second image I've attached.
> I tried increasing the memory available to the Virtual Machine but
> this doesn't seem to have any effect. Is this some sort of limitation
> of the OMGraphicList container? I hope not.

It's definitely not that.

> I've also tried changing the background color by appending
> &BGCOLOR=89c5f9 to the url but the image still comes back wrong. Has
> anybody come across this problem before?

My guess is that's it's an issue with transparency, with transparent
pixels being rendered as black in the image itself. I'd make sure you
are actually using the GIF image formatter (and not naming JPEGs as
GIFs). This would cause the image formatter to create the
BufferedImage with a TYPE_INT_RGB instead of TYPE_INT_ARGB, and the
transparent pixels would show up as black.

- Don

Don Dietrick,
BBN Technologies, Cambridge, MA

[To unsubscribe to this list send an email to ""
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Aug 09 2004 - 12:04:57 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:05 EDT