AVIF
AV1 Image File Format
AVIF (AV1 Image File Format) คือรูปแบบภาพรุ่นใหม่ที่อิงจากตัวเข้ารหัสวิดีโอ AV1 ให้การบีบอัดที่ดีกว่า JPEG และ WebP อย่างมีนัยสำคัญ พร้อมรองรับ HDR, ช่วงสีกว้าง, ความโปร่งใส และภาพเคลื่อนไหว
รายละเอียดทางเทคนิค
AVIF ใช้ HEIF container และ AV1 codec ที่พัฒนาโดย Alliance for Open Media (AOMedia) รองรับความลึกสี 8/10/12 บิต พื้นที่สี BT.601, BT.709 และ BT.2020 พร้อม HDR transfer functions (PQ, HLG) MIME type คือ image/avif รองรับ Chrome 85+, Firefox 93+ และ Safari 16.1+
ตัวอย่าง
```javascript
// Image compression via Canvas
canvas.toBlob(
blob => console.log(`Size: ${(blob.size/1024).toFixed(0)} KB`),
'image/jpeg',
0.8 // quality: 0.0 (smallest) to 1.0 (best)
);
// WebP output (25-34% smaller than JPEG)
canvas.toBlob(cb, 'image/webp', 0.8);
```
รูปแบบที่เกี่ยวข้อง
เครื่องมือที่เกี่ยวข้อง
C
Compress Image
R
Resize Image
C
Crop Image
R
Rotate Image
F
Flip Image
C
Convert Image
W
Watermark Image
S
SVG to PNG
I
Image to Base64
R
Round Corners
A
Add Border
I
Image Filters
A
Adjust Image
B
Blur Image
S
Sharpen Image
M
Make Square
G
Grayscale Image
S
Sepia Image
P
Pixelate Image
S
Strip Image Metadata
คำศัพท์ที่เกี่ยวข้อง
Alpha Channel
Aspect Ratio
Chroma Subsampling
Chromatic Aberration
Color Grading (Image)
Compression Artifact
Dithering (Image)
Image Histogram
Image Registration
Metadata
Resolution
Alpha Compositing
Image Pyramid
Rasterization
Bit Depth
Color Space
Lossy Compression
HDR
Raster Graphics
Vector Graphics
Sprite Sheet
Thumbnail
WebP
Crop
Image Optimization
Resize
ICC Profile
Image Interpolation
Canvas
Convolution
DPI/PPI
Gamma
Histogram
Noise Reduction (Image)
Panorama Stitching
Feature Matching
Image Segmentation
Object Detection
Mipmap
Morphological Operations
Texture Atlas
Gamut Mapping
IPTC
Tone Mapping
Focus Stacking
Vignetting
XMP
Batch Resize
Content-Aware Fill
Lossless Compression
AVIF Sequence
EXIF
Color Profile
DPI