Raster: an image made of pixels

A raster picture is a table of colored dots. Each cell stores one color, and that is how photographs, screenshots, and almost all digital painting are built.

Drawing on a graphics tablet

How the pixel grid works

Picture a sheet of graph paper where every square is filled with one shade. Step back, and the squares blend into a smooth image. File size depends on the number of squares: a 3000 × 3000 canvas holds nine million pixels.

Why raster goes soft when you enlarge it

There are no new pixels to pull from, so the editor invents them: it looks at neighboring dots and calculates an average. The result looks blurry, and the outlines pick up stair steps. That is where the rule comes from: choose the canvas size before the first stroke.

Check

Want to know what you are looking at? Zoom the image to 800%. If squares appear, it is raster. If the lines stay smooth, it is vector.

Vector: an image made of formulas

Vector does not store dots. It stores a description: "a line from here to there, weight 4, blue fill." The program reads that and redraws the picture at whatever size you need.

Points, Bezier curves, and fills

Vector is built on anchor points and the curves between them. Each point has handles: pull them and the bend changes. A closed outline is then filled with color or a gradient, and you can rebuild the shape a month later.

Scale with no loss

A vector logo is equally sharp on a 32 × 32 icon and on a six-meter banner. File size depends on the number of points, not on the dimensions of the picture.

Compared by the job

Arguing about which is better is pointless: they are tools for different jobs. The right question is what you are actually going to make.

Illustration and painting

Raster wins here by a wide margin. Soft transitions, stroke texture, noise, and splatters live in pixels. A vector editor will not smear paint that way.

Logos, icons, and type

The job is the opposite: you need clean shapes and any size. A logo will travel to a business card, a website, and a storefront sign, so it is built in vector. For the same reason, every font is vector. If that look appeals to you, see the techniques in the article on line art and minimalism.

Print and outdoor graphics

A print shop will take both, but the requirements differ:

How to calculate those numbers is covered in the guide on resolution and DPI.

File formats

The extension almost always tells you whether you are looking at raster or vector. Keep two short lists in your head.

PNG, JPG, WEBP, PSD

These are all raster. PNG compresses without loss and can do transparency. JPG compresses with loss and stays small. WEBP gives similar quality at a smaller size. PSD stores layers and is what you want as the source file. The differences are covered in the article on PNG, JPG, and SVG formats.

SVG, AI, EPS, PDF

These are vector containers. SVG is an open format for the web, and any browser can read it. AI and EPS are used in print production, and PDF can hold vector and raster at the same time.

Can you mix them

Yes, and in practice it happens all the time. What matters is understanding what happens to the file on the way out.

Vector inside raster

Text and shapes in a raster editor stay vector until you bake them. Until then, you can rewrite the letters and enlarge them with no loss. After rasterization, there is no way back. So leave the text layer alone until the very export.

Tracing raster into vector

The reverse conversion is possible, with caveats. Auto-trace handles black-and-white line art and logos well. On a photograph it spits out hundreds of extra points and ragged edges. Complicated things are easier to trace by hand over the picture.

What a beginner should choose

The answer depends on your plans, but for most people the path is the same.

Start with raster

Start with pixels: the logic is closer to ordinary drawing. You pick up a brush, make a line, and see the result. You practice form, value, and color right away, instead of fighting anchor points. Any browser editor with layers and brushes is raster. If you want full control over every pixel, try pixel art for beginners.

When it is time to try vector

There are three clear signals:

  1. someone asks you to make a logo or an icon;
  2. you need one layout for both print and screen;
  3. you like a geometric style with solid blocks of color.

In every other case, you can calmly stay in raster. The skill carries over: proportion, composition, and color work the same way. Only the method of laying down a line changes.

Time to draw, not just read

Theory fades in a couple of days if you never use it. Open the editor and spend 15 minutes on what you just read. That is enough for the skill to stick.

Try it now

A free online editor: brushes, layers, a palette, and a shared canvas. No install and no sign-up.

Start drawing

Topics in this guide

← How to Draw in an Online Editor: A Complete Beginner Guide Layers in a Graphics Editor: How to Stop Drawing Everything on One →