ImageMagick: 油画/水彩画效果(ImageMagick 6.9.12-64)
一,命令:
1,相关的文档地址:
https://legacy.imagemagick.org/Usage/transform/
2,执行命令:
#-paint radius: simulate an oil painting 指定模拟油画效果的半径
[lhdop@blog img2]$ convert a.jpeg -paint 3 a_paint_3.png [lhdop@blog img2]$ convert a.jpeg -paint 1 a_paint_1.png
说明:刘宏缔的架构森林是一个专注架构的博客,
网站:https://blog.imgtouch.com
本文: https://blog.imgtouch.com/index.php/2023/06/03/imagemagick-you-hua-shui-cai-hua-xiao-guo-imagemagick-6-9/
对应的源码可以访问这里获取: https://github.com/liuhongdi/
或: https://gitee.com/liuhongdi
说明:作者:刘宏缔 邮箱: 371125307@qq.com
二,查看效果:
原图:
paint值为1时:
paint值为3时:
三,查看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