Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 484 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 484 Bytes

Image format conversion

  • convert images to any opencv support format (bmp, jpg, png...)
  • Put the image to be converted in the input folder (you can put images in any format at the same time)
  • The converted image is saved in the output folder

Environment

  • python 2.7
  • opencv

Run

convert images format to png

python img2.py png

convert images format to bmp

python img2.py bmp

convert images format to jpg

python img2.py jpg

...