Skip to content

This Python script is a simple tool for converting images and videos between formats like JPG, PNG, WEBM, MP4, and more. Using the Pillow library for images and moviepy for videos, it supports popular formats while ensuring quality and usability.

License

Notifications You must be signed in to change notification settings

nefrarius/Photo-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📸🎥 Media Converter: Image & Video Format Converter

Easily convert your images and videos between popular formats like JPG, PNG, WEBM, MP4, and more!

Python Version License Status


🚀 Features

  • Convert Images: Transform formats like JPG, PNG, BMP, and GIF.
  • Convert Videos: Handle popular formats like MP4, WEBM, AVI, and MKV.
  • Customizable: Specify the output format and directory.
  • User-Friendly: Intuitive prompts and error handling for smooth operation.
  • Cross-Platform: Runs on Windows, macOS, and Linux.

🛠️ Requirements

Before running the script, ensure the following are installed:

  • Python 3.7+
  • Required libraries:
    pip install pillow moviepy
  • FFmpeg (for handling video conversions):
    • Install via your package manager (e.g., brew install ffmpeg, sudo apt install ffmpeg, etc.).

📄 Usage

  1. Clone the repository:
    git clone https://github.com/yourusername/media-converter.git
    cd media-converter
    pip install -r requirements.txt
  2. Run the script:
    python converter.py
  3. Follow the prompts:
    • Enter the file path (image or video).
    • Specify the desired output format (e.g., jpg, png, webm).
    • Provide the output directory.

🖼️ Preview

           d8b                                                                                                            
           ?88                 d8P                                                                   d8P                  
            88b             d888888P                                                              d888888P                
?88,.d88b,  888888b  d8888b   ?88'   d8888b      d8888b d8888b   88bd88b ?88   d8P d8888b  88bd88b  ?88'   d8888b  88bd88b
`?88'  ?88  88P `?8bd8P' ?88  88P   d8P' ?88    d8P' `Pd8P' ?88  88P' ?8bd88  d8P'd8b_,dP  88P'  `  88P   d8b_,dP  88P'  `
  88b  d8P d88   88P88b  d88  88b   88b  d88    88b    88b  d88 d88   88P?8b ,88' 88b     d88       88b   88b     d88     
  888888P'd88'   88b`?8888P'  `?8b  `?8888P'    `?888P'`?8888P'd88'   88b`?888P'  `?888P'd88'       `?8b  `?888P'd88'     
  88P'                                                                                                                    
 d88                                                                                                                      
 ?8P                                                                                                                      

📜 License

This project is licensed under the MIT License. See the LICENSE file for details.


Made with ❤️ by Nefrarius

```

About

This Python script is a simple tool for converting images and videos between formats like JPG, PNG, WEBM, MP4, and more. Using the Pillow library for images and moviepy for videos, it supports popular formats while ensuring quality and usability.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages