{"id":1908,"date":"2025-04-28T22:47:44","date_gmt":"2025-04-28T13:47:44","guid":{"rendered":"https:\/\/oboki.net\/workspace\/?p=1908"},"modified":"2025-07-26T16:15:49","modified_gmt":"2025-07-26T07:15:49","slug":"imagemagick","status":"publish","type":"post","link":"https:\/\/oboki.net\/workspace\/system\/imagemagick\/","title":{"rendered":"ImageMagick"},"content":{"rendered":"<p>\uc0ac\uc9c4 \uc815\ub9ac\ud560\ub54c \ub108\ubb34\ub098\ub3c4 \uc720\uc6a9\ud55c \uc720\ud2f8\uc744 \ucc3e\uc558\ub2e4.<\/p>\n<blockquote>\n<p>imagemagick<\/p>\n<\/blockquote>\n<p>\uc5f0\uc0ac\ub85c \ucc0d\uc740 \uc0ac\uc9c4\uc744 \uc6c0\uc9e4 \ub9cc\ub4e4\ub824\uace0 \uac80\uc0c9\ud588\ub2e4\uac00 \ub2e4\uc74c \uc6f9\uc11c\ube44\uc2a4\ub97c \ucc3e\uc558\ub294\ub370<\/p>\n<p><a href=\"https:\/\/www.iloveimg.com\/\">https:\/\/www.iloveimg.com\/<\/a><\/p>\n<p>\ud30c\uc77c\uc218 \uc81c\ud55c\uc774 \uc788\uc5b4\uc11c \ud0c8\ub77d.<\/p>\n<p>\ub300\uccb4\uc7ac\ub97c \ucc3e\ub358 \uc911 \ubc1c\uacac\ud588\ub294\ub370 \uc774\ub984\uc774 \uc775\uc219\ud558\ub2e4 \ud588\ub354\ub2c8 nextcloud \uc11c\ubc84\uc5d0\uc11c php \ud655\uc7a5\uc73c\ub85c \ub298 \uc4f0\uace0 \uc788\uc5c8\ub358 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc600\ub124<\/p>\n<p><a href=\"https:\/\/oboki.net\/workspace\/nextcloud\/php-opcache-imagick-configuration\/\">https:\/\/oboki.net\/workspace\/nextcloud\/php-opcache-imagick-configuration\/<\/a><\/p>\n<ul>\n<li><code>ImageMagick<\/code><br \/>\na powerful command-line tool and a set of libraries for creating, editing, and converting images<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/ImageMagick\/ImageMagick\">https:\/\/github.com\/ImageMagick\/ImageMagick<\/a><\/li>\n<\/ul>\n<\/li>\n<li><code>imagick<\/code><br \/>\nPHP extension that acts as a wrapper for the ImageMagick API<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/Imagick\/imagick\">https:\/\/github.com\/Imagick\/imagick<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\ud328\ud0a4\uc9c0\ub85c \uc124\uce58\ud588\ub354\ub2c8 \uc774\ub7f0\uc800\ub7f0 \uc720\ud2f8\ub4e4\uc774 \uc794\ub729 \uc124\uce58\ub410\ub294\ub370 \ub098\uc911\uc5d0 \uc790\uc138\ud788 \uc0b4\ud3b4\ubd10\uc57c\uaca0\ub2e4.<\/p>\n<pre><code class=\"language-bash\">sudo apt install imagemagick<\/code><\/pre>\n<ul>\n<li>animate<\/li>\n<li>compare<\/li>\n<li>composite<\/li>\n<li>conjure<\/li>\n<li>convert<\/li>\n<li>display<\/li>\n<li>identify<\/li>\n<li>import<\/li>\n<li>mogrify<\/li>\n<li>montage<\/li>\n<li>stream<\/li>\n<\/ul>\n<p>\ub77c\uc774\ud2b8\ub8f8\uc5d0 \uc804\uc5ed \uc124\uc815\uc744 \ubc14\uafb8\uae34 \uc880 \uadf8\ub807\uace0 \ub0b4\ubcf4\ub0b4\uae30\ub85c \ubf51\ud78c \uc0ac\uc9c4\ub4e4 \uc77c\uad04 resize \ud560\ub54c \uc815\ub9d0 \uc720\uc6a9\ud560 \ub4ef.<\/p>\n<pre><code class=\"language-bash\">mogrify -resize 50% *.jpg<\/code><\/pre>\n<p>\uc6d0\ub798 \ud544\uc694\ud588\ub358 gif \ub9cc\ub4e4\uae30\ub3c4 \uac04\ub2e8\ud558\uac8c \ub418\uace0<\/p>\n<pre><code class=\"language-bash\">convert -delay 15 -loop 0 *.jpg output.gif<\/code><\/pre>\n<p>\ud30c\uc77c \ud3ec\ub9f7 \ubcc0\uacbd\ub3c4 \uc798 \ub41c\ub2e4.<\/p>\n<pre><code class=\"language-bash\">convert spam.pdf egg.png<\/code><\/pre>\n<p>\ub2e4\ub978 \uba85\ub839\ub4e4\ub3c4 \uc880 \uc54c\uc544\ubcf4\uace0 \uc2a4\ud06c\ub9bd\ud305 \ud574\ub450\uba74 \uc0ac\uc9c4 \uad00\ub9ac\ud558\ub294\ub370 \uc81c\ubc95 \uc720\uc6a9\ud560 \uac83 \uac19\ub2e4.<\/p>\n<p>\ub77c\uc774\ud2b8\ub8f8 \uc804 1\ucc28 \uc140\ub809\ud560\uc740 JPG \uc5d0\uc11c \ud55c\ubc88 \ud558\uace0 \uc694\ub7f0 \uc2a4\ud06c\ub9bd\ud2b8\ub85c \ub300\ucda9 \ucd94\ub824 \uc37c\uc5c8\ub294\ub370<\/p>\n<pre><code class=\"language-bash\">#!\/bin\/bash\n\ntargets=()\n\nfor file in `ls ..\/*.JPG`; do\n    targets+=(&quot;`echo ${file} | sed &#039;s\/\\.\\.\\\/\/\/&#039; | sed &#039;s\/JPG\/CR3\/&#039;`&quot;)\ndone\n\nfor photo in `ls *.CR3`; do\n    if [[ ${targets[@]} =~ $photo ]]; then\n        echo $photo exists\n        mv $photo .\/selected\/.\n    fi\ndone<\/code><\/pre>\n<p>\uc2dc\uac04 \ub098\uba74 \ud55c\ub370 \ubaa8\uc544\uc11c \uc140\ub809, \ubcf4\uc815, \ucd94\ucd9c \ub9e5\ub77d\uc744 \uc644\uc131\ud574\ubd10\uc57c\uaca0\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc0ac\uc9c4 \uc815\ub9ac\ud560\ub54c \ub108\ubb34\ub098\ub3c4 \uc720\uc6a9\ud55c \uc720\ud2f8\uc744 \ucc3e\uc558\ub2e4. imagemagick \uc5f0\uc0ac\ub85c \ucc0d\uc740 \uc0ac\uc9c4\uc744 \uc6c0\uc9e4 \ub9cc\ub4e4\ub824\uace0 \uac80\uc0c9\ud588\ub2e4\uac00 \ub2e4\uc74c \uc6f9\uc11c\ube44\uc2a4\ub97c \ucc3e\uc558\ub294\ub370 https:\/\/www.iloveimg.com\/ \ud30c\uc77c\uc218 \uc81c\ud55c\uc774 \uc788\uc5b4\uc11c \ud0c8\ub77d. \ub300\uccb4\uc7ac\ub97c \ucc3e\ub358 \uc911 \ubc1c\uacac\ud588\ub294\ub370 \uc774\ub984\uc774 \uc775\uc219\ud558\ub2e4 \ud588\ub354\ub2c8 nextcloud \uc11c\ubc84\uc5d0\uc11c php \ud655\uc7a5\uc73c\ub85c \ub298 \uc4f0\uace0 \uc788\uc5c8\ub358 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc600\ub124 https:\/\/oboki.net\/workspace\/nextcloud\/php-opcache-imagick-configuration\/ ImageMagick a powerful command-line tool and a set of libraries for creating, editing, and converting images https:\/\/github.com\/ImageMagick\/ImageMagick imagick [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[],"class_list":["post-1908","post","type-post","status-publish","format-standard","hentry","category-system"],"_links":{"self":[{"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/posts\/1908","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/comments?post=1908"}],"version-history":[{"count":0,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/posts\/1908\/revisions"}],"wp:attachment":[{"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/media?parent=1908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/categories?post=1908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/tags?post=1908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}