The Media Editor Chrome Extension allows users to save and convert photo files in custom formats directly from their browser. With an easy-to-use interface, you can choose media files, preview them, and save them either in their original format or convert them to a variety of image formats.
- Save Original Media: Save selected media files in their original format.
- Convert Media: Convert media files to various formats, including JPEG, PNG, GIF, BMP, WebP, and APNG.
- Preview Media: View a preview of the selected media file before saving or converting.
- Context Menu Integration: Right-click on any image in the browser and select "Convert using Media Editor" to load it into the extension for conversion.
- Download or clone this repository to your local machine.
- Open Google Chrome and navigate to
chrome://extensions/
. - Enable "Developer mode" by toggling the switch in the top right corner.
- Click the "Load unpacked" button and select the directory where the extension files are located.
-
Choose Media:
- Use the dropdown menu to select the media file you want to work with.
- Alternatively, right-click on any image in the browser and choose "Convert using Media Editor" to load it directly into the extension.
-
Save Original:
- Click the "Save as Original" button to save the selected media in its original format.
-
Convert Media:
- Select the desired format from the "Convert to" dropdown menu.
- Click the "Save Converted" button to convert and save the media in the chosen format.
-
Preview:
- The selected media file will be displayed in the preview section.
popup.html
: The main HTML file for the extension's popup interface.popup.css
: The CSS file for styling the popup interface.popup.js
: The JavaScript file that handles the extension's functionality.
- The extension does not support the following formats for conversion:
svg
,avif
,ico
, andtiff
. - If a user tries to convert a file to the same format, it will be downloaded directly instead of being converted.
- Additional Formats: Support for more media formats can be added based on user feedback.
- Improved UI/UX: Enhancements to the user interface and user experience are planned for future updates.
This project is licensed under the MIT License. See the LICENSE file for details.