Chapter 583: grayscale()
Core Idea
_Part of the @remotion/effects package.
Key Concepts
- Preview
- Example
- API
- amount?
- disabled?
- See also
Code Examples
export const MyComp: React.FC = () => {
return (
<AbsoluteFill>
<Video
src="https://remotion.media/video.mp4"
effects={[grayscale({amount: 1})]}
/>
</AbsoluteFill>
);
};
- What it demonstrates: Usage pattern for grayscale() from the official docs.
Key Takeaways
- Understand preview when working with grayscale().
- Understand example when working with grayscale().
- Understand api when working with grayscale().
- Understand amount? when working with grayscale().
- Understand disabled? when working with grayscale().
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.