ImageMagick: 炭笔画效果(ImageMagick 6.9.12-64)
一,命令:
1,文档:
https://legacy.imagemagick.org/Usage/transform/
2,执行命令:
#-charcoal radius: simulate a charcoal drawing:模拟炭笔画的半径
[lhdop@blog img2]$ convert a.jpeg -charcoal 1 a_charcoal_1.jpeg [lhdop@blog img2]$ convert a.jpeg -charcoal 2 a_charcoal_2.jpeg [lhdop@blog img2]$ convert a.jpeg -charcoal 10 a_charcoal_10.jpeg
说明:刘宏缔的架构森林是一个专注架构的博客,
网站:https://blog.imgtouch.com
本文: https://blog.imgtouch.com/index.php/2023/06/03/imagemagick-tan-bi-hua-xiao-guo-imagemagick-6-9-1264/
对应的源码可以访问这里获取: https://github.com/liuhongdi/
或: https://gitee.com/liuhongdi
说明:作者:刘宏缔 邮箱: 371125307@qq.com
二,查看效果:
原图:
charcoal值为1:
charcoal值为2:
charcoal值为10:
三,查看imagemagick的版本:
[lhdop@blog ~]$ convert --version Version: ImageMagick 6.9.12-64 Q16 x86_64 17467 https://legacy.imagemagick.org Copyright: (C) 1999 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC Modules OpenMP(4.5) Delegates (built-in): bzlib cairo djvu fontconfig freetype gslib gvc jbig jng jp2 jpeg lcms ltdl lzma openexr pangocairo png ps raqm raw rsvg tiff webp wmf x xml zlib