PyGIMP
~ Fusion of Python and GIMP ~
[🌐 Website] • [🐱 GitHub] [🐦 Twitter] • [🍀 Official Blog]
[!IMPORTANT] このリポジトリのリリースノートやREADME、コミットメッセージの9割近くはclaude.aiやChatGPT4を活用したAIRA, SourceSage, Gaiah, HarmonAI_IIで生成しています。
PyGIMP
🌟 Introduction
PyGIMPは、PythonプログラミングとGIMP(GNU Image Manipulation Program)の強力な機能を融合させたプロジェクトです。このツールキットを使用することで、開発者やデザイナーはPythonのシンプルさと柔軟性を活かしながら、GIMPの高度な画像処理機能にアクセスできます。
🎥 Demo
https://github.com/user-attachments/assets/bea57935-2f4a-46be-8932-a57a7151335d
🚀 Getting Started
PyGIMPを始めるためには、以下の手順に従ってください:
- GIMPをインストールします。
- Pythonをインストールします(バージョン3.12以上を推奨)。
- PyGIMPパッケージをダウンロードし、インストールします。
pip install pygimp-labs
- Pythonスクリプトを作成し、GIMPと連携させて様々な画像処理を行います。
(base) C:\Prj\PyGIMP>pygimp-labs
____ ____ ___ __ __ ____
| _ \ _ _ / ___||_ _|| \/ || _ \
| |_) || | | || | _ | | | |\/| || |_) |
| __/ | |_| || |_| | | | | | | || __/
|_| \__, | \____||___||_| |_||_|
|___/
2024-07-20 11:00:45.587 | INFO | pygimp.cli:main:23 - プログラムを開始します
2024-07-20 11:00:45.588 | INFO | pygimp.pygimp_core:execute_script:26 - GIMPスクリプトの実行を開始します
...
*******************
* GIMP Script End *
*******************
2024-07-20 11:00:48.498 | SUCCESS | pygimp.pygimp_core:execute_script:55 - GIMPスクリプトの実行が完了しました
2024-07-20 11:00:48.498 | INFO | pygimp.cli:main:32 - プログラムを終了します
___ _ _ _ _
/ __| ___ _ __ _ __ | | ___ | |_ ___ __| || |
| (__ / _ \| ' \ | '_ \| |/ -_)| _|/ -_)/ _` ||_|
\___|\___/|_|_|_|| .__/|_|\___| \__|\___|\__,_|(_)
|_|
📝 Arguments
pygimp-labs コマンドは以下の引数を受け取ります。
| 引数 | 説明 | デフォルト値 |
|---|---|---|
--font_size |
テキストのフォントサイズ | 78 |
--input_image |
入力画像のパス | asset\input\input.png |
--output_path |
出力画像のパス | asset\output\out2.png |
--text |
画像にオーバーレイするテキスト | "GIMPを使用して\nCLIから画像に\nテキストをオーバーレイする方法" |
--gimp |
GIMP実行ファイルのパス | "gimp-console-2.10.exe" |
--log |
ログファイルのパス | "gimp_script.log" |
--config |
設定ファイルのパス | "gimp_script_config.json" |
📝 Updates
PyGIMPは継続的に改善されており、新機能やバグ修正が定期的にリリースされています。最新の更新内容は、リリースノートや公式リポジトリで確認できます。
🤝 Contributing
PyGIMPに貢献したい方は、以下の手順を実行してください:
- プロジェクトをフォークします。
- 新しいブランチを作成します。
- 変更を加えた後、プルリクエストを提出します。
- コードレビューが行われ、マージされるのを待ちます。
📄 License
このプロジェクトはMITライセンスのもとで提供されています。詳細はLICENSEファイルをご覧ください。
🙏 Acknowledgements
PyGIMPは、オープンソースコミュニティの協力によって成り立っています。プロジェクトに貢献してくださったすべての方々に感謝します。また、GIMPの開発チームにも感謝の意を表します。
Release files for pygimp-labs 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pygimp_labs-0.2.4.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pygimp_labs-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.7 kB
Release files / pygimp_labs-0.2.4.tar.gz
| Download URL | pygimp_labs-0.2.4.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d43076716e77f2b8e7959ef86fe56de2671fa179857e3711424c000f846da326
|
|
BLAKE2b-256 checksum How to use checksums |
a4ba3ff514ca53039c93b44392cf9d0980bdbfc6d662311d46106cc77b09ee6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / pygimp_labs-0.2.4-py3-none-any.whl
| Download URL | pygimp_labs-0.2.4-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e26f5626fa1bcf2e7227b5a9bc9ea0645a1cf6713ff22f75de259ea1f07353c
|
|
BLAKE2b-256 checksum How to use checksums |
3779a99cbc044b387f02a0f6d8833eed68c0360a701e08d07816b854fd29ee08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|