{"id":956,"date":"2022-06-12T11:53:58","date_gmt":"2022-06-12T10:53:58","guid":{"rendered":"https:\/\/blog.thomarite.uk\/?p=956"},"modified":"2022-06-12T11:53:58","modified_gmt":"2022-06-12T10:53:58","slug":"convert-images","status":"publish","type":"post","link":"https:\/\/blog.thomarite.uk\/index.php\/2022\/06\/12\/convert-images\/","title":{"rendered":"Convert Images"},"content":{"rendered":"\n<p>I thought it would be easier to save a PNG file as JPG but I failed.  I was pretty sure it should be a standard linux command for that. Naive.<\/p>\n\n\n\n<p>Ok, so found something that does the <a href=\"https:\/\/www.linuxshelltips.com\/batch-convert-png-to-jpg-in-linux\/\">job<\/a>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo aptitude install imagemagick\n$ convert pic.png pic.jpg<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I thought it would be easier to save a PNG file as JPG but I failed. I was pretty sure it should be a standard linux command for that. Naive. Ok, so found something that does the job:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-956","post","type-post","status-publish","format-standard","hentry","category-unix"],"_links":{"self":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/956","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/comments?post=956"}],"version-history":[{"count":1,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/956\/revisions"}],"predecessor-version":[{"id":957,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/956\/revisions\/957"}],"wp:attachment":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/media?parent=956"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/categories?post=956"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/tags?post=956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}