PDA

Click to See Complete Forum and Search --> : An explanation of Raster vs Vector


Kool
12-10-2003, 12:23 AM
The folowing is one of the best explanations of Raster vs Vector images I have ever read. Contributed by our own Keyare.



Photoshop is raster based.



You never do logos in photoshop unless everything you do is either on the web or in full colour - even then it's rare.

Here's a logo you'd recognise. You might think it's photoshop but it's all vector. Every line is just point connected with an angle of a curve, a vector. That way you can scale them to the size of the moon and you won't lose a single detail. If a curve is closed (both ends join) then you can fill it with a color. Many different closed curve layers on top of one another can imitate a graduated screen or color ramp like photoshop would do. You can't do really complex or photorealistic things in vector without spending days doing it, but in a logo you want simplicity anyway.

Below is the wireframe of a logo, followed by the same vector - filled with colors.

http://koolsplace.com/images/fordoutline.jpg

http://koolsplace.com/images/fordcolor.jpg



These files are usually shared as EPS format. They're incredibly small and easily distributed over the internet because of their size. you only record the point on the lines, their angles and

what color they are filled with which is usually much less data than a raster image.

http://koolsplace.com/images/fordcolorclose.jpg

This is a closeup of a raster image, you'll know this from photoshop. A raster image is made up of pixels (little squares) with a numerical value for their color. All the squares are the same size and places in a grid pattern. Each one needs at least three numbers (for RGB) to calculate it's color (4 for cmyk and 1 number for 8 bit colour like a gif) unless there is compression (like a gif, where large areas of the same color are assigned a beginning and an end point and the color value is assigned only once, or jpg's where an area of 8 or more pixels are assigned one of many algorithms built into the jpg codec).

Raster images cannot be scaled up in size because they will look pixelated (like the image above) when printed. And files that are high enough resolution for the printing process are usually very large. We use these for photographs or completed files when we can output a raster image at exactly the size required for printing.

As a vector, any colors can be assigned to the curves, including rgb, cmyk and spot colors. You could have a logo as pantone 567, pantone 490, 303 and more... In a raster you usually use a CMYK color model or RGB. Sometimes you'll run across a duotone or tritone but these are not very common and definitely will not be usable in most office programs.

Gif and jpg are great for small office programs and for use in a little office type setting but for printing on a press, proper graphic design, signage etc. you'll need a vector based logo so that the outfit can work with it and have the cleanest image possible.

You'll also need to be able to create logos that can be easily printed in one or two colours. Your clients might have a wonderful red-on-black 3D logo, but try printing it in the newspaper in one color and it will just be a solid black mush.

As far as what you create for your clients - it's as simple as asking them. Do they just want a logo and they'll do all their own letterhead etc. themselves or do they want a full package? Charge accordingly. Sometimes if you just do the logo you can get more business by showing a sample of a card and/or letterhead design and telling you'll do additional design for only $X more. And sometimes you're just shooting yourself in the foot too!

The best thing is to always set up the rules of the game BEFORE playing it.

DavidLieb
12-12-2004, 09:50 PM
Here's another way of putting it (taken from my school's courseware):


<A name=_Toc87432453></A><A name=_Toc87088758>There are two different types of images used by graph design programs: raster images (sometimes called "bitmap")and vector-based images.</A>
Photo Editors are Raster Based</o:p>
A raster image is made of thousands of little dots, or pixels.
Creating or editing an image with dots allows you to provide for rich detail in an image. Because every dot can be a different color, you can allow for any kind of color change.
Raster images are wonderful for rendering rich, full-color images, like photographs. Raster-based programs do have some drawbacks, though:
* Raster images are file-heavy. All of the zeros and ones that are used to make up each pixel result in large files sizes. Your computer must keep track of the zeros and ones and must change each one when editing. This is memory-intensive and may cause slower editing.
* Rasters do not resize well. When you resize a raster image, the pixels just get larger, making the image appear distorted and chunky/grainy.
Photo editors, like Adobe PhotoShop, use raster-based images to allow for precise editing and total freedom in image appearance.
</o:p>
Illustration Programs are Vector Based</o:p>
Vector-based programs approach image creation in an entirely different manner. A vector-based program does not render images on a pixel-by-pixel basis.
In a raster-based image creation program, a square would be made of thousands of pixel dots.
In a vector-based program, the same square would be made of only four dots, one on each corner. These “vector points,” basically allow your computer to play Connect the Dots. Each vector point has information in it telling your computer how to connect each point with straight or curved lines, and with what color to fill in the closed shape.
In the printed image, the vector points would be invisible.
Because the computer only has to keep four points in its memory, it is much easier for the computer to edit vector-based images.
If you resize a vector-based image, it loses little or no detail. The vector points spread out and the computer just redraws the image. You can easily color, or recolor, a vector-based image very easily using a drawing program. Vector images can also result in smoother lines because the lines are not hand drawn.
Vector images do have some drawbacks, however. They are generally filled with a solid color or a gradient but can’t display the lush color depth of a raster. They also work better with straight lines or sweeping curves.
Drawing programs, like Adobe Illustrator and Macromedia Freehand, primarily use a vector-based drawing mode to allow for scalability and clean lines.
</o:p>




David Lieberman
Academy of Web Design Course Video (http://www.awdsf.com)
Add Web Design to your Skills!

Post Edited (DavidLieb) : 12/14/2004 5:49:27 PM GMT

photodesign
07-24-2008, 09:19 PM
Here is a very long article I wrote on just this subject, taken from one several of my lectures: http://freerangestock.com/understanding/vector_bitmap/

PrintDriver
12-03-2008, 02:07 AM
I notice now he said Illustrator primarily uses a vector-based drawing mode.
All of the illustration programs today use raster effects to create some elements. Fuzzy dropshadows and outer glows that you can do in Illustrator are Raster Effects and scalability is dependent on how they are applied. :D

SEP Studios
12-04-2008, 02:50 AM
I like to keep things simple:

Raster = pixels
Vector = curves

Scott

urstwile
01-16-2009, 05:24 PM
This video (http://www.macmerc.com/news/archives/4659) has a different way of explaining it, I thought the analogies were pretty good. :)

decarle
02-20-2009, 07:27 PM
There are 2 different types of images used by graphic design programs, raster images and vector images.


RASTER:
A raster image is made up of thousands of little dots/pixels, photo editors such as Adobe Photoshop are raster based and are great for rendering rich, full colour images like photographs. Raster based programs do have some drawbacks though:

> Imagine a square 1 inch x 1 inch, if this square has been created at 300dpi then this will have 300 dots/pixels within it. The computer must keep track of all the zeros and ones that make up those 300 dots/pixels, this can result in large file sizes which can be memory intensive when editing, the spec of your PC/MAC will determine if this causes you problems or not.

> Raster images do not resize well, when you resize a low resolution raster image the pixels just get larger making the image appear distorted and blurry. One solution to this is to ensure the image is created at high resolution, an image at a minimum of 300dpi will resize quite well and keep fairly good clarity, however, it will only enlarge so much.

VECTOR:
Vector based programs such as Adobe Illustrator approach image creation in an entirely different way and do not render images on a pixel by pixel basis. Using the same example as above the 1 inch x 1 inch square would only be made up of 4 dots/pixels, one on each corner. These “vector points” allow the computer to play connect the dots, each vector point has information telling the computer how to connect each point with straight or curved lines, and what colour the inner space should be.

Because the computer only has to keep four points in its memory, it is much easier for the computer to edit vector based images as file sizes are really small. If you resize a vector based image it loses little or no detail, the vector points spread out and the computer just redraws the image. Vector images are ideal for logos as they can be resized and adjusted without losing clarity, so when looking for a logo designer ensure the final files produced are vector based.

LittleRed
09-25-2009, 11:03 AM
So you said very rarely would you use Photoshop for logo creation. I assume then that you use Illustrator?

Sorry if that's an amateur question, but I was just wondering as someone commented saying that it too was a raster based program? Never having used it I am unsure.

CkretAjint
09-25-2009, 11:51 AM
LittleRed, that is correct. Adobe Illustrator is a vector based program.

PrintDriver
09-25-2009, 12:13 PM
Illustrator is vector based but it does contain some raster effects (ie drop shadows, glows and some transparency interactions). Your job as a designer is to know the difference. :D

Grfk Dzgn
11-21-2009, 06:42 AM
I believe the people of the world can be grouped into two distinct classes: Vector and Raster!

No really, I'm not kidding, I really do! I'm going to write a paper on this some day.

Vector people are those that flow into a preconceived system which retains some defined characteristics no matter how many people are part of that organization. These good folks don't dare step out of line and show any unique characteristics which might not conform to the slick Vector system of existence.

Raster people, on the other hand, are those that come together as independent free people whilst retaining the ability to can change and modify their independent 'pixel' behavior and yet still be part of the larger organization.

Raster vs Vector - or in other terms - Independent vs Corporate.

Long live Bitmap Nation!!

urstwile
11-21-2009, 06:47 AM
I see some flaws in your argument.

Vectors are flexible, since they can be scaled up and down. One might argue that vector people are able to adapt to any situation that arises, and are therefore more non-partisan and and/or adaptable, if you will. Yet no matter how much they are pushed outside their envelope, they still maintain a unique and distinct form which is recognizable, and thus their integrity remains intact. The survival of their original intentions is important to them, which is why they chose to be vector people in the first place, however, they're able to adapt to any output intent while still maintaining their underlying form.

Bitmaps, however, are fairly rigid. They can probably make their arguments convincing in a direction of upwards of 120% outside of their output intent, but beyond that, they start to make very little sense, their logic becomes fuzzy and undiscernible. And when their arguments are forced to travel in a downward direction, beyond about 75% or less compromise of their original philosophy, their details become hard to discern, unless they are willing to have an Unsharp Mask applied to those philosophies, at which point, one wonders how much of their original integrity has been compromised by being forced to be optimized for specific situations.

PrintDriver
11-21-2009, 12:13 PM
Dayum, Urst. That made me smile!

eugenetyson
11-21-2009, 12:18 PM
Illustrator is vector based but it does contain some raster effects (ie drop shadows, glows and some transparency interactions). Your job as a designer is to know the difference. :D

Just showed some people your post here http://www.graphicdesignforum.com/forum/showthread.php?t=24372&highlight=illustrator+drop+shadow

Which is very well explained.