Skip to content
FunCoding

pencil4img

将输入的图片转换为铅笔画风格。当用户提到铅笔画、素描、画风转换、图片转素描时使用。

Star
1,359
License
Apache-2.0
Last commit
Aug 20, 2026

skills/image/pencil4img/SKILL.md

View on GitHub

pencil4img Skill

使用 pencil4img 算法处理图像

功能描述

将输入的图像转换为铅笔画风格的图像。

所属分类

office/skills/image/pencil4img/

调用方式

from skills.image import pencil4img

pencil4img(
    input_img='./test.jpg',
    output_path='./',
    output_name='pencil4img.jpg'
)

参数说明

参数类型必填默认值说明
input_imgstr是-输入的图像文件路径
output_pathstr否'./'输出图像的路径
output_namestr否'pencil4img.jpg'转换后的图像文件名

返回值

None

使用示例

from skills.image import pencil4img
pencil4img(input_img='./photo.jpg')

原始函数

office.api.image.pencil4img

Similar Skills

blender-motion-state-inspection

AFaffaan-m/ECC278k4,046 new stars in the last 7 days

Official

slack-gif-creator

ANanthropics/skills181k1,119 new stars in the last 7 days

Featured

algorithmic-art

Generate flow fields and particle systems with p5.js, using seeded randomness for original algorithmic art.

ANanthropics/skills181k1,119 new stars in the last 7 days

thinking-out-loud

SHShubhamsaboo/awesome-llm-apps141k808 new stars in the last 7 days

moneyprinterturbo-video

HAharry0703/MoneyPrinterTurbo130k1,722 new stars in the last 7 days

complain

PApaperclipai/paperclip101k2,948 new stars in the last 7 days