{"id":886,"date":"2020-11-20T11:30:30","date_gmt":"2020-11-20T17:30:30","guid":{"rendered":"https:\/\/wowfall2020.londietmartin.com\/?p=886"},"modified":"2020-11-20T11:30:30","modified_gmt":"2020-11-20T17:30:30","slug":"what-you-need-to-know-about-image-optimization","status":"publish","type":"post","link":"https:\/\/wowfall2020.londietmartin.com\/?p=886","title":{"rendered":"What you Need to Know About Image Optimization"},"content":{"rendered":"\n<h2 class=\"has-small-font-size wp-block-heading\">By Abby Buck<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Optimizing images for the web is very important. If images are not optimized, it will increase their load times. Fewer users will interact with a website if they have to sit around and wait for images to load.&nbsp; Different techniques can be used to decrease downloaded bytes on a web page, this is where image optimization comes into play. Optimizing images works by removing all the unnecessary data that is saved within the image to reduce the file size of the image based on where it is being used in your website. Optimizing images for the web can reduce your total page load size by up to 80%.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">JPEGs are usually more SEO-friendly than PNGs, especially if you do not need transparent backgrounds, as they offer better compression levels. What matters most is the actual file size (in Kb) of the images themselves: always strive to save them under 100Kb or less whenever possible. If a larger file size must be used above the fold (for hero or banner images for instance), it can help to save images as progressive JPGs where images can start progressively displaying as they are being loaded (a blurry version of the full image first appears and gradually sharpens as more bytes are downloaded).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"774\" height=\"387\" src=\"https:\/\/i0.wp.com\/wowfall2020.londietmartin.com\/wp-content\/uploads\/2020\/11\/image-opt.png?resize=774%2C387&#038;ssl=1\" alt=\"image compression\" class=\"wp-image-887\" srcset=\"https:\/\/i0.wp.com\/wowfall2020.londietmartin.com\/wp-content\/uploads\/2020\/11\/image-opt.png?resize=1024%2C512&amp;ssl=1 1024w, https:\/\/i0.wp.com\/wowfall2020.londietmartin.com\/wp-content\/uploads\/2020\/11\/image-opt.png?resize=300%2C150&amp;ssl=1 300w, https:\/\/i0.wp.com\/wowfall2020.londietmartin.com\/wp-content\/uploads\/2020\/11\/image-opt.png?resize=768%2C384&amp;ssl=1 768w, https:\/\/i0.wp.com\/wowfall2020.londietmartin.com\/wp-content\/uploads\/2020\/11\/image-opt.png?w=1460&amp;ssl=1 1460w\" sizes=\"auto, (max-width: 774px) 100vw, 774px\" \/><\/figure>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">Raster or Vector-Based?<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"588\" height=\"282\" src=\"https:\/\/i0.wp.com\/wowfall2020.londietmartin.com\/wp-content\/uploads\/2020\/11\/rvsv.png?resize=588%2C282&#038;ssl=1\" alt=\"raster vs vector\" class=\"wp-image-888\" srcset=\"https:\/\/i0.wp.com\/wowfall2020.londietmartin.com\/wp-content\/uploads\/2020\/11\/rvsv.png?w=588&amp;ssl=1 588w, https:\/\/i0.wp.com\/wowfall2020.londietmartin.com\/wp-content\/uploads\/2020\/11\/rvsv.png?resize=300%2C144&amp;ssl=1 300w\" sizes=\"auto, (max-width: 588px) 100vw, 588px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You should consider if an image is really required on your site. If it is, should it be raster or vector-based? Raster images should typically be used for complex scenes and irregular shapes because they are represented in pixel form. To maximize the quality of a raster image, you must keep in mind that the raster format is resolution-specific meaning that raster images are defined and displayed at one specific resolution. Resolution in raster graphics is measured in dpi, or dots per inch. The higher the dpi, the better the resolution.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Vector images are best for geometric shapes and are zoom and resolution-independent. Further, unlike raster graphics, vector images are not resolution-dependent. Vector images have no fixed intrinsic resolution, rather they display at the resolution capability of whatever output device (monitor, printer) is rendering them. Also, because vector graphics need not memorize the contents of millions of tiny pixels, these files tend to be considerably smaller than their raster counterparts.<\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">Image Compression<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Image compression is the process of encoding or converting an image file in such a way that it consumes less space than the original file and is typically performed through an image\/data compression algorithm or codec. Typically such codecs\/algorithms apply different techniques to reduce the image size. There are two types of image compression: lossy and lossless.<\/p>\n\n\n\n<h3 class=\"has-normal-font-size wp-block-heading\">Lossy<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Lossy compression will eliminate some pixel data, images work well with this type of compression because our eyes have different sensitivity to different colors. We can lose some information about each pixel to reduce the size and our images will still look great. In Lossy compression, A file does not restore or rebuilt in its original form therefor is termed an irreversible compression.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"774\" height=\"222\" src=\"https:\/\/i0.wp.com\/wowfall2020.londietmartin.com\/wp-content\/uploads\/2020\/11\/lossy.jpeg?resize=774%2C222&#038;ssl=1\" alt=\"lossy compression\" class=\"wp-image-889\" srcset=\"https:\/\/i0.wp.com\/wowfall2020.londietmartin.com\/wp-content\/uploads\/2020\/11\/lossy.jpeg?w=1000&amp;ssl=1 1000w, https:\/\/i0.wp.com\/wowfall2020.londietmartin.com\/wp-content\/uploads\/2020\/11\/lossy.jpeg?resize=300%2C86&amp;ssl=1 300w, https:\/\/i0.wp.com\/wowfall2020.londietmartin.com\/wp-content\/uploads\/2020\/11\/lossy.jpeg?resize=768%2C220&amp;ssl=1 768w\" sizes=\"auto, (max-width: 774px) 100vw, 774px\" \/><\/figure>\n\n\n\n<h3 class=\"has-normal-font-size wp-block-heading\">Lossless<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Lossless compresses the pixel data without eliminating it. File formats also contribute to the size of an image and they support different features such as transparency and animation. Lossless Compression does not eliminate the data which is not noticeable and can be restored to its original form.<\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">Conclusion <\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Understanding what image optimization is and how to use it is a key factor in being a web designer\/developer.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Works Cited<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.sciencedirect.com\/topics\/computer-science\/lossless-compression\">https:\/\/www.sciencedirect.com\/topics\/computer-science\/lossless-compression<\/a><\/li><li><a href=\"https:\/\/www.geeksforgeeks.org\/difference-between-lossy-compression-and-lossless-compression\/#:~:text=In%20Lossy%20compression%2C%20A%20file,restored%20in%20its%20original%20form.&amp;text=Lossy%20compression%20reduces%20the%20size,reduce%20the%20size%20of%20data.\">https:\/\/www.geeksforgeeks.org\/difference-between-lossy-compression-and-lossless-compression\/#:~:text=In%20Lossy%20compression%2C%20A%20file,restored%20in%20its%20original%20form.&amp;text=Lossy%20compression%20reduces%20the%20size,reduce%20the%20size%20of%20data.<\/a><\/li><li><a href=\"https:\/\/gtmetrix.com\/optimize-images.html\">https:\/\/gtmetrix.com\/optimize-images.html<\/a><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>By Abby Buck Optimizing images for the web is very important. If images are not optimized, it will increase their load times. Fewer users will&hellip;<\/p>\n","protected":false},"author":29,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_monsterinsights_skip_tracking":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-886","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/wowfall2020.londietmartin.com\/index.php?rest_route=\/wp\/v2\/posts\/886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wowfall2020.londietmartin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wowfall2020.londietmartin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wowfall2020.londietmartin.com\/index.php?rest_route=\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/wowfall2020.londietmartin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=886"}],"version-history":[{"count":2,"href":"https:\/\/wowfall2020.londietmartin.com\/index.php?rest_route=\/wp\/v2\/posts\/886\/revisions"}],"predecessor-version":[{"id":923,"href":"https:\/\/wowfall2020.londietmartin.com\/index.php?rest_route=\/wp\/v2\/posts\/886\/revisions\/923"}],"wp:attachment":[{"href":"https:\/\/wowfall2020.londietmartin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wowfall2020.londietmartin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=886"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wowfall2020.londietmartin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}