May 24, 201016 yr Have an illustrator vector with some gradients (going from dark grey to transparent, not to white) I export a slice as a png 24 with transparency enabled. If I then open this png in ai or ps the transparency is fine, no problems. However, if I used the png for a webpage there is no transparency, instead the gradient goes from dark grey to white. I have tried this in ie8, latest version of firefox, opera, safari and chrome but they all have the same issue. Not experienced this before, does anyone have an idea as to what might be the issue? Thanks
May 24, 201016 yr When I open with Inkscape it says it's an image with a bad reference.... going to look this up in my manual as not sure what this means lol! Will get back to you.. Edit: The bad reference relates to the name of the file wrapper-background.png. When changed to wrapper_background.png it's fine. Not sure if that helps you though... Is there a setting in illustrator to check background of image is transparent? I've made this mistake with inkscape in the past.
May 24, 201016 yr Now I've opened your png on the HTML-page (over contrast red background) in IE8 and I see that transparency works. http://volodko.ru/tuning/png.html
May 24, 201016 yr Author Thank you both very much! Really helped me out. I re-exported the png as wrapper_background as opposed to wrapper-background and the issue is resolved. A userful problem solved for the future!
May 24, 201016 yr Author Ah bugger, false alarm. Same issue remains. I had turned the background layer on again in my mockup when I saved the png so it looked like it was fixed, infact its not >.<
May 25, 201016 yr Have an illustrator vector with some gradients (going from dark grey to transparent, not to white) I export a slice as a png 24 with transparency enabled. If I then open this png in ai or ps the transparency is fine, no problems. However, if I used the png for a webpage there is no transparency, instead the gradient goes from dark grey to white. I have tried this in ie8, latest version of firefox, opera, safari and chrome but they all have the same issue. Not experienced this before, does anyone have an idea as to what might be the issue? Thanks Have you flattened transparency in Illustrator and then tried exporting?
Create an account or sign in to comment