Image-f-c


NameImage-f-c JSON
Version 0.1.6 PyPI version JSON
download
home_pagehttps://github.com/Ryomo0797/AudioAlchemist.git
SummaryConvert all files directly under the directory to any music file.
upload_time2024-05-27 00:13:39
maintainerGoki Nagata
docs_urlNone
authorGoki Nagata
requires_pythonNone
licenseMIT
keywords pil image file png jpeg bmp
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# 概要
​
ImageFormatConverterは、PIL を利用した画像変換ツールです。 画像ファイルの形式を簡単に変換することができます。
​
# 機能
​
* png, jpeg, bmpなどのファイルを好きなファイルの形式に変更できる
* ローカルで動作するためユーザーのプライバシーを保護できる

​
## インストール
​
```
pip install pillow
```
​
## 使い方 example
* ライブラリのインポート
```
import pillow as PIL
```
* 処理の設定
* input_file="変換したい画像ファイルのパス"
* output_file="出力したいファイルの名前を入力"
* output_format="出力したい画像の形式"
* →ファイルのパスを'C:/Users/data/melody/image.jpeg'のように設定してください

​
* プログラム例
```
# フォルダパスを設定
input_folder = 'C:/Users/data/image1.jpeg'
output_folder = 'C:/Users/data/image2.png'
output_format = "png"
​
# 変換処理を実行
convert_image_format(input_file, output_file, output_format)
```
​

​
# 変換後の注意
​
* 変換するファイルが存在していることを確認してください。。

​
# サポート
​
バグ報告や機能リクエストは、GitHubまたは、メールにてご連絡ください。
​
# ライセンス
​
このプログラムは [MIT License](https://choosealicense.com/licenses/mit/) でライセンスされています。
​
## バージョン
​
0.1.6

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Ryomo0797/AudioAlchemist.git",
    "name": "Image-f-c",
    "maintainer": "Goki Nagata",
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": "s2222068@stu.musashino-u.ac.jp",
    "keywords": "PIL, image, file, png, jpeg, bmp",
    "author": "Goki Nagata",
    "author_email": "s2222068@stu.musashino-u.ac.jp",
    "download_url": "https://files.pythonhosted.org/packages/24/d7/5ef6279fa9c89f36d58ed342245c43e3e0e164d2cbafa15f85c39fdae611/image_f_c-0.1.6.tar.gz",
    "platform": null,
    "description": "\n# \u6982\u8981\n\u200b\nImageFormatConverter\u306f\u3001PIL \u3092\u5229\u7528\u3057\u305f\u753b\u50cf\u5909\u63db\u30c4\u30fc\u30eb\u3067\u3059\u3002 \u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u306e\u5f62\u5f0f\u3092\u7c21\u5358\u306b\u5909\u63db\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\n\u200b\n# \u6a5f\u80fd\n\u200b\n* png, jpeg, bmp\u306a\u3069\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u597d\u304d\u306a\u30d5\u30a1\u30a4\u30eb\u306e\u5f62\u5f0f\u306b\u5909\u66f4\u3067\u304d\u308b\n* \u30ed\u30fc\u30ab\u30eb\u3067\u52d5\u4f5c\u3059\u308b\u305f\u3081\u30e6\u30fc\u30b6\u30fc\u306e\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u3092\u4fdd\u8b77\u3067\u304d\u308b\n\n\u200b\n## \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\n\u200b\n```\npip install pillow\n```\n\u200b\n## \u4f7f\u3044\u65b9 example\n* \u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\n```\nimport pillow as PIL\n```\n* \u51e6\u7406\u306e\u8a2d\u5b9a\n* input_file=\"\u5909\u63db\u3057\u305f\u3044\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\"\n* output_file=\"\u51fa\u529b\u3057\u305f\u3044\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u3092\u5165\u529b\"\n* output_format=\"\u51fa\u529b\u3057\u305f\u3044\u753b\u50cf\u306e\u5f62\u5f0f\"\n* \u2192\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3092'C:/Users/data/melody/image.jpeg'\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\n\n\u200b\n* \u30d7\u30ed\u30b0\u30e9\u30e0\u4f8b\n```\n# \u30d5\u30a9\u30eb\u30c0\u30d1\u30b9\u3092\u8a2d\u5b9a\ninput_folder = 'C:/Users/data/image1.jpeg'\noutput_folder = 'C:/Users/data/image2.png'\noutput_format = \"png\"\n\u200b\n# \u5909\u63db\u51e6\u7406\u3092\u5b9f\u884c\nconvert_image_format(input_file, output_file, output_format)\n```\n\u200b\n\n\u200b\n# \u5909\u63db\u5f8c\u306e\u6ce8\u610f\n\u200b\n* \u5909\u63db\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3002\n\n\u200b\n# \u30b5\u30dd\u30fc\u30c8\n\u200b\n\u30d0\u30b0\u5831\u544a\u3084\u6a5f\u80fd\u30ea\u30af\u30a8\u30b9\u30c8\u306f\u3001GitHub\u307e\u305f\u306f\u3001\u30e1\u30fc\u30eb\u306b\u3066\u3054\u9023\u7d61\u304f\u3060\u3055\u3044\u3002\n\u200b\n# \u30e9\u30a4\u30bb\u30f3\u30b9\n\u200b\n\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306f [MIT License](https://choosealicense.com/licenses/mit/) \u3067\u30e9\u30a4\u30bb\u30f3\u30b9\u3055\u308c\u3066\u3044\u307e\u3059\u3002\n\u200b\n## \u30d0\u30fc\u30b8\u30e7\u30f3\n\u200b\n0.1.6\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Convert all files directly under the directory to any music file.",
    "version": "0.1.6",
    "project_urls": {
        "Download": "https://github.com/Ryomo0797/AudioAlchemist.git",
        "Homepage": "https://github.com/Ryomo0797/AudioAlchemist.git"
    },
    "split_keywords": [
        "pil",
        " image",
        " file",
        " png",
        " jpeg",
        " bmp"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "865854e2bad2aec02daf72bde1b49d2476b7e98c3beb89da7c559ab4026d6dc3",
                "md5": "3dbc15ececc0365f27fa56a9acdf1bdc",
                "sha256": "d174aebf80e4773708a6bf39bdf7e5cfe88de36df732bb93f308011eff72e059"
            },
            "downloads": -1,
            "filename": "Image_f_c-0.1.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3dbc15ececc0365f27fa56a9acdf1bdc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 2976,
            "upload_time": "2024-05-27T00:13:37",
            "upload_time_iso_8601": "2024-05-27T00:13:37.241453Z",
            "url": "https://files.pythonhosted.org/packages/86/58/54e2bad2aec02daf72bde1b49d2476b7e98c3beb89da7c559ab4026d6dc3/Image_f_c-0.1.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "24d75ef6279fa9c89f36d58ed342245c43e3e0e164d2cbafa15f85c39fdae611",
                "md5": "88ae281b5468871dda1fb235c4d084a3",
                "sha256": "371de4ea6774e0533fe4e129db981d661a5e05116e70d2d888f376b11cd1dafe"
            },
            "downloads": -1,
            "filename": "image_f_c-0.1.6.tar.gz",
            "has_sig": false,
            "md5_digest": "88ae281b5468871dda1fb235c4d084a3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2631,
            "upload_time": "2024-05-27T00:13:39",
            "upload_time_iso_8601": "2024-05-27T00:13:39.074335Z",
            "url": "https://files.pythonhosted.org/packages/24/d7/5ef6279fa9c89f36d58ed342245c43e3e0e164d2cbafa15f85c39fdae611/image_f_c-0.1.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-27 00:13:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Ryomo0797",
    "github_project": "AudioAlchemist",
    "github_not_found": true,
    "lcname": "image-f-c"
}
        
Elapsed time: 0.23667s