CtrlK
BlogDocsLog inGet started
Tessl Logo

pencil4img

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

74

Quality

91%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

pencil4img Skill

使用 pencil4img 算法处理图像

功能描述

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

所属分类

office/skills/image/pencil4img/

调用方式

from office.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 office.skills.image import pencil4img
pencil4img(input_img='./photo.jpg')

原始函数

office.api.image.pencil4img

Repository
CoderWanFeng/python-office
Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.