June 15, 2025 #image processing #javascript
Let's examine the most fundamental image correction parameters: brightness, saturation (without switching to HSV color model), contrast, and gamma.
Let's examine the most fundamental image correction parameters: brightness, saturation (without switching to HSV color model), contrast, and gamma.
Working with the RGB model isn't always convenient. For example, printers don't follow the RGB model, because they use white paper and consume less ink for light tones. This is why multiple models exist to solve various tasks. We'll discuss the main color models here. And to keep things interesting, we'll play around with some sliders.
In this article we'll split images into color components, create a negate filter, and invert individual channels. Finally, we'll manipulate RGB components!
In this article, we'll implement flipping and 90°/270° rotations for images. But before doing that, let's explore image pixel data and how to access it in JavaScript.