Skip to content

jschof1/color-swapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Color Swapper App

Introduction

Color Swapper App is a JavaScript-based application that allows users to change specific colors in an image to a color of their choice. This app provides an intuitive and user-friendly interface for manipulating images by swapping selected color hues with new ones. The application is built using web technologies, making it easily accessible and usable in a web browser.

Table of Contents

  1. Introduction
  2. Installation
  3. Usage
  4. Features
  5. Dependencies
  6. Configuration
  7. Documentation
  8. Examples
  9. Troubleshooting
  10. Contributors
  11. License

Installation

Since this is a JavaScript-based application, no specific installation is required other than setting up a standard web development environment. Follow these steps to set up the app:

  1. Clone the repository or download the source code.
  2. Ensure you have a modern web browser installed.
  3. Open the index.html file in the browser to run the application.

Usage

To use the Color Swapper App:

  1. Open the application in a web browser.
  2. Upload the image(s) you want to edit using the Choose Files button.
  3. Select the source color (the color you want to change) and the target color (the color you want it changed to).
  4. Click the Process Images button to apply the color swap.
  5. Use the Download Images button to save the edited images.

Features

  • Color Selection: Users can select both the source and target colors using a color picker.
  • Batch Processing: Multiple images can be processed simultaneously.
  • Real-time Preview: Changes are previewed in real-time on the uploaded images.
  • Download Functionality: Users can download the processed images directly from the application.

Dependencies

The application is built with HTML, CSS, and Vanilla JavaScript. There are no external dependencies.

Configuration

No additional configuration is needed to run the application as it's a client-side application.

Documentation

Currently, there is no external documentation available. The source code is well-commented for understanding and further development.

Examples

Here's a quick example of how to use the app:

  1. Upload an image with a blue sky.
  2. Set the source color to the current blue of the sky.
  3. Choose a target color, like orange for a sunset effect.
  4. Process the image and see the sky color change.
  5. Download the edited image.

Troubleshooting

If you encounter issues:

  • Ensure your browser is up-to-date.
  • Check if JavaScript is enabled in your browser.
  • Reload the application or try a different browser.

Contributors

This project is currently maintained by Jack Schofield. Contributions, suggestions, and feedback are welcome.

License

This project is licensed under the MIT License.

About

Change colours of an image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published