{"id":229441,"date":"2021-04-18T12:02:19","date_gmt":"2021-04-18T04:02:19","guid":{"rendered":"https:\/\/magicalbits.net\/?p=229441"},"modified":"2021-04-18T12:02:19","modified_gmt":"2021-04-18T04:02:19","slug":"content-aware-image-resizing-in-javascript","status":"publish","type":"post","link":"https:\/\/magicalbits.net\/?p=229441","title":{"rendered":"Content-aware image resizing in JavaScript"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/trekhleb.dev\/static\/e699bb9028be167a7a2ec54c8dd4268e\/00d43\/01-resizing-options.png\"><\/p>\n<p>There are many great articles written about the Seam Carving algorithm already, but I couldn&#8217;t resist the temptation to explore this elegant, powerful, and yet simple algorithm on my own, and to write about my personal experience with it.<\/p>\n<p><a href=\"https:\/\/trekhleb.dev\/blog\/2021\/content-aware-image-resizing-in-javascript\/\">Read more<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are many great articles written about the Seam Carving algorithm already, but I couldn&#8217;t resist the temptation to explore this elegant, powerful, and yet simple algorithm on my own, and to write about my personal experience with it. Read more<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[54],"class_list":["post-229441","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-pocket"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/229441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=229441"}],"version-history":[{"count":1,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/229441\/revisions"}],"predecessor-version":[{"id":229442,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/229441\/revisions\/229442"}],"wp:attachment":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=229441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=229441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=229441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}