Code Monkey home page Code Monkey logo

rightclickcompress's Introduction

Right Click Compress

explorer_JJ2bMnfl24

explorer_KokBojrSGO.mp4

This project adds right-click context menu options in Windows for compressing images and videos without significant loss in visual quality.

Note: In some cases (especially with .png) the image may not reduce in size if it was compressed prior.

Features

  • Adds context menu options for compressing images and videos.
  • Supports a variety of file formats including .jpg, .jpeg, .png, .mp4, .mov, .wav, .avi, and .webp.
  • Utilizes FFmpeg for compression.

Requirements

  • Python 3.x
  • Windows OS
  • FFmpeg

Installation

  1. Clone or download the repository to your local machine.
  2. Ensure FFmpeg is installed and added to your system PATH.
  3. Run install.bat to add the context menu options.
    • This will create registry entries for the context menu options.
  4. (Optional) Run uninstall.bat as an administrator to remove the context menu options if needed.

Usage

  1. Right-click on a supported file.
  2. Select 'Compress' from the context menu to compress the file.
    • Compressed images will retain their original file format.
    • Compressed videos will be output as .mp4 files.

File Structure

  • src/
    • install.py: Script for installing the context menu options.
    • uninstall.py: Script for uninstalling the context menu options.
    • compress.py: Script for handling compression tasks.
    • run.bat: Batch file for executing compress.py from the context menu.
  • README.md: Project documentation.
  • install.bat: A batch file to make running install.py easier.
  • uninstall.bat: A batch file to make running uninstall.py easier.

Contributing

Contributions are welcome! Please feel free to submit a pull request or create issues for bugs and feature requests.

MIT License - see the LICENSE file for details.

rightclickcompress's People

Contributors

otdavies avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.