📸 Welcome to the Image & Video Tools application. This application provides a lightweight and comprehensive suite of tools for manipulating images and videos directly in your browser. Below you will find detailed instructions on how to use each tool and information on the available features.
This application is currently live here. Let our tools transform your images & videos! 📸
- User Interface
- Introduction
- Features
- Installation
- Usage
- Test Status
- Python Implementation
- Contributing
- License
- Contact
Light mode:
Dark mode:
This web application offers a variety of tools for editing and manipulating images and videos. Each tool is designed to be user-friendly and efficient, providing a seamless experience for performing common media editing tasks.
Resize images to specific dimensions while optionally maintaining the aspect ratio.
Crop images by selecting a rectangular area. The area outside the selection is darkened for better visibility.
Rotate images in 90-degree increments. The current rotation angle is displayed, and the user can download the rotated image.
Apply various filters to images such as grayscale, sepia, invert, brightness, contrast, blur, saturate, and hue-rotate.
Remove the background from images using a pre-trained machine-learning model. The user can download the image with the background removed.
Convert images between different formats such as PNG, JPEG, BMP, GIF, WEBP, and TIFF.
Add a text watermark to images with customizable text, font size, color, and position.
Generate 20 random thumbnails from a video or capture a thumbnail at a specific timestamp. Users can select and download their preferred thumbnail.
Remove audio from videos and download the silent version.
Toggle between light and dark modes using a button with a moon icon. The user's preference is stored in local storage and applied on subsequent visits.
To install and run this application locally, follow these steps:
-
Clone the repository:
git clone https://github.com/hoangsonww/image-video-tools.git
-
Navigate to the project directory:
cd image-video-tools
-
Open
index.html
in your preferred web browser.
- Open the application in your web browser.
- Use the navigation bar to select the desired tool.
- Follow the specific instructions for each tool as outlined below.
- Choose an image by clicking the "Choose an image to resize" input.
- Select the desired width and height. Check "Maintain Aspect Ratio" if you want to preserve the original aspect ratio.
- Click "Resize Image" to resize the image.
- View the live preview and download the resized image if needed.
- Choose an image by clicking the "Choose an image to crop" input.
- Drag to select the area to crop.
- Click "Crop Image" to crop the image.
- View the live preview and download the cropped image if needed.
- Choose an image by clicking the "Choose an image to rotate" input.
- Click "Rotate Image" to rotate the image by 90 degrees.
- Click "Download Rotated Image" to download the rotated image.
- Choose an image by clicking the "Choose an image to apply filters" input.
- Select the desired filter from the list of buttons.
- View the live preview with the applied filter.
- Click "Download Filtered Image" to download the filtered image.
- Choose an image by clicking the "Choose an image to convert" input.
- Select the desired format by clicking one of the "Convert to..." buttons.
- Click "Download Converted Image" to download the image in the selected format.
- Choose an image by clicking the "Choose an image to watermark" input.
- Enter the watermark text.
- Adjust the font size, color, and position (X and Y coordinates) of the watermark.
- Click "Add Watermark" to apply the watermark.
- View the live preview and click "Download Watermarked Image" to download the watermarked image.
- Choose an image by clicking the "Choose an image to remove background" input.
- Click "Remove Background" to process the image. It may take some time depending on the image size.
- Click "Download Image" to download the image with the background removed. See the power of machine learning in action!
- Note: This tool uses a pre-trained machine learning model to remove the background from images. This model may not be available during high-traffic times, so please be patient and try again later if needed.
- Choose a video by clicking the "Choose a video" input.
- Click "Generate 20 Thumbnails" to generate random thumbnails.
- Enter a specific timestamp and click "Capture Thumbnail" to generate a thumbnail at that time.
- Select a preferred thumbnail from the preview section.
- Click "Download Thumbnail" to download the selected thumbnail.
- Choose a video by clicking the "Choose a video to remove sound" input.
- Click "Remove Sound" to process the video. It may take some time depending on the video length.
- Click "Download Video" to download the video without sound.
- Click the moon icon button to toggle between light and dark modes.
- Your preference will be saved and applied on future visits.
There are also Python implementations of some of the tools available in this application. You can find them in the python
directory. The following tools are available:
Feel free to run these scripts locally on your machine to perform the desired tasks!
We welcome contributions to improve this application. Please follow these steps:
- Fork the repository or clone it locally:
git clone https://github.com/hoangsonww/Image-Video-Tools.git
- Create a new branch:
git checkout -b feature-branch
- Make your changes and commit them:
git commit -m "Description of changes"
- Push to the branch:
git push origin feature-branch
- Open a pull request on GitHub if you would like to propose your changes.
This project is licensed under the MIT License. See the LICENSE file for details.
NOTE: Direct copying of this project is not prohibited for any purpose.
If you have any questions, feedback, or concerns, please feel free to contact me or open an issue in this repository. I'll be happy to help!
Created with ❤️ by Son Nguyen in 2024. Thank you for visiting today! 🚀