Capítulo 589 de 988

Chapter 589: levels()

Core Idea

_Part of the @remotion/effects package.

Key Concepts

  • Preview
  • Example
  • API
  • blackPoint?
  • whitePoint?
  • gamma?
  • disabled?
  • Compatibility

Code Examples

export const MyComp: React.FC = () => {
  return (
    <Video
      src="https://remotion.media/video.mp4"
      effects={[
        levels({
          blackPoint: 0.05,
          whitePoint: 0.95,
          gamma: 1.2,
        }),
      ]}
    />
  );
};
  • What it demonstrates: Usage pattern for levels() from the official docs.

Key Takeaways

  1. Understand preview when working with levels().
  2. Understand example when working with levels().
  3. Understand api when working with levels().
  4. Understand blackpoint? when working with levels().
  5. Understand whitepoint? when working with levels().

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.