On adding alpha channels to JPEG images
I have written a program and some javascript to add alpha channels to JPEG images and render them correctly in modern browsers.
The exposition requires some Javascript which femtoblogger does not allow, so I have documented the techniques on their own page: On adding alpha channels to JPEG images.
The code isn’t pretty yet, but it works.
I apologize for not testing on IE. The canvas based method should work with FlashCanvas per http://blog.jackadam.net/2010/alpha-jpegs/, but I don’t have the licenses to run the IE test images. (Wine will unpack the self extracting .EXE they insist on using as a shipping container, but VirtualBox has different emulated hardware from what the images expect and that leads to no network which cascades into avalanches of dialogs asking to download network drivers over the network that doesn’t exist and demands to register over the network with does not exist.)
- adding transparency to the JPEG specification in a standards-based way and
- your stop-gap solution.
This may certainly come in handy for some client one day, thank you for exploring this and developing tools for us to use even!