Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - AlphaImageLoader Filter problem

 
Thread Tools Search this Thread
Old 06-15-2006, 02:42 PM   #1
Default AlphaImageLoader Filter problem


This might not the best place for this, but what the heck. I've got a
page that has a bunch of 24-bit PNG files with transparency. For IE I'm
using the AlphaImageLoader filter to get around it's limitations with
the format. I've been doing this for about a year, having seen Google
successfully deploy the solution with Google Maps, and I've never had
any problems with it.

Well, now I've got a client that's having a problem. Some (not all,
oddly) of the PNGs on his website are displaying with a bunch of black
stuff on top, like a censor went over them with a black marker.
Transparent PNGs do this when printing sometimes, but I've never seen
it onscreen. The client is using IE6 on Windows XP. So I checked half a
dozen computers with the same setup and haven't been able to reproduce
the problem.

The only difference I can detect is that he's using a Comcast
co-branded copy of IE. I suspect that Comcast may have damaged
something... who knows?

Any thoughts? I can't post the site, unfortunately, but I've posted a
screenshot of the problem here:

http://saltydogdesign.com/usenet/blackstuff.jpg

Cheers,
cw



CrackWilding
  Reply With Quote
Old 06-16-2006, 04:41 AM   #2
Neredbojias
 
Posts: n/a
Default Re: AlphaImageLoader Filter problem

To further the education of mankind, "CrackWilding"
<> vouchsafed:

> This might not the best place for this, but what the heck. I've got a
> page that has a bunch of 24-bit PNG files with transparency. For IE I'm
> using the AlphaImageLoader filter to get around it's limitations with
> the format. I've been doing this for about a year, having seen Google
> successfully deploy the solution with Google Maps, and I've never had
> any problems with it.
>
> Well, now I've got a client that's having a problem. Some (not all,
> oddly) of the PNGs on his website are displaying with a bunch of black
> stuff on top, like a censor went over them with a black marker.
> Transparent PNGs do this when printing sometimes, but I've never seen
> it onscreen. The client is using IE6 on Windows XP. So I checked half a
> dozen computers with the same setup and haven't been able to reproduce
> the problem.
>
> The only difference I can detect is that he's using a Comcast
> co-branded copy of IE. I suspect that Comcast may have damaged
> something... who knows?
>
> Any thoughts? I can't post the site, unfortunately, but I've posted a
> screenshot of the problem here:
>
> http://saltydogdesign.com/usenet/blackstuff.jpg


Have client try a different browser...?

--
Neredbojias
Infinity has its limits.
  Reply With Quote
Old 06-16-2006, 10:57 AM   #3
Jim Higson
 
Posts: n/a
Default Re: AlphaImageLoader Filter problem

CrackWilding wrote:

> This might not the best place for this, but what the heck. I've got a
> page that has a bunch of 24-bit PNG files with transparency. For IE I'm
> using the AlphaImageLoader filter to get around it's limitations with
> the format. I've been doing this for about a year, having seen Google
> successfully deploy the solution with Google Maps, and I've never had
> any problems with it.
>
> Well, now I've got a client that's having a problem. Some (not all,
> oddly) of the PNGs on his website are displaying with a bunch of black
> stuff on top, like a censor went over them with a black marker.
> Transparent PNGs do this when printing sometimes, but I've never seen
> it onscreen. The client is using IE6 on Windows XP. So I checked half a
> dozen computers with the same setup and haven't been able to reproduce
> the problem.
>
> The only difference I can detect is that he's using a Comcast
> co-branded copy of IE. I suspect that Comcast may have damaged
> something... who knows?
>
> Any thoughts? I can't post the site, unfortunately, but I've posted a
> screenshot of the problem here:


A few ideas:

1) The PNGs are indexed (paletised) - IE can't do transparent, indexed PNGs
even with the AlphaImageLoader hack.

2) IIRC, AlphaImageLoader has some hardware transparency stuff built in
(could be wrong on this point), if this is so, perhaps it is a video card
or drivers issue. I've seen bad graphics hardware cause similar problems in
games.

Good luck. Personally, I'd just ask the client to use a proper browser.

--
Jim
  Reply With Quote
Old 06-16-2006, 03:09 PM   #4
CrackWilding
 
Posts: n/a
Default Re: AlphaImageLoader Filter problem

> 1) The PNGs are indexed (paletised) - IE can't do transparent, indexed PNGs
> even with the AlphaImageLoader hack.


Nope, they're 24-bit.

> 2) IIRC, AlphaImageLoader has some hardware transparency stuff built in
> (could be wrong on this point), if this is so, perhaps it is a video card
> or drivers issue. I've seen bad graphics hardware cause similar problems in
> games.


Yeah, that's kinda what I was thinking. It looks a bit like a display
driver problem.

> Good luck. Personally, I'd just ask the client to use a proper browser.


Well, an odd development has occurred. Today the guy loaded up the site
and said it looks fine. So... go figure. Maybe he patched his video
drivers or something.

Anyway, thanks for the response.

cw

  Reply With Quote
Old 06-16-2006, 07:09 PM   #5
Toby Inkster
 
Posts: n/a
Default Re: AlphaImageLoader Filter problem

Jim Higson wrote:

> 1) The PNGs are indexed (paletised) - IE can't do transparent, indexed PNGs
> even with the AlphaImageLoader hack.


No - quite the opposite. IE *can* do transparent, indexed PNGs, even
*without* the AlphaImageLoader hack.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

  Reply With Quote
Old 06-17-2006, 02:46 PM   #6
Jim Higson
 
Posts: n/a
Default Re: AlphaImageLoader Filter problem

Toby Inkster wrote:

> Jim Higson wrote:
>
>> 1) The PNGs are indexed (paletised) - IE can't do transparent, indexed
>> PNGs even with the AlphaImageLoader hack.

>
> No - quite the opposite. IE *can* do transparent, indexed PNGs, even
> *without* the AlphaImageLoader hack.


No it can't. At least, not properly.

It can do indexed, transparent PNGs with binary transparency (each pixel
either shown or not) but not an image using a proper RGBA palette. Even
with an AlphaImageLoader hack it just shows them using binary transparency.

I can post an example if you like.

--
Jim

  Reply With Quote
Old 06-17-2006, 02:50 PM   #7
Jim Higson
 
Posts: n/a
Default Re: AlphaImageLoader Filter problem

Jim Higson wrote:

> Toby Inkster wrote:
>
>> Jim Higson wrote:
>>
>>> 1) The PNGs are indexed (paletised) - IE can't do transparent, indexed
>>> PNGs even with the AlphaImageLoader hack.

>>
>> No - quite the opposite. IE *can* do transparent, indexed PNGs, even
>> *without* the AlphaImageLoader hack.

>
> No it can't. At least, not properly.
>
> It can do indexed, transparent PNGs with binary transparency (each pixel
> either shown or not) but not an image using a proper RGBA palette. Even
> with an AlphaImageLoader hack it just shows them using binary
> transparency.
>
> I can post an example if you like.


Ok, here's a good example: take a look at:

http://surfcore.co.uk/user/1

See how in IE the shadow on the avitar is missing in IE but shown in every
other browser? I let this pass because it still doesn't look too bad and I
think the trade off for the smaller file size is worth it.

If you know a way it can be shown properly in IE without converting the
image to 32-bit, please let me know!

Also, if anyone can test how it looks in IE7 I'd be very interested in the
result.

--
Jim

  Reply With Quote
Old 06-17-2006, 06:31 PM   #8
Frank Olieu
 
Posts: n/a
Default Re: AlphaImageLoader Filter problem

Jim Higson <> wrote in
news:. uk:

> Jim Higson wrote:
> Ok, here's a good example: take a look at:
>
> http://surfcore.co.uk/user/1


Shows *no* images in IE6. IE7 looks OK at first, but on mouse-over I get a
hatched background...

Not quite sure it applies to your case, but try have a look at
http://koivi.com/ie-png-transparency/

--
Venlig hilsen | Kind regards | Cordialement
Frank
  Reply With Quote
Old 06-17-2006, 06:34 PM   #9
Toby Inkster
 
Posts: n/a
Default Re: AlphaImageLoader Filter problem

Jim Higson wrote:

> It can do indexed, transparent PNGs with binary transparency (each pixel
> either shown or not) but not an image using a proper RGBA palette.


Ah -- I was referring to indexed PNGs with binary transparency.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Now Playing ~ ./damien_rice/o/03_the_blowers_daughter.ogg

  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump