Image Converter is a simple tool consisting of three scripts: webp_to_jpg_png_converter.py
, and image_to_webp_converter.py
. It facilitates the conversion of images between different formats efficiently.
Description: This script converts images to the WebP format.
Requirements:
pip install pillow
Usage: Simply run the script and follow the prompts to convert images to WebP format.
Exporting as Executable: For PyInstaller, use the following command:
pyinstaller webp_to_jpg_png_converter.py --onefile --hidden-import os --hidden-import PIL
Description: This script converts WebP images to JPG or PNG format.
Requirements:
pip install pillow
Usage: Simply run the script and follow the prompts to convert WebP images to JPG or PNG format.
Exporting as Executable: For PyInstaller, use the following command:
pyinstaller webp_to_jpg_png_converter.py --onefile --hidden-import os --hidden-import PIL
์ด๋ฏธ์ง ๋ณํ๊ธฐ๋ 2 ๊ฐ์ง ์คํฌ๋ฆฝํธ์ธ webp_to_jpg_png_converter.py
, ๊ทธ๋ฆฌ๊ณ image_to_webp_converter.py
๋ก ๊ตฌ์ฑ๋ ๊ฐ๋จํ ๋๊ตฌ์
๋๋ค. ์ด ๋๊ตฌ๋ ์ด๋ฏธ์ง๋ฅผ ํจ์จ์ ์ผ๋ก ๋ค๋ฅธ ํ์์ผ๋ก ๋ณํํ๋ ๋ฐ ๋์์ ์ค๋๋ค.
์ค๋ช : ์ด ์คํฌ๋ฆฝํธ๋ ์ด๋ฏธ์ง๋ฅผ WebP ํ์์ผ๋ก ๋ณํํฉ๋๋ค.
์๊ตฌ ์ฌํญ:
pip install pillow
์ฌ์ฉ ๋ฐฉ๋ฒ: ์คํฌ๋ฆฝํธ๋ฅผ ์คํํ๊ณ ์ด๋ฏธ์ง๋ฅผ WebP ํ์์ผ๋ก ๋ณํํ๋ ค๋ ์ง์์ ๋ฐ๋ฅด์ญ์์ค.
์คํ ํ์ผ๋ก ๋ด๋ณด๋ด๊ธฐ: PyInstaller๋ฅผ ์ฌ์ฉํ์ฌ ๋ค์ ๋ช ๋ น์ ์คํํ์ญ์์ค:
pyinstaller webp_to_jpg_png_converter.py --onefile --hidden-import os --hidden-import PIL
์ค๋ช : ์ด ์คํฌ๋ฆฝํธ๋ WebP ์ด๋ฏธ์ง๋ฅผ JPG ๋๋ PNG ํ์์ผ๋ก ๋ณํํฉ๋๋ค.
pip install pillow
์ฌ์ฉ ๋ฐฉ๋ฒ: ์คํฌ๋ฆฝํธ๋ฅผ ์คํํ๊ณ WebP ์ด๋ฏธ์ง๋ฅผ JPG ๋๋ PNG ํ์์ผ๋ก ๋ณํํ๋ ค๋ ์ง์์ ๋ฐ๋ฅด์ญ์์ค.
์คํ ํ์ผ๋ก ๋ด๋ณด๋ด๊ธฐ: PyInstaller๋ฅผ ์ฌ์ฉํ์ฌ ๋ค์ ๋ช ๋ น์ ์คํํ์ญ์์ค:
pyinstaller image_to_webp_converter.py --onefile --hidden-import os --hidden-import PIL