{"video_id":"W2xknX3k6FY","title":"How Do Vector Graphics Work?","channel":"Techquickie","show":"Techquickie","published_at":"2017-05-06T14:58:16Z","duration_s":356,"segments":[{"start_s":0.199,"end_s":9.12,"text":"you know how in movies some important person can just walk into a room wave","speaker":null,"is_sponsor":0},{"start_s":6.08,"end_s":11.88,"text":"their hand say and hands and they get","speaker":null,"is_sponsor":0},{"start_s":9.12,"end_s":16.68,"text":"like this super detailed closeup of the drug kingpin's nose hair or whatever","speaker":null,"is_sponsor":0},{"start_s":14.679,"end_s":21.119,"text":"well for most of us the experience of trying to enlarge a photo more often","speaker":null,"is_sponsor":0},{"start_s":19.16,"end_s":25.96,"text":"results in a blur that looks like a smear of melted rainbow ice cream now","speaker":null,"is_sponsor":0},{"start_s":24.16,"end_s":30.64,"text":"we've tried to solve this problem in recent years with digital cameras that","speaker":null,"is_sponsor":0},{"start_s":28.279,"end_s":35.0,"text":"capture images with ever higher pixel counts as well as more powerful","speaker":null,"is_sponsor":0},{"start_s":32.96,"end_s":39.44,"text":"computers that can process these images more easily but what if that's not good","speaker":null,"is_sponsor":0},{"start_s":37.52,"end_s":44.12,"text":"enough and you want something that will still look good when it's blown up to","speaker":null,"is_sponsor":0},{"start_s":41.36,"end_s":48.68,"text":"the size of Kim Kardashian's Caboose well this is where vector graphics can","speaker":null,"is_sponsor":0},{"start_s":46.399,"end_s":54.96,"text":"be extremely helpful since they can be rescaled to be as big or as small as","speaker":null,"is_sponsor":0},{"start_s":52.039,"end_s":60.519,"text":"you'd like without any loss of quality but how is that even possible well you","speaker":null,"is_sponsor":0},{"start_s":57.359,"end_s":63.44,"text":"see the reason that traditional raster","speaker":null,"is_sponsor":0},{"start_s":60.519,"end_s":70.159,"text":"images tend to blur and distort when you resize them is because the image file","speaker":null,"is_sponsor":0},{"start_s":66.479,"end_s":73.159,"text":"itself it's like a JPEG or a PNG is","speaker":null,"is_sponsor":0},{"start_s":70.159,"end_s":75.68,"text":"really just a collection of instructions","speaker":null,"is_sponsor":0},{"start_s":73.159,"end_s":80.88,"text":"that tell the computer how many pixels there are what color they should be and","speaker":null,"is_sponsor":0},{"start_s":78.32,"end_s":86.24,"text":"where they go so if you take a lower resolution JPEG and try to stretch it","speaker":null,"is_sponsor":0},{"start_s":83.759,"end_s":91.84,"text":"out Beyond how many pixels are actually defined in the file the computer has to","speaker":null,"is_sponsor":0},{"start_s":88.88,"end_s":97.56,"text":"just guess at what the other pixels in the enlarged image would be a very","speaker":null,"is_sponsor":0},{"start_s":95.04,"end_s":105.0,"text":"imperfect science that might be okay for something like blowing up a 4x6 to a 5x7","speaker":null,"is_sponsor":0},{"start_s":101.439,"end_s":107.0,"text":"for the wall but can result in horrible","speaker":null,"is_sponsor":0},{"start_s":105.0,"end_s":112.439,"text":"looking enlargements and the bigger you go the worse it gets vector graphics on","speaker":null,"is_sponsor":0},{"start_s":110.28,"end_s":117.799,"text":"the other hand work in a fundamentally different way instead of telling a","speaker":null,"is_sponsor":0},{"start_s":114.68,"end_s":121.0,"text":"computer what pixel goes where Vector","speaker":null,"is_sponsor":0},{"start_s":117.799,"end_s":124.079,"text":"files Define images using lines and","speaker":null,"is_sponsor":0},{"start_s":121.0,"end_s":127.119,"text":"shapes and their positions relative to","speaker":null,"is_sponsor":0},{"start_s":124.079,"end_s":130.239,"text":"each other for example the file might","speaker":null,"is_sponsor":0},{"start_s":127.119,"end_s":132.68,"text":"tell the computer I want a line here a","speaker":null,"is_sponsor":0},{"start_s":130.239,"end_s":138.08,"text":"triangle here and a curve that bends exactly like this in some other place","speaker":null,"is_sponsor":0},{"start_s":136.04,"end_s":143.92,"text":"the computer can then render these instructions into a nice looking smooth","speaker":null,"is_sponsor":0},{"start_s":141.16,"end_s":149.08,"text":"lined image each time you enlarge or Shrink it a little like a graphics card","speaker":null,"is_sponsor":0},{"start_s":146.68,"end_s":154.16,"text":"can render a frame of a video game in any resolution you choose providing your","speaker":null,"is_sponsor":0},{"start_s":151.8,"end_s":159.72,"text":"video card can handle it from a set of instructions specifying where things","speaker":null,"is_sponsor":0},{"start_s":156.68,"end_s":161.8,"text":"like polygons should go and because","speaker":null,"is_sponsor":0},{"start_s":159.72,"end_s":166.84,"text":"these instructions remain exactly the same no matter how large or small the","speaker":null,"is_sponsor":0},{"start_s":164.159,"end_s":171.12,"text":"image ends up being Vector files have the significant advantage of taking up","speaker":null,"is_sponsor":0},{"start_s":169.08,"end_s":175.519,"text":"the same amount of space on your computer's drive so you can end up with","speaker":null,"is_sponsor":0},{"start_s":173.4,"end_s":180.72,"text":"an image large enough to look crisp on a highway billboard while still taking up","speaker":null,"is_sponsor":0},{"start_s":177.84,"end_s":186.879,"text":"less than a megabyte well G Linus that sounds fantastic with better quality and","speaker":null,"is_sponsor":0},{"start_s":183.84,"end_s":190.2,"text":"smaller file sizes why aren't all images","speaker":null,"is_sponsor":0},{"start_s":186.879,"end_s":192.04,"text":"Vector great question because vector","speaker":null,"is_sponsor":0},{"start_s":190.2,"end_s":197.519,"text":"graphics are defined by lines and polygons they don't have as much","speaker":null,"is_sponsor":0},{"start_s":194.64,"end_s":202.68,"text":"granularity as raster images which Define Graphics pixel by pixel meaning","speaker":null,"is_sponsor":0},{"start_s":200.159,"end_s":207.68,"text":"that vector graphics at least currently aren't usually a great choice for photos","speaker":null,"is_sponsor":0},{"start_s":205.84,"end_s":212.319,"text":"and other images that are designed to look photorealistic and while there are","speaker":null,"is_sponsor":0},{"start_s":210.0,"end_s":217.879,"text":"tools that can vectorize traditional raster images they tend to lose detail","speaker":null,"is_sponsor":0},{"start_s":215.48,"end_s":223.319,"text":"during this process because the computer has to guess at how to convert the","speaker":null,"is_sponsor":0},{"start_s":220.439,"end_s":226.439,"text":"patterns of pixels into lines and shapes and it's very easy to see the problems","speaker":null,"is_sponsor":0},{"start_s":225.28,"end_s":231.68,"text":"with this if you've ever tried to convert something like a photo of a","speaker":null,"is_sponsor":0},{"start_s":228.599,"end_s":234.56,"text":"person to vector and because modern","speaker":null,"is_sponsor":0},{"start_s":231.68,"end_s":239.959,"text":"screens are raster displays since they're just large arrays of individual","speaker":null,"is_sponsor":0},{"start_s":236.76,"end_s":241.68,"text":"pixels Vector images need to be rastered","speaker":null,"is_sponsor":0},{"start_s":239.959,"end_s":246.48,"text":"ized before they can be displayed properly anyway with lots of modern","speaker":null,"is_sponsor":0},{"start_s":244.239,"end_s":251.519,"text":"software only having partial support for rasterizing vector graphics think about","speaker":null,"is_sponsor":0},{"start_s":249.0,"end_s":256.68,"text":"how you can't resize svgs in Google Chrome for example so they're a good","speaker":null,"is_sponsor":0},{"start_s":253.959,"end_s":260.919,"text":"option for graphic designers and visual artists trying to design cool looking","speaker":null,"is_sponsor":0},{"start_s":258.799,"end_s":265.56,"text":"logos or some such but if you were hoping to upscale all your porn to 8K","speaker":null,"is_sponsor":0},{"start_s":263.44,"end_s":271.08,"text":"using vectors then you've got another thing coming shout out to Pearl Auto for","speaker":null,"is_sponsor":0},{"start_s":268.8,"end_s":274.96,"text":"supporting our Channel pearl auto makes a set of rear view cameras that fit","speaker":null,"is_sponsor":0},{"start_s":272.96,"end_s":279.32,"text":"around your license plate and sync with your smartphone they're quick and easy","speaker":null,"is_sponsor":0},{"start_s":277.039,"end_s":283.039,"text":"to install you only need a screwdriver to mount a camera frame on your license","speaker":null,"is_sponsor":0},{"start_s":281.08,"end_s":287.08,"text":"plate then you just plug in the adapter to your onboard diagnostic port and","speaker":null,"is_sponsor":0},{"start_s":285.12,"end_s":291.12,"text":"mount your phone to your dash you can actually operate it with an app that's","speaker":null,"is_sponsor":0},{"start_s":288.72,"end_s":296.32,"text":"already available for iOS and Android the camera frame has two HD cameras","speaker":null,"is_sponsor":0},{"start_s":293.68,"end_s":300.08,"text":"which give audio and visual alerts to warn you of obstacles in your way","speaker":null,"is_sponsor":0},{"start_s":298.24,"end_s":305.12,"text":"allowing you to switch between normal and wide-angle lenses and even see","speaker":null,"is_sponsor":0},{"start_s":302.32,"end_s":310.4,"text":"around corners in day or night it works on any car has a solar powered panel so","speaker":null,"is_sponsor":0},{"start_s":308.12,"end_s":314.639,"text":"it stays charged on its own it uses Bluetooth technology to connect to your","speaker":null,"is_sponsor":0},{"start_s":312.199,"end_s":319.08,"text":"camera without wires and the Pearl app will automatically update to add","speaker":null,"is_sponsor":0},{"start_s":316.4,"end_s":323.08,"text":"additional features soon rear view cameras will be mandatory on all new","speaker":null,"is_sponsor":0},{"start_s":321.0,"end_s":327.12,"text":"cars in the US not because it's like a fancy pants feature but because it","speaker":null,"is_sponsor":0},{"start_s":324.919,"end_s":331.44,"text":"legitimately improves the safety of the vehicle's operation and pearl auto has a","speaker":null,"is_sponsor":0},{"start_s":329.72,"end_s":338.039,"text":"special offer just for our viewers head over to peo.com tequ to get free 2-day","speaker":null,"is_sponsor":0},{"start_s":335.28,"end_s":342.12,"text":"shipping if all that sounds pretty darn sweet we've got that Linked In the video","speaker":null,"is_sponsor":0},{"start_s":340.36,"end_s":346.759,"text":"description thanks for watching guys if you like the video like it if you disliked it dislike it if you want to","speaker":null,"is_sponsor":0},{"start_s":344.6,"end_s":349.639,"text":"check out other channels boom right over there if you want to comment with a","speaker":null,"is_sponsor":0},{"start_s":347.759,"end_s":354.039,"text":"video suggestion right down there and if you want to subscribe and follow then uh","speaker":null,"is_sponsor":0},{"start_s":351.8,"end_s":357.039,"text":"you could do that too if you were so inclined","speaker":null,"is_sponsor":0}],"full_text":"you know how in movies some important person can just walk into a room wave their hand say and hands and they get like this super detailed closeup of the drug kingpin's nose hair or whatever well for most of us the experience of trying to enlarge a photo more often results in a blur that looks like a smear of melted rainbow ice cream now we've tried to solve this problem in recent years with digital cameras that capture images with ever higher pixel counts as well as more powerful computers that can process these images more easily but what if that's not good enough and you want something that will still look good when it's blown up to the size of Kim Kardashian's Caboose well this is where vector graphics can be extremely helpful since they can be rescaled to be as big or as small as you'd like without any loss of quality but how is that even possible well you see the reason that traditional raster images tend to blur and distort when you resize them is because the image file itself it's like a JPEG or a PNG is really just a collection of instructions that tell the computer how many pixels there are what color they should be and where they go so if you take a lower resolution JPEG and try to stretch it out Beyond how many pixels are actually defined in the file the computer has to just guess at what the other pixels in the enlarged image would be a very imperfect science that might be okay for something like blowing up a 4x6 to a 5x7 for the wall but can result in horrible looking enlargements and the bigger you go the worse it gets vector graphics on the other hand work in a fundamentally different way instead of telling a computer what pixel goes where Vector files Define images using lines and shapes and their positions relative to each other for example the file might tell the computer I want a line here a triangle here and a curve that bends exactly like this in some other place the computer can then render these instructions into a nice looking smooth lined image each time you enlarge or Shrink it a little like a graphics card can render a frame of a video game in any resolution you choose providing your video card can handle it from a set of instructions specifying where things like polygons should go and because these instructions remain exactly the same no matter how large or small the image ends up being Vector files have the significant advantage of taking up the same amount of space on your computer's drive so you can end up with an image large enough to look crisp on a highway billboard while still taking up less than a megabyte well G Linus that sounds fantastic with better quality and smaller file sizes why aren't all images Vector great question because vector graphics are defined by lines and polygons they don't have as much granularity as raster images which Define Graphics pixel by pixel meaning that vector graphics at least currently aren't usually a great choice for photos and other images that are designed to look photorealistic and while there are tools that can vectorize traditional raster images they tend to lose detail during this process because the computer has to guess at how to convert the patterns of pixels into lines and shapes and it's very easy to see the problems with this if you've ever tried to convert something like a photo of a person to vector and because modern screens are raster displays since they're just large arrays of individual pixels Vector images need to be rastered ized before they can be displayed properly anyway with lots of modern software only having partial support for rasterizing vector graphics think about how you can't resize svgs in Google Chrome for example so they're a good option for graphic designers and visual artists trying to design cool looking logos or some such but if you were hoping to upscale all your porn to 8K using vectors then you've got another thing coming shout out to Pearl Auto for supporting our Channel pearl auto makes a set of rear view cameras that fit around your license plate and sync with your smartphone they're quick and easy to install you only need a screwdriver to mount a camera frame on your license plate then you just plug in the adapter to your onboard diagnostic port and mount your phone to your dash you can actually operate it with an app that's already available for iOS and Android the camera frame has two HD cameras which give audio and visual alerts to warn you of obstacles in your way allowing you to switch between normal and wide-angle lenses and even see around corners in day or night it works on any car has a solar powered panel so it stays charged on its own it uses Bluetooth technology to connect to your camera without wires and the Pearl app will automatically update to add additional features soon rear view cameras will be mandatory on all new cars in the US not because it's like a fancy pants feature but because it legitimately improves the safety of the vehicle's operation and pearl auto has a special offer just for our viewers head over to peo.com tequ to get free 2-day shipping if all that sounds pretty darn sweet we've got that Linked In the video description thanks for watching guys if you like the video like it if you disliked it dislike it if you want to check out other channels boom right over there if you want to comment with a video suggestion right down there and if you want to subscribe and follow then uh you could do that too if you were so inclined"}