Slashdot Mirror


SVG And The Free Desktop (s)

unmadindu writes "Christian Schaller has written an interesting article on SVG's current and possible uses on the GNU/Linux desktop. Though the article concentrates mostly on GNOME, it does mention the excellent work the KDE developers have been doing with KSVG, and refers to the upcoming SVG support in Mozilla too."

30 of 337 comments (clear)

  1. stupid acronyms by Anonymous Coward · · Score: 5, Insightful

    Would it have killed you to say Scalable Vector Graphics once in the article?

    1. Re:stupid acronyms by UnknowingFool · · Score: 4, Funny
      Would it have killed you to say Scalable Vector Graphics once in the article?

      You must be new here. This is /. It it's not an acronym, it's not worth mentioning.

      --
      Well, there's spam egg sausage and spam, that's not got much spam in it.
    2. Re:stupid acronyms by Flossymike · · Score: 4, Interesting

      Ah, that would be what the ABBR and ACRONYM html tags are for ... please please people use them!

  2. Re:no one wants it by AKAImBatman · · Score: 4, Insightful

    I think that's a bit unfair. I for one would be happy if SVG was better supported as a web technology. The advantages to it becoming a standard is that useful, zoomable, interactive charting could be done easily on the client side. Just a little XML on the server side and then let the client deal with it. Right now I use Batik to render the SVG XML to PNG images before sending them to the client. Of course, the client can't zoom in on interesting areas like they can with pure SVG.

  3. JAADEA by Anonymous Coward · · Score: 4, Funny

    Just another article that doesn't explain the acronym.

  4. if (SVG = Flash) .... by Dysan2k · · Score: 4, Interesting

    Maybe it's just me, but I'm wondering when SVG will become Flash. Or am I comparing apples and oranges here?

    --
    -What have you contributed lately?
    1. Re:if (SVG = Flash) .... by tepples · · Score: 5, Informative

      SVG replaces PDF (Acrobat format). SVG plus SMIL replaces SWF (Flash format), as replacing SWF for use in animated presentations such as this or this needs audio and animation.

    2. Re:if (SVG = Flash) .... by pldms · · Score: 4, Informative

      SVG replaces PDF (Acrobat format). SVG plus SMIL replaces SWF..

      That's a pretty fair summary, although SVG can be animated without SMIL, using the animation elements. If you add javascript and DOM into the mix you can get interactive applications, like FOAFNaut.

      --
      Slashdot looked deep within my soul and assigned
      me a number based on the order in which I joined
    3. Re:if (SVG = Flash) .... by k98sven · · Score: 4, Insightful

      SVG replaces PDF (Acrobat format)

      No, it doesn't.

      PDF (Portable Document Format) replaced PostScript as a page description language. Basically describing a printed page. PDF (and PS) both support vector graphics.

      Whereas SVG is only a vector graphics format, it does not handle page layout and the other things required for printed page description.

      If anything SVG replaces EPS (Encapsulated PostScript), which is the postscript language applied to an independent graphics object, as opposed to an actual printed page.

  5. Scalable graphics fill a niche by Sexual+Ass+Gerbil · · Score: 5, Interesting

    They're great for displaying technical drawings. I'd like to see more architectual diagrams on the web, both software architecture and the physical type. With bitmapped graphics, web designers are pretty much limited to small low resolution images, dumbing down detail to a marketroid white sheet level. Vector graphics scale very well for diagrams and cad drawings.

  6. Re:SVG & Steganogrpahy? by MisterFancypants · · Score: 5, Insightful

    Steganography? Are you going for a keyword karma whoring? Because your post is just silly. Who would try to embed some secret information in an XML file when the whole purpose of XML is so the files can easily be edited in an arbitrary text editor? It doesn't make any practical sense... Even if you encode the text somehow, its presence would still stick out like a much larger sore thumb than, say, a message hidden in a JPG file.

  7. Re:SVG & Steganogrpahy? by Trigun · · Score: 5, Funny

    I hear Osama is hiding in a specifically crafted xml document.

  8. SVG is the best thing ever! by scorp1us · · Score: 5, Interesting

    I recently dabbled in SVG for a website. I learned with that and a dash of javascript I could completely replace a java applet with a few kilobytes of code.

    SVG is finding its way into everything, browsers, icons, etc. I forsee a world where SVG is dominant and regular pixel based images are seen as WAV files as in comparison to MIDI.

    As a matter of fact that is a good analogy: MIDI vs WAV. One is intrections on how to draw the other is the final outcome.

    Imagine how many songs you could fit on a CD if it were midi, with human voice parameters. Ignoring the vocals, you'd get thousands of songs on a CD.

    SVG also fixes the pixelation issue, whenyou try to stretch and compress the image. As a matter of fact, do that once with a regualr image and you're working with crap. You can shrink SVG blow it up, and rotate without any kind of distortion.

    It is kind of suprising it took us this long to get a cross-platform standard on how to specify how to draw shapes! But it is a good thing.

    I don't think computers will ever be the same once SVG takes off.

    --
    Slashdot's rate-of-post filter: Preventing you from posting too many great ideas at once.
  9. Vector graphics on the dekstop by pacsman · · Score: 5, Interesting

    This could make for some really interesting desktops, if this is what I think it is. Make some interesting graphical effects within icons or as the desktop without dragging the system down. I can see a new type of desktop where the start menu is replaced by an interactive desktop background. Personally, I hate the damn start menu (including the Linux implementations) as an incredibly ineffieicient way to organize menus. But, that's just my opinion- obviously someone has to like it.

    1. Re:Vector graphics on the dekstop by RAMMS+EIN · · Score: 4, Interesting

      ``Personally, I hate the damn start menu (including the Linux implementations) as an incredibly ineffieicient way to organize menus. But, that's just my opinion- obviously someone has to like it.''

      You have a very interesting point there. I think having one menu with all programs in it is a Good Thing, but I strongly believe GNOME and KDE have it because Windows has it. I guess the idea is to make the system accessible to switchers by cloning the behavior, but I do not see that as the right approach. I believe in making a better system for those who choose to use it.

      I don't care how many people use an open source OS and whether or not Fred Foobar would switch if we do or don't have the same buttons on our windows in the same places. If you do care about market share, you should realize that you can't beat MicroSoft by cloning them - they will always stay ahead of you. Even if you have higher quality and stability and useful features, people are going to complain that the VBScript in some webpage doesn't work or they can't open their Excel database; you just can't convert them all.

      Meanwhile, I think we should innovate. Let's take advantage of Reiser4 and develop a set of utilities to make the most of extended attributes. Let's work on ZeroConf and IPv6, making our systems ready for painless networking. Let's integrate the shell and the programming language, so we can use functions from shared libraries in the shell and have sudo-like access control for function calls (no more running the whole program as r00t because it needs to do one priviliged thing). Or anything else you come up with.

      --
      Please correct me if I got my facts wrong.
  10. You're trolling, but I'll bite by kenneth_martens · · Score: 4, Informative
    GNU/Linux desktop??? Isn't KDE the desktop, and GNU/Linux the kernel?

    Not exactly. Linux is the kernel, X Windows is the GUI, and KDE (or GNOME) is the Desktop Environment. The whole package together is called GNU/Linux, but most people just call it Linux. I sidestep the whole GNU/Linux vs. Linux debate by just calling it Mandrake or Debian or Redhat, but that's just me.

    So, in summary:
    • Linux -> the kernel
    • X Windows -> the GUI
    • KDE or GNOME -> the desktop environment
    • GNU/Linux, or just "Linux" -> the whole package
    • Redhat, Mandrake, Debian, etc -> specific version of GNU/Linux
    1. Re:You're trolling, but I'll bite by MythMoth · · Score: 4, Informative

      Just to unpick that specific nit, the kernel as a whole is the specific thing that even the FSF would agree is not GNU/Linux:

      http://en.wikipedia.org/wiki/GNU/Linux

      --
      --- These are not words: wierd, genious, rediculous
  11. Need SVG help? by Phrogz · · Score: 4, Informative

    If *you* need SVG support (with creating it) now that your desktop supports it, I highly recommend the fine folks in #svg on the Freenode IRC network.

  12. Re:WTF? by temojen · · Score: 5, Informative

    • Linux is the Kernel
    • GNU is the most common core utilities and Libraries
    • X handles the mouse, keyboard, and monitor
    • KDE, GNOME, Blackbox, or twm (etc) is the desktop or window manager

    Yes, I do know it was a troll.

  13. Re:no one wants it by smittyoneeach · · Score: 5, Funny
    let the client deal with it


    Famous Last Web Development Words
    --
    Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
  14. SVG looks fun by gnuzip · · Score: 4, Interesting

    I'd like to see SVG used more frequently for all sorts of things. I'm not a big fan of XML, but it seems like it'd be quite appropriate in many situations where bitmap formats are ordinarily used. Not only would such images be scalable, but it seems like they would be much easier to manipulate (how about typing or tweaking your images with a text editor?). Drawing languages are more interesting than bitmap formats, since you can actually do things with objects instead of pixels. I would be more interested in using SVG if a more 'flattened' wrapper format could be used to contain equivalent data ("rect 0 0 50 50 blue 5") making it easier to type by hand, and avoiding bloated XML data.

  15. Re:Here's a real bleeding-edge idea.. by temojen · · Score: 4, Insightful
    2) Use a decent scaling algorithm that preserves quality.

    The best way to do this is with vector based graphics, which is what SVG is.

  16. Yes! Finally. Let's create an SVG desktop... by theendlessnow · · Score: 5, Funny

    ... so I can finally use my 8 way Opteron with 16GB to its fullest potential!!

  17. Re:SVG is the best thing ever! (Addendum) by scorp1us · · Score: 4, Interesting

    Some of you have remarked that MIDI has lost. Well, ear interpretations are not analogous to visual interpretations.

    I was more referring about the costs to a computer of using them.

    However if you do compare SVG icons to Bit-map icons, visually, the SVG icon will not only be simpler, and usually just as apealing.

    Look at the SVG icon sets referenced and the background of Slax (Slackware's LiveCD) The #1 comment is "aww he's so cute". Clearly, the visual accptance is much higher to the human eye than MIDI's acceptance to the human ear.

    MIDI could be re-invented to include wavelets which are a base representation of a voice (instrument or human) then define the mathmatical operations. You'd get a 99% facimilie that would probably pass as good as a low-quality MP3 at 1/0th the size.

    Example (as SVG):

    Now human voices are harder, but once downloaded you could just download the contents of the tree.

    You could also hear brittney sing "Opps.." in her original voice or her aged voice, which would be interesting. Or even make Christina Agulera sing Spear's songs.

    If you're seeing the potential of re-defining MIDI like that, surely you can see hwo awesome SVG is...

    --
    Slashdot's rate-of-post filter: Preventing you from posting too many great ideas at once.
  18. Why Vector Graphics matter by mst76 · · Score: 4, Informative

    It is only a natural evolution from character based displays to bitmaps to vector graphics. The main advantage of vector graphics is resolution independence. Imagine installing a very high resolution screen, and instead of everything getting smaller everything gets sharper. Want to display more information on the screen? Just seemlessly zoom in and out of your desktop. Currently, most windows systems are bitmap based, although there are some kludgy ways of adapting to different resolutions without changing the size of your text and windows and icons.

    The big problem is that our current screens are just not good enough. Monitors rarely get over 150dpi, whereas even very old laser printers get 300dpi. On most screens, you can still see the individual dots. This is why zooming in and out like I described above wouldn't work on current hardware: too much detail is lost when the zoomed out desktop is rasterized to the screen. It would be only good for previewing the windows (like Apple's Expose), not for actually working with them. Note that in the area where these issues matters the most, text and font display, there has been a great amount of research and clever solutions to work around this. If (when?) display technology finally catches up, the entire windows system will be arbitrarily scaled with good quality, not just the fonts. Let's hope that when the hardware get's good enough, the software to utilize it will already be in place.

  19. About Time! by StormyMonday · · Score: 4, Insightful

    It's time for pixels to go away. With displays running from cellphones to graphic arts workstations, the concept just isn't useful any more above the renering level. I look forward to replacing as many as possible of the old pixel-based graphics format with something I can see at more than one display resolution.

    Now if we can just get the Xwindows folks on board! When I say "12-point type", I mean a height of 6 lines per inch, not 12 pixels (enormous on the cellphone; invisible on the workstation).

    --
    Welcome to the Turing Tarpit, where everything is possible but nothing interesting is easy.
  20. No one wants it? by bonch · · Score: 4, Insightful

    Hell, Y-Windows is thinking of using SVG for describing all their widgets. They plan a 1.0 release within the year.

    SVG is being used almost everywhere I look. Icons are just the beginning.

  21. SVG - some obscure features by pkphilip · · Score: 4, Informative

    SVG - or more specifically, the Adobe Plugin for SVG, has some interesting features that makes the use of SVG even more interesting..

    The Adobe SVG provides the user a getURL() (or similar named) method which allows the browser to read information from the server or any other arbitary url on the web without any form submits of page refreshes.

    This is useful, for instance, to have a stock exchange ticker which continuosly reads data from a stock exchange server and renders a graph of the values on the screen - without requiring the browser to refresh.

    Another interesting aspect of SVG is that it can be compressed using gzip and so a fairly complex svg image could still be in a very small file. The data that is passed into the SVG could also be compressed.

  22. Re:Best viewed on a vector display by Minna+Kirai · · Score: 4, Informative

    where could you get a modern vector display nowadays

    A few posts have commented that vector-displays would be good to use with SVG-based desktops. They're probably all joking, because there is no such thing as a modern vector-graphics display, and if it did exist, it would be inapplicable.

    Vector displays can only draw the actual vectors, which are just straight lines. Vector graphics consist of more than just vectors, and actually includes a full set of primitives whose positions are merely defined by vectors.

    Even a simple filled triangle (surely one of the most common elements of existing SVG files) is beyond the capability of a vector display, unless it emulated a raster display to draw the shape as a series of scanlines.

  23. Re:Yes! Finally. Let's create an SVG desktop... by dominator · · Score: 4, Informative

    I posted this on OSNews, but I'll post it again here...

    I'm not sure why so many people think that SVG is slow. It doesn't have to be, even without hardware acceleration. I've done tests of librsvg vs. libpng:

    Given a SVG image $s. Transform it into a PNG image $p using librsvg, Batik, or something similar. Run "gdk_pixbuf_new_from_file()" on both $p and $s. This will turn $s and $p into identical RGBA images. Time this operation. Lather, rinse, repeat.

    Generally, it is no slower (if not faster!) to render $s than $p. This surprised me and quieted many "Vector graphics are too slow for the desktop" pundits.

    Of course, once you start using some of the more advanced features (like certain filters), the rendering time is likely to go up. It all depends on what features you use and how you use them.