exposure()v4.0.508
Part of the @remotion/effects package.
Adjusts exposure in photographic stops. The calculation happens in linear light, making it suitable for correcting footage and images.
Preview
Drag current effect onto a layer in the Studio
Example
MyComp.tsximport {Video } from '@remotion/media'; import {exposure } from '@remotion/effects/exposure'; export constMyComp :React .FC = () => { return ( <Video src ="https://remotion.media/video.mp4"effects ={[exposure ({stops : 1})]} /> ); };
API
You can call exposure() without arguments or pass an object with the following properties.
stops?
The exposure adjustment from -5 to 5. Defaults to 0.
One positive stop doubles the light intensity. One negative stop halves it.
disabled?
When true, the effect is skipped. Defaults to false.
Difference from brightness()
brightness() adds the same value to each color channel. exposure() multiplies light intensity, preserving the photographic relationship between tones.
Compatibility
| Browsers | Environments | |||||
|---|---|---|---|---|---|---|
Chrome | Firefox | Safari | ||||