Capítulo 572 de 988

Chapter 572: contrast()

Core Idea

_Part of the @remotion/effects package.

Key Concepts

  • Preview
  • Example
  • API
  • amount?
  • disabled?
  • Effect order
  • See also

Code Examples

export const MyComp: React.FC = () => {
  return (
    <AbsoluteFill>
      <Video src="https://remotion.media/video.mp4" effects={[contrast({amount: 1.25})]} />
    </AbsoluteFill>
  );
};
  • What it demonstrates: Usage pattern for contrast() from the official docs.

Key Takeaways

  1. Understand preview when working with contrast().
  2. Understand example when working with contrast().
  3. Understand api when working with contrast().
  4. Understand amount? when working with contrast().
  5. Understand disabled? when working with contrast().

Connects To

  • Animated Emoji: related page in the Effects Library section.
  • get Available Emoji: related page in the Effects Library section.
  • api: related page in the Effects Library section.