LanguageValues and typesStandard types
Media and visual
Colours, image and page sizes, video and audio formats and subtitles.
Topics
| Colour
|
| Media The media types describe images, video, audio and captions: an image's size, a frame rate, a timecode, a subtitle cue, a film's age rating. |
Types
| Type | What it is |
|---|---|
Colour | A colour, written #1e6fd9, or #1e6fd980 when it isn't fully opaque. |
ImageDimensions | An image's width and height in pixels: 1920x1080. |
AspectRatio | Width to height in whole numbers: 16:9. |
Rect | A rectangle by its top-left corner and its size, written like an SVG viewBox: 0 0 300 200. |
Insets | Space inside each edge, written in CSS's order: 8 16 8 16. |
PaperSize | A paper size: A4, Letter and so on. |
ExifOrientation | How a stored photo must be turned to look upright, as a camera records it. |
AltText | What an image shows, for someone who can't see it. |
FrameRate | Frames a second, as an exact fraction: 25/1, or 30000/1001 for 29.97. |
VideoResolution | A video's frame size in pixels: 1920x1080. |
VideoCodec | A video format as browsers name it: avc1.42001E, vp09.00.10.08. |
AudioCodec | An audio format as browsers name it: mp4a.40.2, opus. |
Timecode | An address of one frame in a video: hours, minutes, seconds and frames. |
SubtitleCue | A timed caption: when it starts and ends, and its text. |
ContentRating | An age rating and the body that gave it: BBFC 12A. |
ContentRatingScheme | A body that rates films or games for age: BBFC, MPA, PEGI or ESRB. |
Markdown for agents: /docs/types-media-and-visual.md.Built from Jadpo main at 6cc3cb4.