Text is not enough!

Text is not enough!


In the dawn of modern computing, there was only text. And the text was good. You can do a lot with text: write equations or sonnets, describe intricate computer subsystems or a fine spring day. But people are visual as well as verbal creatures, and there is simply no substitute for graphical communications.

Early on, people figured out that you could cheat some graphic content out of even the earliest computer terminal systems by exploiting either the shapes or the shade of characters intended to represent text. From that came what we later called "ASCII art", although it already shows the signs of the first fundamental split in computer graphics.[1]

Early on, people figured out that you could cheat some graphic content out of even the earliest computer terminal systems by exploiting either the shapes or the shade of characters intended to represent text

That split is the difference between "raster graphics" (more commonly, though somewhat inaccurately, known as "bitmap graphics") and "vector graphics". Raster graphics try to capture an image by sampling the light at regular intervals. They are computationally the simplest, and therefore usually the first to be implemented. No matter what program you use to create graphics with, for example, it's pretty much guaranteed that you will actually be viewing it with a raster graphic screen.[2]

A raster or A raster or "bitmap" graphic stores "pixels" which sample the light at regular intervals in space, but has no direct encoding of the drawing process. On the left is the XPM raster encoding for the image on the right.

But if raster graphics are so simple, you might ask, why do we need anything else? The answer is as simple as source code. If you think of a computer graphic as an intellectual product analogous to a program, then raster graphics are a lot like object code: easy to run, directly interpretable by the computer, and very hard to meaningfully edit. Oh, you can patch it: paste on some additional graphics, mess with the color tables, or re-crop it. But fundamentally, you're pretty much stuck with what the original artist created.

A vector graphic preserves the drawing process, just like program source code preserves the programming process

But a vector graphic preserves the drawing process, just like program source code preserves the programming process. With a vector graphic, it is often possible to make fundamental conceptual changes to the drawing. What's more, you can borrow the talent of the original artist instead of having to compete with her, by simply moving around the elements that she created. The result is a more editable and more free form of visual communication.

In certain areas, such as 3D graphics and animation, this is so essential that there is essentially no alternative vector graphics (though it has been used: look up "voxel" if you really want to know about it). But even with 2D graphics, there is great utility in vector graphics.

A vector graphic is an conceptual description of the shapes and colors in an image and it is much easier to edit, scale, and understand than a raster graphic. On the left is the SVG encoding for the drawing on the rightA vector graphic is an conceptual description of the shapes and colors in an image and it is much easier to edit, scale, and understand than a raster graphic. On the left is the SVG encoding for the drawing on the right

Another reason to like vector graphics, besides improved editing and collaboration, is that they usually can be created by people with less artistic skill. Since vector graphics tools are essentially assisted drawing tools (not unlike a drafting kit), which help you to make straight lines, smooth bevels, and other geometric shapes, the quality of a vector graphic drawing depends less on your hand-eye coordination and artistic skill than does the typical raster graphic.

All of these factors are good reasons why free art for free software really should be made primarily as vector graphics: doing so makes the work freer.

CUPS filter diagram

I was inspired to write this article largely because of an enormous and well-executed ASCII art drawing of the Common Unix Printing System which I came across while working on my LAN printer installation (see Figure 1).

Diagram of the CUPS filter system, created as ASCII art by Kurt Pfeifle (relicensed with permission to CC By-SA 3.0)Diagram of the CUPS filter system, created as ASCII art by Kurt Pfeifle (relicensed with permission to CC By-SA 3.0)

This drawing, created by Kurt Pfeifle, is a beautiful piece of ASCII art and it probably represents a lot of work, but it also illustrates the futility of ASCII art in technical communications. After all, for all that effort, it's still not very clear to read. It would've taken less time to create this drawing in any of the applications I'm going to show you in this book, and any of them would've been much more clear to the reader.

Certainly graphics programs are used by artists, but vector graphics programs are particularly useful for this sort of technical illustration, and it is this use that I'm going to emphasize here.

I've set out to re-execute this drawing in each of seven popular free software vector graphics applications available for GNU/Linux: Dia, Xfig, Skencil, Inkscape, OpenOffice.org-Draw, Karbon14, and Xara LX (though not necessarily in this order). My goal here is to get to know each application well enough to compare and contrast them in a fairly unbiased way.

Of course, there's no escaping my personal experience with vector graphics: I started with Xfig, learned Skencil, and then later adopted Inkscape as my primary tool of choice, which it still is. I've found Dia to be very useful in certain niche applications (but diagrams like this are in that niche). I will talk about my reasons for these decisions as I go, but this particular drawing project provides a useful benchmark for comparing them. It represents what I would consider a "typical" vector drawing task: neither too complicated nor too trivial.

Notes

[1] ASCII art is fascinating as a craft unto itself, though I'm not going to talk about it much here. I can recommend Christopher Johnson's ASCII Art Collection as an impressive online gallery to explore.

[2] Although, maybe there's some oddball out there reading the internet with a vector graphic display. These did exist, by the way. And if you are old enough to remember the earliest incarnation of the "Asteroids" arcade game, then you've probably used one yourself. These early graphics CRTs actually used the electron beam like a plotting pen, drawing out line graphics directly on the phosphor, just like the trace on an oscilloscope. They are pretty much unheard of in modern computer graphics, however.

Licensing Notice

This work may be distributed under the terms of the Creative Commons Attribution-ShareAlike License, version 3.0, with attribution to "Terry Hancock, first published in Free Software Magazine". Illustrations and modifications to illustrations are under the same license and attribution, except as noted in their captions (all images in this article are CC By-SA 3.0 compatible).

Author information

Terry Hancock's picture

Biography

Terry Hancock is co-owner and technical officer of Anansi Spaceworks. Currently he is working on a free-culture animated series project about space development, called Lunatics as well helping out with the Morevna Project.

Most forwarded

Interview with Dave Mohyla, of DTIDATA

Dave Mohyla is the president and founder of dtidata.com, a hard drive recovery facility based in Tampa, Florida.

TM: Where are you based? What does your company do?
DTI Data recovery is based in South Pasadena, Florida which is a suburb of Tampa. We have been here for over 10 years. We operate a bio-metrically secured class 100 clean room where we perform hard drive recovery on all types of hard disks, from laptop hard drives to multi drive RAID systems.

Anybody up to writing good directory software?

Since the very beginning, directories (of any kind) have had a very central role in the internet. (I have recently grown fond of Free Web Directory. Even Slashdot can be considered a directory: a collection of great news and invaluable user-generated comments. As far as software is concerned, doing a quick search on Google about software directories will return the free (as in freedom) software directories like Savannah, SourceForge, Freshmeat and so on, followed by shareware and freeware sites such as FileBuzz, PCWin Download Center and All Freeware (great if you're looking for shareware and freeware, but definitely less comprehensive than their free-as-in-freedom counterparts).

Interview with Mark Shuttleworth

Mark Shuttleworth is the founder of Thawte, the first Certification Authority to sell public SSL certificates. After selling Thawte to Verisign, Mark moved on to training as an astronaut in Russia and visiting space. Once he got back he founded Ubuntu, the leading GNU/Linux distribution. He agreed on releasing a quick interview to Free Software Magazine.

Is better education the key to finding better software?

I read David Jonathon's article Anybody Up To Writing Good Directory Software? the other day, which got me thinking about software directories in general. As David mentioned, many of the software directories one finds when doing a quick google search are free as in beer, not as in freedom. But what interests me is the software directories that already exist, providing a combination of both free as in beer software, and open source software. Sites such as Freeware Downloads and Shareware Download don't advertise themselves as providing free as in liberty software, but each of them have a good selection of open source software available... if you know where to look.

Most emailed

Free Open Document label templates

If you’ve ever spent hours at work doing mailings, cursed your printer for printing outside the lines on your labels, or moaned “There has got to be a better way to do this,” here’s the solution you’ve been looking for. Working smarter, not harder! Worldlabel.com, a manufacture of labels offers Open Office / Libre Office labels templates for downloading in ODF format which will save you time, effort, and (if you want) make really cool-looking labels

Creating a user-centric site in Drupal

A little while ago, while talking in the #drupal mailing list, I showed my latest creation to one of the core developers there. His reaction was "Wow, I am always surprised what people use Drupal for". His surprise is somehow justified: I did create a site for a bunch of entertainers in Perth, a company set to use Drupal to take over the world with Entertainers.Biz.

Update: since writing this article, I have updated the system so that the whole booking process happens online. I will update the article accordingly!

So, why, why do people and companies develop free software?

More and more people are discovering free software. Many people only do so after weeks, or even months, of using it. I wonder, for example, how many Firefox users actually know how free Firefox really is—many of them realise that you can get it for free, but find it hard to believe that anybody can modify it and even redistribute it legally.

When the discovery is made, the first instinct is to ask: why do they do it? Programming is hard work. Even though most (if not all) programmers are driven by their higher-than-normal IQs and their amazing passion for solving problems, it’s still hard to understand why so many of them would donate so much of their time to creating something that they can’t really show off to anybody but their colleagues or geek friends.

Sure, anybody can buy laptops, and just program. No need to get a full-on lab or spend thousands of dollars in equipment. But... is that the full story?

Fun articles

Santa Claus - the most successful open source project

It dawned on me the other day, as I was shopping for the dozens of gifts it seems I have to buy every December, that Santa Claus is the most successful open source project in history. (Bridget @ Illiterarty would agree with that). Santa Claus is essentially a marketing development that is embodied by everyone who stuffs a sock, gives a gift, hosts a dinner or wishes Merry Christmas over the holiday season.

Most emailed

Editorial

When I first started thinking about Free Software Magazine, I was feeling enthusiastic about the dream. I had Dave, Gianluca, and Alan willing to help me, I had established members of the free software community willing to help me out, I had writers volunteering their time and energy for free, and I had a generous offer from OpenHosting for servers, all before I'd proved myself. There was a sense of excitement in the air, and I thought maybe, just maybe, I could make this work.

Free Software Magazine uses Apollo project management software and CRM for its everyday activities!