vector

Creative Web Agency Encino

How to Convert an Image to a Vector for a T-Shirt

Back To Blog

convert image to vector

This is article is a step by step guide to converting an image to a vector suitable for use in printing merchandise, especially T-Shirts! As with almost everything else in design work, there are multiple answers. Each designer will have their personal tricks and ideas regarding the process of converting a bitmap file to a vector, and this is simply on method you can utilize.

How to convert an image to a vector:

 

Let’s start with the basics.

 

What is a vector?

The easiest way to explain what is vector is, is to explain what a vector isn’t. There are two major types of images: Bitmap, and SVG or Scalable Vector Graphic. A bitmap- based image is comprised of a grouping of pixels on a grid. Each pixel (or bit) has a color and holds information about the image as a whole.  Typically, most images are in a bitmap format. Common bitmap based formats are .JPG, .JPEG, .PNG, .GIF, .BMP etc.

These types of files are fine for most applications, but the problem with these image types is that when they are either enlarged or reduced by a significant amount, images will pixelate. Here is a visual example:

vector example

 

Conversely, an SVG is not made of pixels on a grid, so it can be resized to any size and it will never pixelate. An SVG image is and XML made up of complicated mathematical equations that specify the position of a control point or node on a given work plane. Its difficult to explain without some lengthy discussion, so for our purposes let’s just simplify it and consider that SVG images are basically made up of basic shape elements that can be resized without pixelating.

 

2. How does this relate to making t-shirt designs again?
When you send off your design to a printing company, it is important that it is a vector, and not a raster (or bitmap) image, to ensure that the design never looks pixelated or low resolution. This is especially crucial when you’re talking about scaling up an image to huge sizes, such as creating a vinyl skrim, or banner, or even to a poster size for advertisements. For the purpose of today’s article, we will only talk about T Shirt Design.

The Conversion Process:

Once you have decided on a design you like, and have created it in photoshop or any other image drawing software, then you are ready to convert the image to a vector for printing. For our tutorial, we will go over converting a bitmap image to a vector image using Adobe Photoshop, Bridge, and Adobe Illustrator. The examples I will show you use Photoshop CS6 and Adobe Illustrator .

Step 1: Removing the Image Background.

If your image is already configured with a transparent background, then skip ahead to step 2. Otherwise, start here.

For our purposes, we will use this example, which is composed of two colors:

imageexample

As you can see, the image has a white background, which is standard for most image formats. In order to make the conversion process a little easier, we should separate the design from the background in photoshop. Because this image has no white in the design itself, removing the image from the background is a simple process.

1. Go to the top of your Photoshop work space and click on “select”
2. From the dropdown menu, select “color range”. This should pull up this menu:

color range menu

3. Using the crosshair cursor, click the white space outside of the design.
You can use the slider titled “fuzziness” to expand or contract your selection.

4. Once you have clicked on the white space around the image, The preview pane will show you your selection in white, and the rest of the image in black.

selection view

And on the image you should see a moving, dashed line around the design:

moving dashes

Click delete. This should show you the image on a transparency background:

on trasnparency

Press ctrl or command +D to deselect the area.

Step 2: Separating Colors

When you send your design to the printer, they will make a separate screen for each color on your image. So in order to make an effective image to send to the screen printer, it is important to differentiate between the colors so they know which color goes where.

Use the “select color range” option to select a specific color from your design,
Go to the menu at the top of your workspace, and click on layer >new> later via cut (or Shift + Ctrl +J)
This should give you two layers, with each color on its own layer:

layers

Step 3: Open in Adobe Illustrator

– In Photoshop, go to the top layer, and rename it the color that it will be in your design. So we would rename layer one “Blue” and the layer titled “generic brand” “black”.
– Go to the top of your screen, and choose select>color range
And select the blue area.
– Then, once the layer is selected, press CTRL +C or CMD+C and open your Adobe Illustrator Application.
– In illustrator, Press ctrl +v or paste:

open in ai

Step 4: Image Trace

At the top select the dropdown menu next to “image trace”

Then select view: tracing result with outlines

outline vector

Click “expand” and you should end up with an image that looks something like this:

expanded

Step 5: Go Ahead and Save Now

  • Go to file>save as>and save the .AI File, and to be safe, repeat this process and save it as an .svg file.
  • Make sure your layer window is open in illustrator, and create a new layer. Go back to photoshop and select the black section, and paste it into illustrator on the new layer.
  • Repeat the image trace>view>expand> process on a new layer for each color. Make sure to name each layer the color it will represent in your design.

I highly suggest saving after each new layer is added in ai.

There you have it!! You have a fancy new vector image that your screen printing company can use to make your design on screens, adjusted to any size!

 

(A note from the author: If you are a business owner, hire a graphic artist. A good graphic artist will be able to conceptualize and create an image or logo for you or your company that will give off a professional feel that often times will not be accomplished by an amatuer designer. As a business owner, allocating funding for situations as crucial as high quality branding and graphic design should be a part of your business plan from day one- your business is worth the investment. If you want the best quality results, then hire a professional.)

Perfection, one pixel at a time.

We’re a web agency with a passion.