Alpha PNG8 in Fireworks 10.08.2008 @ 01:12pm 20 comments

Okay so this isn't entirely XHTML & CSS related but it can help save the additional XHTML, CSS and frustration of accommodating IE6's lack of support for transparent PNGs.

As I did, you're probably thinking that it isn't possible to have an alpha PNG8, they're just like GIFs right? ... wrong! Discovering that fact has made life so much easier for me and has saved countless duplications of images.

Using Fireworks you can save an image as an aplha PNG8 which preserves it's transparency in all modern browsers and just looks like a choppy GIF in IE6. Obviously this isn't ideal for all transparency situations but I have been able to use it for most of my transparent needs without sacrificing too much in as far as aesthetics go!

So, how do you do it? Let's get to the point here...

In Fireworks create a new white canvas (I've set my dimensions to 500x300) and draw a circle shape in blue. Click the preview button and ensure the 'Opimize and Align' panel is expanded (press F6). You should see something like the following:

Fireworks image preview

Within the 'Optimize and Align' panel, make sure that PNG8 is the selected format and change the "No transparency" drop down to "Alpha transparency". You should now see the following (click image to enlarge):

Fireworks image preview

Now all you need to do is export the file and that's it! Click File > Export and save to your desired location. If you preview the image in modern browsers, it will look as follows:

Firefox image preview

I have changed the background colour in my browser to show the transparency. Now in IE6, you see the following:

IE6 image preview

So as you can see, it's not perfect in IE6 but it's not bad either!

What people think...

There have been 20 comment(s) on this entry so far. Have something you'd like to say? Feel free to comment below.

Tech Guy said...
07.03.2010 @ 07:15pm

Im a Photoshop fanboy and now learning Fireworks. Its pretty frustrating but this helped.

Thanks

hispanianet said...
07.03.2010 @ 04:30am

Very usefull tip for fireworks, I'm learning to use it.

Male extra said...
01.03.2010 @ 03:20pm

I am learning Fireworks for a few weeks now and every tip is very helpful! Thanks for sharing.

Multinivelero said...
26.02.2010 @ 05:41pm

Uf,I've recently have tons of problems with Fireworks and I left it...but I?m afraid I must return to use it seeing this tip,bua!! ;P

Daniel sanchez said...
17.02.2010 @ 06:35am

Thanks a lot for this tutorial!

Akupunktur said...
16.02.2010 @ 01:29pm

i like fireworks

jitendra said...
02.02.2010 @ 11:58am

Hi, I’ve been using wordpress themes for around two years and I never knew about the last tip. I wish I had, it would have saved me a lot of trouble early on in my blogging career. Thanks fot the troubleshooting tips and tricks! Very helpful.

John said...
30.01.2010 @ 12:51pm

This post is really helpful to create transparent images, I will encourage everyone to use while creating transparent image....Thanks.
Masters Golf Tickets

يوتيوب said...
27.01.2010 @ 06:24pm

thankxxxxxxxx

مزيكها على كيفك said...
26.01.2010 @ 07:37pm

thankxxxxxxxx

Nathan Rodriguez said...
19.01.2010 @ 04:31pm

Luckly IE6 is dying, reaching the end of it´s usage worldwide, and Firefox is getting his deserved recognition as a good browser. Hope better future for Opera.

Ca Foreclosures said...
15.01.2010 @ 12:42am

This very educational and Informative, I've learned a lot

abwan said...
13.01.2010 @ 06:53am

Awesome Firework suggestions! I was in search of this for my "Sports Site".I was finding it difficult to add new images on my site but now i think i will be able to do that with firework tips..thanks a lot !
Super Bowl Hotel

Fireworks CS4 Training said...
29.10.2009 @ 08:05pm

You could certainly smooth the jagged edges in IE6 by choosing a matte color one shade away from the color in the dege of your object.

Sound Insulation said...
23.10.2009 @ 08:00am

Argh IE6 makes a mess of things again :(

Digital Cameras Online said...
25.09.2009 @ 08:18am

thanks for tutorial. really helpfull gude!

arab-ia said...
15.09.2009 @ 10:26pm

thanks for your tutorial nice tutorial for me!

replica said...
04.09.2009 @ 10:00pm

I use Fireworks to make the website more beautiful...

free ringback tones said...
03.09.2009 @ 02:57pm

thanks for your tutorial nice tutorial for me!!

Marvinzzz said...
18.08.2009 @ 06:57am

Hello, thanks for this. Is there a way to export all layers in a PSD to PNG8 format with alpha transparency? I haven't been able to figure it out yet. I'm importing a PSD from Photoshop to Fireworks and just want to export all layers separately as PNG8 files - any ideas please?

Add your thoughts

Fields in bold are required.

Add a comment



Who am I?

I am Jenna Smith - a front end web developer who has been busy coding XHTML & CSS for the last 6 years. If you are interested in seeing my work or getting in touch you can do so through my growldesign website.