View Full Version : Is PNG a vector format?

12-10-2002, 01:46 PM
I thought it was, but when I export an AI from Illustrator to PNG format, it comes out rasterized ??

12-10-2002, 02:20 PM
PNG is raster, though it isn't Lossy.

12-10-2002, 04:09 PM
Oh okay. Thanks for the info.

I don't suppose there are any vector image formats (not SVG, VML or Flash) I can use on the web ...?

12-10-2002, 04:28 PM
none that i know of. i think the best you could do is flash.

12-10-2002, 06:40 PM
You can do SVG, but it is not widely supported yet (although there are plugins that can be downloaded which add that support into the browser).


You could also try and look into VML, though PGML would probably be closer to your needs. Both are old submissions for vector graphic use on the web. PGML supports more rich graphics that would be common for professional design needs. VML is more along the lines of clipart kind of business graphcis. Though I'd stick with SVG if I were you...but since it isn't widely supported and you'd have to direct people to download the SVG viewer prior to seeing your piece, flash would be the quickest option.

12-11-2002, 08:49 PM
Yeah, it's an ongoing debate this one. I favour SVG, but actually in practise I've only ever used VML - that ~80% native support thing is an important metric, because I'm similairly reluctant to rely on an uncommon plugin.

What I really want is to replace the image buttons on this page (http://www.mori.com/) with vector graphics - for an interesting idea:

Basically, that whole site uses CSS px for text - thereby creating non-scaleable fonts, which is not good. Really, the text should be resizeable, and that's what I'm working on at the moment.

But...the buttons have text on, and that won't resize with the view>text size option. So what I thought is a tiny hidden div with a non-breaking space in it, that I watch to see if its size changes - if it does change then I know that's because the user has resized the text, and I respond to that by resizing the nav images as well.

Cute huh :) But of course resizing rasterized images makes them look horrid. And I don't wanna reload a new set of images either - too much of an overhead.

So I thought vector images. Solves both problems at once.

I really don't wanna use flash - its objects are hard to manipulate, you can't talk directly inside it through the DOM, there's that z-index problem, and anyway using flash creates accessibility problems of tis own, which would be ironic ...

Dunno really. I think what I'll end up with is a server-side process, something like:

1 - sniff for existing SVG support and serve that; or
2 - sniff for VML support and serve that; or
3 - server the original images

But that's a hell of an overhead to maintain ... I'd very much welcome alternative "blue-sky" ideas :o

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum