[OpenLayers-Dev] PNG - AGG image, opacity and IE7
Guillaume Sueur
guillaume.sueur at neogeo-online.net
Fri Jul 18 09:14:42 EDT 2008
it does indeed.
thanks
Pierre GIRAUD a écrit :
> Hum, just found that
> http://www.quirksmode.org/bugreports/archives/2007/02/Cant_have_both_PNG32_and_alphaopacity_in_IE7.html
>
> It seems like it is exactly linked to your problem.
>
> Regards,
> Pierre
>
> On Fri, Jul 18, 2008 at 11:34 AM, Guillaume Sueur
> <guillaume.sueur at neogeo-online.net> wrote:
>> Hi Pierre,
>>
>> Here are two print screen :
>> agg_opacity_1.png : the layer as seen in IE7 with no transparency : perfect.
>> agg_opacity_0_5.png : the layer as seen in IE7 with 50 % transparency :
>> ugly.
>>
>> Note that the style of the layer hasn't got any background.
>>
>> Guillaume
>>
>> Pierre GIRAUD a écrit :
>>> Is your image displayed correctly by IE7 if you try to show it alone
>>> in your browser (with a background color) ?
>>> Can you send us a example of generated image ? And a screenshot of the
>>> unexpected behavior ?
>>>
>>> Regards,
>>> Pierre
>>>
>>>
>>> On Fri, Jul 18, 2008 at 9:45 AM, Guillaume Sueur
>>> <guillaume.sueur at neogeo-online.net> wrote:
>>>> Kenneth Skovhede, GEOGRAF A/S a écrit :
>>>>> I have seen this as well. It happens whenever you set the "alpha" value
>>>>> in IE7.
>>>>> It even happens if the value is set to 1.0, but a fix in OpenLayers 2.6
>>>>> removes
>>>>> the "alpha" value if the opacity value is greater than 1.0.
>>>>> (OpenLayers.Util.modifyDOMElement line 191).
>>>>>
>>>>> I'm fairly sure its an IE bug.
>>>> So am I ! Just wanted to kown if a kind of workaround was possible.
>>>>
>>>> Guillaume
>>>>
>>>>
>>>>> Regards, Kenneth Skovhede, GEOGRAF A/S
>>>>>
>>>>>
>>>>>
>>>>> Guillaume Sueur skrev:
>>>>>> no, mapserver, but it's a typical client problem.
>>>>>> when the polygon is filled, it looks quite ok, because only the outline
>>>>>> border is wrong, but with lines and labels, whaouh, so crap !
>>>>>> when opacity is 1 or format is standard PNG, the problem doesn't show
>>>>>> up.
>>>>>>
>>>>>> Guillaume
>>>>>>
>>>>>> Zac Spitzer a écrit :
>>>>>>
>>>>>>> was this using mapguide? I have seen similiar problems
>>>>>>>
>>>>>>> On Fri, Jul 18, 2008 at 12:11 AM, Guillaume Sueur
>>>>>>> <guillaume.sueur at neogeo-online.net> wrote:
>>>>>>>
>>>>>>>> Hi devs,
>>>>>>>>
>>>>>>>> When displaying a WMS layer (AGG image) with some transparency on
>>>>>>>> IE7,
>>>>>>>> it shows ugly grey pixels surrounding the borders. I guess it comes
>>>>>>>> from
>>>>>>>> a mishandling of the antialiased pixels from AGG. Any trick to hold
>>>>>>>> that ?
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>> Guillaume
>>>> _______________________________________________
>>>> Dev mailing list
>>>> Dev at openlayers.org
>>>> http://openlayers.org/mailman/listinfo/dev
>>>>
>>
>>
>
More information about the Dev
mailing list