All codes assume running from root directory. Please update the sys path at the beginning of the codes before running.
Png2Jpg tool will help you convert from png image format to jpg images format. The conversion reduces image quality, makes you need less memory for storage (can reduce up to 80%), and doesn't affect the deep learning model.
lxml==4.6.3
tqdm==4.61.1
> python png2jpg.py --input_dir (directory contain png images)
--output_dir (directory will contain jpg images)
Give me a star if you find Json2Xml useful to you.