{"id":1557,"date":"2019-09-16T18:34:41","date_gmt":"2019-09-16T18:34:41","guid":{"rendered":"http:\/\/blogs.eciad.ca\/comdtech\/?p=300"},"modified":"2025-09-10T20:01:14","modified_gmt":"2025-09-10T20:01:14","slug":"vector-graphics-and-raster-graphics","status":"publish","type":"post","link":"https:\/\/palette.ecuad.ca\/comdtech\/2019\/09\/16\/vector-graphics-and-raster-graphics\/","title":{"rendered":"Vector Graphics and Raster Graphics"},"content":{"rendered":"<p><em>When you&#8217;re working with digital graphics, it&#8217;s important to understand the difference between vector art and raster art.<\/em><\/p>\n<p><!--more--><\/p>\n<h1>Vector Graphics<\/h1>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-302 size-medium alignright\" src=\"http:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-8.50.17-AM-1-300x232.png\" alt=\"\" width=\"300\" height=\"232\" \/>Vector graphics are made up of a series of <strong>anchor<\/strong>\u00a0<strong>points\u00a0<\/strong>(sometimes\u00a0 just\u00a0called &#8220;anchors&#8221; or &#8220;points&#8221;), connected by lines and curves. One major benefit is that they are <strong>scalable<\/strong>, which means the size can be changed without any loss in quality. The math that creates the shapes (the placement of points, and the angles of lines between them) stays the same no matter the size, so the art can appear smooth and crisp whether it is printed at the size of a business card, or a giant poster. That&#8217;s also the reason why you can print fonts at large sizes without losing quality: almost all modern font files intended for print (.otf, .ttf) use vector shapes of the letterforms, created by the type designer using vector tools.<\/p>\n<p>Vector art is required for some processes where a machine needs to be able to follow a path. At school, for example, that&#8217;s the laser cutter in Digital Fabrication, or the sticker cutter at the DOC.<\/p>\n<h1>Raster (Pixel) Graphics<\/h1>\n<figure id=\"attachment_303\" aria-describedby=\"caption-attachment-303\" style=\"width: 300px\" class=\"wp-caption alignright\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-303 size-medium\" src=\"http:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2025\/03\/rasteramp-300x265.png\" alt=\"\" width=\"300\" height=\"265\" \/><figcaption id=\"caption-attachment-303\" class=\"wp-caption-text\">A very low resolution image<\/figcaption><\/figure>\n<p>With raster graphics, the image information is made up of a grid of tiny squares called <strong>pixels<\/strong>, and the number of pixels per inch is the\u00a0<strong><a href=\"http:\/\/blogs.eciad.ca\/comdtech\/all-about-resolution\/\">resolution<\/a>.\u00a0<\/strong>The pixels will become visible if you zoom in on the artwork enough. Raster art depends on resolution, which means it doesn&#8217;t look the same at every size like vector art does. Increasing the size will result in a loss of image quality. For example: an original file that is 2000px wide just contains more image information in its pixels than a file saved at 100px wide. Trying to increase a file&#8217;s pixel size to make it larger than the original artwork means that the software will be making up new pixels to fill the gaps, and the result usually looks blurry or degraded.<\/p>\n<p>The term\u00a0<strong>pixel art<\/strong> is also used for styles of raster graphics where artists and designers work at a small scale with individual pixels, and avoid digital blending and smoothing effects in favor of hard edges and efficient pixel placement (think about retro-style video game art and icon design.)<\/p>\n<h1>Side By Side<\/h1>\n<p>These two graphics in a working file look almost identical&#8230;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-304\" src=\"http:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2025\/03\/Illustrator-Demo.png\" alt=\"\" width=\"1000\" height=\"475\" \/><\/p>\n<p>&#8230;but if we zoom in, it gradually becomes noticeable that the vector art stays smooth and the raster art edges start to look a little blurry:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1981\" style=\"font-size: 1rem\" src=\"http:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-8.45.27-AM-1-1024x595.png\" alt=\"\" width=\"525\" height=\"305\" srcset=\"https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-8.45.27-AM-1-1024x595.png 1024w, https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-8.45.27-AM-1-300x174.png 300w, https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-8.45.27-AM-1-768x446.png 768w, https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-8.45.27-AM-1-1536x893.png 1536w, https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-8.45.27-AM-1.png 1906w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1980\" src=\"http:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-8.45.35-AM-1024x587.png\" alt=\"\" width=\"525\" height=\"301\" srcset=\"https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-8.45.35-AM-1024x587.png 1024w, https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-8.45.35-AM-300x172.png 300w, https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-8.45.35-AM-768x440.png 768w, https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-8.45.35-AM-1536x880.png 1536w, https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-8.45.35-AM-2048x1173.png 2048w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1973\" src=\"http:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-8.47.15-AM-1024x480.png\" alt=\"\" width=\"525\" height=\"246\" srcset=\"https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-8.47.15-AM-1024x480.png 1024w, https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-8.47.15-AM-300x141.png 300w, https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-8.47.15-AM-768x360.png 768w, https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-8.47.15-AM-1536x721.png 1536w, https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-8.47.15-AM.png 1948w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-307 size-medium\" src=\"http:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-8.47.50-AM-e1568652465741-300x210.png\" alt=\"\" width=\"300\" height=\"210\" \/><\/h2>\n<p>&#8230;and eventually, the pixels become visible, and the difference is very obvious.<\/p>\n<p><em><strong>Note:\u00a0<\/strong>If you zoom in on the website here, or save a copy of the images, you&#8217;ll see that all the samples you see here are raster files! That&#8217;s because they&#8217;re saved as png files (a file type for screen and web) to display on this website. The original working .ai file that I used to demonstrate how the vector version looks smoother zoomed-in included both vector and raster art.<\/em><\/p>\n<p><strong>File types that are always raster art:<\/strong> jpeg, gif, png<\/p>\n<p><strong>File types that can contain vector art, raster art, or both<\/strong>, depending on how you build and save them: pdf, ai, psd, indd, tif, eps, svg<\/p>\n<h1>Is Photoshop for raster art, and Illustrator for vector art?<\/h1>\n<p>Short answer: yes!<\/p>\n<p>Longer answer: It&#8217;s not quite that simple, and there&#8217;s some crossover:<\/p>\n<p><strong>Photoshop:\u00a0<\/strong> mainly has advanced tools for creating and editing raster artwork&#8230;but also some simple tools for drawing vector shapes, the ability to include vector layers as geometric shapes, layer masks, or placed smart objects, and the ability to create vector paths from selections.<\/p>\n<p><strong>Illustrator:\u00a0<\/strong>mainly has advanced tools for creating and editing vector artwork&#8230;but also has the ability to place raster art,\u00a0 crop it and do\u00a0a few basic colour adjustments, and add some raster-based special effects to vector art.<\/p>\n<h1>Converting: Rasterizing, and Vector Tracing<\/h1>\n<p><strong>Rasterize<\/strong> is the word for converting vector graphics to pixels. It&#8217;s available in Illustrator&#8217;s Object menu, and Photoshop&#8217;s Layer menu. Rasterized artwork\u00a0does not keep any vector point information, and can&#8217;t be enlarged bigger than its original size without losing quality \u2013 but if it&#8217;s rasterized at an appropriate size and resolution, the quality can look very similar to the original.<\/p>\n<div id='gallery-1' class='gallery galleryid-1557 gallery-columns-2 gallery-size-medium'><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"187\" src=\"https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-10.49.13-AM-300x187.png\" class=\"attachment-medium size-medium\" alt=\"\" aria-describedby=\"gallery-1-315\" srcset=\"https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-10.49.13-AM-300x187.png 300w, https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-10.49.13-AM-768x479.png 768w, https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-10.49.13-AM.png 830w\" sizes=\"auto, 100vw\" \/>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-1-315'>\n\t\t\t\tIn Photoshop: Layer &gt; Rasterize\n\t\t\t\t<\/figcaption><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon portrait'>\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"236\" height=\"300\" src=\"https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-10.48.35-AM-236x300.png\" class=\"attachment-medium size-medium\" alt=\"\" aria-describedby=\"gallery-1-316\" srcset=\"https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-10.48.35-AM-236x300.png 236w, https:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-10.48.35-AM.png 540w\" sizes=\"auto, 100vw\" \/>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-1-316'>\n\t\t\t\tIn Illustrator: Object &gt; Rasterize\n\t\t\t\t<\/figcaption><\/figure>\n\t\t<\/div>\n\n<p><strong>Vector Tracing<\/strong>\u00a0(like Illustrator&#8217;s Image Trace function) is the process of converting raster art to vector art, and it&#8217;s a lot more complicated than rasterizing: the software needs to try to detect lines and shapes, and interpret them into vector points. It can be tricky to get a really good result, especially with complex art, and it&#8217;s always a good idea to ask yourself whether doing a vector trace is actually a better idea for a specific\u00a0image than either working with a high-resolution raster\u00a0file, or re-drawing\u00a0it\u00a0with vector tools.<\/p>\n<p>A type of image that often produces a successful vector trace is something like a single-colour logo graphic, where the original raster art is already clean and crisp and high-contrast.<\/p>\n<figure id=\"attachment_311\" aria-describedby=\"caption-attachment-311\" style=\"width: 1788px\" class=\"wp-caption alignleft\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-311 size-full\" src=\"http:\/\/palette.ecuad.ca\/comdtech\/wp-content\/uploads\/sites\/77\/2019\/09\/Screen-Shot-2019-09-16-at-11.10.26-AM.png\" alt=\"\" width=\"1788\" height=\"962\" \/><figcaption id=\"caption-attachment-311\" class=\"wp-caption-text\"><strong>Usually a bad idea<\/strong>: image tracing a colour photo. Even with limited palette settings, the vector version has over 40,000 points, and that&#8217;s high enough that it might slow down the computer or crash Illustrator. It&#8217;s not efficient for your files, and you can also see that it doesn&#8217;t look the same as the original image.<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you&#8217;re working with digital graphics, it&#8217;s important to understand the difference between vector art and raster art.<\/p>\n","protected":false},"author":106,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[2],"tags":[15,23,26,34],"class_list":["post-1557","post","type-post","status-publish","format-standard","hentry","category-files-software","tag-illustrator","tag-photoshop","tag-raster","tag-vector"],"_links":{"self":[{"href":"https:\/\/palette.ecuad.ca\/comdtech\/wp-json\/wp\/v2\/posts\/1557","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/palette.ecuad.ca\/comdtech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/palette.ecuad.ca\/comdtech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/palette.ecuad.ca\/comdtech\/wp-json\/wp\/v2\/users\/106"}],"replies":[{"embeddable":true,"href":"https:\/\/palette.ecuad.ca\/comdtech\/wp-json\/wp\/v2\/comments?post=1557"}],"version-history":[{"count":13,"href":"https:\/\/palette.ecuad.ca\/comdtech\/wp-json\/wp\/v2\/posts\/1557\/revisions"}],"predecessor-version":[{"id":1982,"href":"https:\/\/palette.ecuad.ca\/comdtech\/wp-json\/wp\/v2\/posts\/1557\/revisions\/1982"}],"wp:attachment":[{"href":"https:\/\/palette.ecuad.ca\/comdtech\/wp-json\/wp\/v2\/media?parent=1557"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/palette.ecuad.ca\/comdtech\/wp-json\/wp\/v2\/categories?post=1557"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/palette.ecuad.ca\/comdtech\/wp-json\/wp\/v2\/tags?post=1557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}