Skip to content

OpenCVを使用して簡易に画像圧縮形式を変換するスクリプト

License

Notifications You must be signed in to change notification settings

Kazuhito00/convert_image_compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

convert_image_compression

OpenCVを使用して簡易に画像圧縮形式を変換するスクリプトです。

Requirement

  • opencv-python 4.5.2.52(or later)
  • tqdm 4.48.2 (or later)

Usage

python source_dir target_dir --mode=0

source_dir:変換元画像が格納されているディレクトリ
target_dir:変換後の画像を保存するディレクトリ
--mode:変換モード(0:JPG→PNG(デフォルト) 1:PNG→JPG)

Author

高橋かずひと(https://twitter.com/KzhtTkhs)

License

convert_image_compression is under Apache 2 license.

About

OpenCVを使用して簡易に画像圧縮形式を変換するスクリプト

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages