{"id":7922,"date":"2026-11-26T11:39:30","date_gmt":"2026-11-26T11:39:30","guid":{"rendered":"https:\/\/thoth.dk\/?p=7922"},"modified":"2026-11-26T13:33:30","modified_gmt":"2026-11-26T13:33:30","slug":"batch-konvertering-til-webp","status":"publish","type":"post","link":"https:\/\/thoth.dk\/index.php\/2026\/11\/26\/batch-konvertering-til-webp\/","title":{"rendered":"Batch konvertering til webp"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">N\u00e5r mange filer skal konverteres fra jpg eller png til webp er det lettere at bruge imageMagick i en terminal. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir webp\nmagick mogrify -path webp -format webp -resize 1200x -quality 80 *.*g<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u00c5bn mappen webp &#8211; her ligger de konverterede filer i webp-format.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">En Lighthouse test viser, at det er besv\u00e6ret v\u00e6rd.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"451\" src=\"https:\/\/thoth.dk\/wp-content\/uploads\/2026\/11\/webp-konverteret-1024x451.webp\" alt=\"Lighthouse testen viser, at det betaler sig at konvertere alle billeder til webp-\" class=\"wp-image-7929\" srcset=\"https:\/\/thoth.dk\/wp-content\/uploads\/2026\/11\/webp-konverteret-1024x451.webp 1024w, https:\/\/thoth.dk\/wp-content\/uploads\/2026\/11\/webp-konverteret-300x132.webp 300w, https:\/\/thoth.dk\/wp-content\/uploads\/2026\/11\/webp-konverteret-767x338.webp 767w, https:\/\/thoth.dk\/wp-content\/uploads\/2026\/11\/webp-konverteret.webp 1470w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Resultatet af en Lighthouse test p\u00e5 denne side efter at billederne blev konverteret til webp.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Og <a href=\"https:\/\/www.websitecarbon.com\/\">WebCarbon<\/a> l\u00e6gger pludselig denne side i A+<\/p>\n","protected":false},"excerpt":{"rendered":"<p>N\u00e5r mange filer skal konverteres fra jpg eller png til webp er det lettere at bruge imageMagick i en terminal. \u00c5bn mappen webp &#8211; her ligger de konverterede filer i webp-format. En Lighthouse test viser, at det er besv\u00e6ret v\u00e6rd. Og WebCarbon l\u00e6gger pludselig denne side i A+<\/p>\n","protected":false},"author":1,"featured_media":7933,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[31],"tags":[],"class_list":["post-7922","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-multimediedesign"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Batch konvertering til webp - Wordpress og WooCommerce<\/title>\n<meta name=\"description\" content=\"Det betaler sig at konvertere alle billeder til webp. ImageMagick g\u00f8r dette arbejde meget lettere.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thoth.dk\/index.php\/2026\/11\/26\/batch-konvertering-til-webp\/\" \/>\n<meta property=\"og:locale\" content=\"da_DK\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Batch konvertering til webp - Wordpress og WooCommerce\" \/>\n<meta property=\"og:description\" content=\"Det betaler sig at konvertere alle billeder til webp. ImageMagick g\u00f8r dette arbejde meget lettere.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thoth.dk\/index.php\/2026\/11\/26\/batch-konvertering-til-webp\/\" \/>\n<meta property=\"og:site_name\" content=\"Wordpress og WooCommerce\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-26T11:39:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-26T13:33:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thoth.dk\/wp-content\/uploads\/2026\/11\/web-carbon.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1265\" \/>\n\t<meta property=\"og:image:height\" content=\"836\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Per Thykj\u00e6r Jensen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Skrevet af\" \/>\n\t<meta name=\"twitter:data1\" content=\"Per Thykj\u00e6r Jensen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimeret l\u00e6setid\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minut\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2026\\\/11\\\/26\\\/batch-konvertering-til-webp\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2026\\\/11\\\/26\\\/batch-konvertering-til-webp\\\/\"},\"author\":{\"name\":\"Per Thykj\u00e6r Jensen\",\"@id\":\"https:\\\/\\\/thoth.dk\\\/#\\\/schema\\\/person\\\/d94ae14e2a45089632b96d9f633fac06\"},\"headline\":\"Batch konvertering til webp\",\"datePublished\":\"2026-11-26T11:39:30+00:00\",\"dateModified\":\"2026-11-26T13:33:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2026\\\/11\\\/26\\\/batch-konvertering-til-webp\\\/\"},\"wordCount\":71,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2026\\\/11\\\/26\\\/batch-konvertering-til-webp\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/thoth.dk\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/web-carbon.webp\",\"articleSection\":[\"Multimediedesign\"],\"inLanguage\":\"da-DK\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2026\\\/11\\\/26\\\/batch-konvertering-til-webp\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2026\\\/11\\\/26\\\/batch-konvertering-til-webp\\\/\",\"url\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2026\\\/11\\\/26\\\/batch-konvertering-til-webp\\\/\",\"name\":\"Batch konvertering til webp - Wordpress og WooCommerce\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/thoth.dk\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2026\\\/11\\\/26\\\/batch-konvertering-til-webp\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2026\\\/11\\\/26\\\/batch-konvertering-til-webp\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/thoth.dk\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/web-carbon.webp\",\"datePublished\":\"2026-11-26T11:39:30+00:00\",\"dateModified\":\"2026-11-26T13:33:30+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/thoth.dk\\\/#\\\/schema\\\/person\\\/d94ae14e2a45089632b96d9f633fac06\"},\"description\":\"Det betaler sig at konvertere alle billeder til webp. ImageMagick g\u00f8r dette arbejde meget lettere.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2026\\\/11\\\/26\\\/batch-konvertering-til-webp\\\/#breadcrumb\"},\"inLanguage\":\"da-DK\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2026\\\/11\\\/26\\\/batch-konvertering-til-webp\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"da-DK\",\"@id\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2026\\\/11\\\/26\\\/batch-konvertering-til-webp\\\/#primaryimage\",\"url\":\"https:\\\/\\\/thoth.dk\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/web-carbon.webp\",\"contentUrl\":\"https:\\\/\\\/thoth.dk\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/web-carbon.webp\",\"width\":1265,\"height\":836,\"caption\":\"WebCarbon vurderer denne side som A+\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2026\\\/11\\\/26\\\/batch-konvertering-til-webp\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/thoth.dk\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Batch konvertering til webp\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/thoth.dk\\\/#website\",\"url\":\"https:\\\/\\\/thoth.dk\\\/\",\"name\":\"Wordpress og WooCommerce\",\"description\":\"&quot;The media is the message&quot;\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/thoth.dk\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"da-DK\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/thoth.dk\\\/#\\\/schema\\\/person\\\/d94ae14e2a45089632b96d9f633fac06\",\"name\":\"Per Thykj\u00e6r Jensen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"da-DK\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0c742a8215d5628ce5ef34c45460dd1c5211c693c0613635306baeec5c28d7a9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0c742a8215d5628ce5ef34c45460dd1c5211c693c0613635306baeec5c28d7a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0c742a8215d5628ce5ef34c45460dd1c5211c693c0613635306baeec5c28d7a9?s=96&d=mm&r=g\",\"caption\":\"Per Thykj\u00e6r Jensen\"},\"description\":\"P\u00e5 Thoth.dk kan du finde tutorials og artikler om udvikling af websites med WordPress og online shopping med WooCommerce. Der er fokus p\u00e5 de nyeste blokbaserede temaer og metoder. Materialer og tutorials er udviklet af Per Thykj\u00e6r Jensen, lektor p\u00e5 Multimediedesigneruddannelsen ved Erhvervsakademi Aarhus.\",\"sameAs\":[\"https:\\\/\\\/thoth.dk\"],\"url\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/author\\\/per\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Batch konvertering til webp - Wordpress og WooCommerce","description":"Det betaler sig at konvertere alle billeder til webp. ImageMagick g\u00f8r dette arbejde meget lettere.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/thoth.dk\/index.php\/2026\/11\/26\/batch-konvertering-til-webp\/","og_locale":"da_DK","og_type":"article","og_title":"Batch konvertering til webp - Wordpress og WooCommerce","og_description":"Det betaler sig at konvertere alle billeder til webp. ImageMagick g\u00f8r dette arbejde meget lettere.","og_url":"https:\/\/thoth.dk\/index.php\/2026\/11\/26\/batch-konvertering-til-webp\/","og_site_name":"Wordpress og WooCommerce","article_published_time":"2026-11-26T11:39:30+00:00","article_modified_time":"2026-11-26T13:33:30+00:00","og_image":[{"width":1265,"height":836,"url":"https:\/\/thoth.dk\/wp-content\/uploads\/2026\/11\/web-carbon.webp","type":"image\/webp"}],"author":"Per Thykj\u00e6r Jensen","twitter_card":"summary_large_image","twitter_misc":{"Skrevet af":"Per Thykj\u00e6r Jensen","Estimeret l\u00e6setid":"1 minut"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/thoth.dk\/index.php\/2026\/11\/26\/batch-konvertering-til-webp\/#article","isPartOf":{"@id":"https:\/\/thoth.dk\/index.php\/2026\/11\/26\/batch-konvertering-til-webp\/"},"author":{"name":"Per Thykj\u00e6r Jensen","@id":"https:\/\/thoth.dk\/#\/schema\/person\/d94ae14e2a45089632b96d9f633fac06"},"headline":"Batch konvertering til webp","datePublished":"2026-11-26T11:39:30+00:00","dateModified":"2026-11-26T13:33:30+00:00","mainEntityOfPage":{"@id":"https:\/\/thoth.dk\/index.php\/2026\/11\/26\/batch-konvertering-til-webp\/"},"wordCount":71,"commentCount":0,"image":{"@id":"https:\/\/thoth.dk\/index.php\/2026\/11\/26\/batch-konvertering-til-webp\/#primaryimage"},"thumbnailUrl":"https:\/\/thoth.dk\/wp-content\/uploads\/2026\/11\/web-carbon.webp","articleSection":["Multimediedesign"],"inLanguage":"da-DK","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/thoth.dk\/index.php\/2026\/11\/26\/batch-konvertering-til-webp\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/thoth.dk\/index.php\/2026\/11\/26\/batch-konvertering-til-webp\/","url":"https:\/\/thoth.dk\/index.php\/2026\/11\/26\/batch-konvertering-til-webp\/","name":"Batch konvertering til webp - Wordpress og WooCommerce","isPartOf":{"@id":"https:\/\/thoth.dk\/#website"},"primaryImageOfPage":{"@id":"https:\/\/thoth.dk\/index.php\/2026\/11\/26\/batch-konvertering-til-webp\/#primaryimage"},"image":{"@id":"https:\/\/thoth.dk\/index.php\/2026\/11\/26\/batch-konvertering-til-webp\/#primaryimage"},"thumbnailUrl":"https:\/\/thoth.dk\/wp-content\/uploads\/2026\/11\/web-carbon.webp","datePublished":"2026-11-26T11:39:30+00:00","dateModified":"2026-11-26T13:33:30+00:00","author":{"@id":"https:\/\/thoth.dk\/#\/schema\/person\/d94ae14e2a45089632b96d9f633fac06"},"description":"Det betaler sig at konvertere alle billeder til webp. ImageMagick g\u00f8r dette arbejde meget lettere.","breadcrumb":{"@id":"https:\/\/thoth.dk\/index.php\/2026\/11\/26\/batch-konvertering-til-webp\/#breadcrumb"},"inLanguage":"da-DK","potentialAction":[{"@type":"ReadAction","target":["https:\/\/thoth.dk\/index.php\/2026\/11\/26\/batch-konvertering-til-webp\/"]}]},{"@type":"ImageObject","inLanguage":"da-DK","@id":"https:\/\/thoth.dk\/index.php\/2026\/11\/26\/batch-konvertering-til-webp\/#primaryimage","url":"https:\/\/thoth.dk\/wp-content\/uploads\/2026\/11\/web-carbon.webp","contentUrl":"https:\/\/thoth.dk\/wp-content\/uploads\/2026\/11\/web-carbon.webp","width":1265,"height":836,"caption":"WebCarbon vurderer denne side som A+"},{"@type":"BreadcrumbList","@id":"https:\/\/thoth.dk\/index.php\/2026\/11\/26\/batch-konvertering-til-webp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/thoth.dk\/"},{"@type":"ListItem","position":2,"name":"Batch konvertering til webp"}]},{"@type":"WebSite","@id":"https:\/\/thoth.dk\/#website","url":"https:\/\/thoth.dk\/","name":"Wordpress og WooCommerce","description":"&quot;The media is the message&quot;","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/thoth.dk\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"da-DK"},{"@type":"Person","@id":"https:\/\/thoth.dk\/#\/schema\/person\/d94ae14e2a45089632b96d9f633fac06","name":"Per Thykj\u00e6r Jensen","image":{"@type":"ImageObject","inLanguage":"da-DK","@id":"https:\/\/secure.gravatar.com\/avatar\/0c742a8215d5628ce5ef34c45460dd1c5211c693c0613635306baeec5c28d7a9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0c742a8215d5628ce5ef34c45460dd1c5211c693c0613635306baeec5c28d7a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0c742a8215d5628ce5ef34c45460dd1c5211c693c0613635306baeec5c28d7a9?s=96&d=mm&r=g","caption":"Per Thykj\u00e6r Jensen"},"description":"P\u00e5 Thoth.dk kan du finde tutorials og artikler om udvikling af websites med WordPress og online shopping med WooCommerce. Der er fokus p\u00e5 de nyeste blokbaserede temaer og metoder. Materialer og tutorials er udviklet af Per Thykj\u00e6r Jensen, lektor p\u00e5 Multimediedesigneruddannelsen ved Erhvervsakademi Aarhus.","sameAs":["https:\/\/thoth.dk"],"url":"https:\/\/thoth.dk\/index.php\/author\/per\/"}]}},"_links":{"self":[{"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/posts\/7922","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/comments?post=7922"}],"version-history":[{"count":8,"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/posts\/7922\/revisions"}],"predecessor-version":[{"id":7939,"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/posts\/7922\/revisions\/7939"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/media\/7933"}],"wp:attachment":[{"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/media?parent=7922"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/categories?post=7922"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/tags?post=7922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}