Re: [OpenMap Users] Strange results with SHIS image

From: Christian Weaves <christian.weaves_at_fugro-robertson.com>
Date: Tue, 10 Aug 2004 09:40:18 +0100

I take my hat off to you Don, right everytime!

Thanks very much!

Don Dietrick wrote:

> 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, dietrick_at_bbn.com
> BBN Technologies, Cambridge, MA
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]



--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Aug 10 2004 - 04:41:31 EDT

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