在Krita导出预设区域
Export Predefined Regions in Krita

原始链接: https://github.com/aldanasjuan/krita_export_region

这个Krita插件由ChatGPT创建,允许你导出画布上的特定区域为图像。安装方法: 1. 将`region_exporter`文件夹放置在你的资源文件夹下的`pykrita`文件夹内。 2. 将`region_exporter.desktop`文件放置在`pykrita`目录下。 3. 将`region_exporter.action`文件放置在资源文件夹下的`actions`文件夹内。 可以通过`Ctrl+Shift+E`或`工具 -> 脚本 -> 导出区域`访问该插件。 插件会提示你输入导出区域左上角的X和Y坐标,以及它的宽度和高度。你可以选择性地通过指定新的宽度和高度值来调整导出区域的大小。此外,你还可以选择旋转选项(与图像左旋或右旋相同)。 一个复选框允许你导出仅选择的图层(仅绘图或矢量图层,不包括组),而不是所有可见图层。最后,你选择输出文件来保存导出的图像。 **注意:** 插件创建者目前不维护此插件,因此问题和功能请求将被忽略。

Hacker News 最新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 在 Krita 中导出预定义区域 (github.com/aldanasjuan) 5 分,来自 noisycarlos 1 小时前 | 隐藏 | 过去 | 收藏 | 1 评论 noisycarlos 1 小时前 [–] 对制作游戏资源并将它们分成部分导出到 Godot 非常有帮助 回复 加入我们 6 月 16-17 日在旧金山举办的 AI 初创公司学校! 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系我们 搜索:

原文

This plugin exports a desired region in the canvas and can optionally resize the export to a new size.

Please fork for changes. I made this with chatgpt for personal use and I don't have time to do proper open source. I'll ignore issues or feature requests since I'm not a python developer.

Add the region_exporter folder to the resources folder, like your-resources-folder/pykrita/region_exporter

Add the region_exporter.desktop to the root of the pykrita folder. Should have a file like your-resources-folder/pykrita/region_exporter.desktop

Add the region_exporter.action to an 'actions' folder in the resources folder. Should have it like like your-resources-folder/actions/region_exporter.action

If you don't know what the your-resources-folder folder is, go to krita -> Settings -> Manage Resources -> Open Resource Folder

  • Use ctrl+shift+e or go to Tools -> Scripts -> Export Region.
  • Add the coordinates (x,y) and the rect size (width, height).
  • If you want to resize, select a New Width and New Height.
  • Select a Rotation option. Same as rotating your image to the left or right.
  • If you select "Export Selected Layers" it will only export the selected layers, otherwise it exports the visible layers. Note: It doesn't support selecting a group, you must select the actual paint or vector layers you want.
  • Choose an output file and you're done.
联系我们 contact @ memedata.com