Key Facts
- Category
- Design
- Input Types
- file, text, select, number
- Output Type
- file
- Sample Coverage
- 4
- API Ready
- Yes
Overview
The Image Linear Transformation tool allows you to precisely adjust image brightness, contrast, and color levels by applying the mathematical formula result = a * input + b to your image pixels.
When to Use
- •Correcting underexposed or overexposed photos by adjusting brightness levels.
- •Enhancing image contrast to make details stand out more clearly.
- •Applying specific color channel adjustments to achieve custom artistic effects.
How It Works
- •Upload your image file in a supported format like JPEG, PNG, or WebP.
- •Enter your multiplier (a) and offset (b) values to define the transformation intensity.
- •Select the target channel mode and output format if you wish to convert the file.
- •Process the image to apply the linear transformation and download the adjusted result.
Use Cases
Examples
1. Brightening Underexposed Photos
Photographer- Background
- A set of photos taken in low light appears too dark to use for a portfolio.
- Problem
- The images lack sufficient brightness and visibility in the shadows.
- How to Use
- Upload the image and set the multiplier (a) to 1.2 and the offset (b) to 20 to lift the exposure.
- Example Config
-
multiplier: 1.2, offset: 20, channels: all - Outcome
- The image brightness is increased, revealing hidden details in the shadows while maintaining overall color balance.
2. Increasing Image Contrast
Graphic Designer- Background
- An image looks flat and lacks visual impact for a marketing banner.
- Problem
- The contrast is too low, making the subject blend into the background.
- How to Use
- Apply a multiplier (a) of 1.5 to stretch the pixel values, increasing the difference between light and dark areas.
- Example Config
-
multiplier: 1.5, offset: -10, channels: rgb - Outcome
- The image gains a sharper, more dramatic look with deeper blacks and brighter highlights.
Try with Samples
image, png, jpgRelated Hubs
FAQ
What does the formula a * input + b do?
The multiplier (a) scales the pixel values to adjust contrast, while the offset (b) shifts the values to adjust overall brightness.
Can I adjust individual color channels?
Yes, you can provide comma-separated values for the multiplier and offset to target specific channels independently.
What file formats are supported?
The tool supports JPEG, PNG, WebP, GIF, BMP, and TIFF formats for input.
Does this tool change the file size?
Yes, especially if you choose a different output format or adjust the quality setting during the transformation.
What is the maximum file size I can upload?
You can upload image files up to 10MB in size.