Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Is PNG a vector format?

    I thought it was, but when I export an AI from Illustrator to PNG format, it comes out rasterized ??

  • #2
    Regular Coder Feyd's Avatar
    Join Date
    May 2002
    Location
    Los Angeles, CA Maxim: Subvert Society
    Posts
    403
    Thanks
    0
    Thanked 0 Times in 0 Posts
    PNG is raster, though it isn't Lossy.
    Moderator, Perl/CGI Forum
    shadowstorm.net - subvert society

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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 ...?

  • #4
    Senior Coder joh6nn's Avatar
    Join Date
    Jun 2002
    Location
    72° W. 48' 57" , 41° N. 32' 04"
    Posts
    1,887
    Thanks
    0
    Thanked 1 Time in 1 Post
    none that i know of. i think the best you could do is flash.
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

  • #5
    Regular Coder Feyd's Avatar
    Join Date
    May 2002
    Location
    Los Angeles, CA Maxim: Subvert Society
    Posts
    403
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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).

    http://www.adobe.com/svg/overview/svg.html
    http://www.adobe.com/svg/illustrator/illustrator.html

    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.
    Moderator, Perl/CGI Forum
    shadowstorm.net - subvert society

  • #6
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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 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
    Last edited by brothercake; 12-11-2002 at 09:01 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •