GIF (Graphics Interchange Format)
GIF adalah format gambar bitmap yang paling dikenal karena mendukung animasi sederhana. Format ini menggunakan kompresi lossless LZW tetapi terbatas pada palet 256 warna per frame. GIF tetap populer untuk klip animasi pendek, gambar reaksi, dan grafik sederhana.
Tipe MIME
image/gif
Tipe
Biner
Kompresi
Lossless
Kelebihan
- + Native animation support without JavaScript
- + Universal browser support since the 1990s
- + Simple 1-bit transparency
Kekurangan
- − Limited to 256 colors per frame
- − Large file sizes for animations compared to video
- − No alpha transparency (only on/off)
Kapan Menggunakan .GIF
Gunakan GIF untuk animasi sederhana, gambar reaksi, dan grafik kecil dengan warna terbatas. Untuk foto, gunakan JPEG atau WebP.
Detail Teknis
GIF menggunakan kompresi LZW dengan palet maksimal 256 warna per frame. Animasi dicapai dengan menyimpan beberapa frame dengan pengaturan delay dan disposal per frame.
Riwayat
GIF diperkenalkan oleh CompuServe pada tahun 1987 dan menjadi salah satu format gambar pertama yang digunakan di web. Varian GIF animasi (GIF89a) dirilis pada tahun 1989.
Konversi dari .GIF
Konversi ke .GIF
Format Terkait
Istilah Terkait
Learn More
Image Format Guide: JPEG vs PNG vs WebP vs AVIF
Choosing the right image format affects file size, quality, and browser compatibility. This comparison covers the strengths of JPEG, PNG, …
How to Resize Images for Web Without Losing Quality
Serving properly sized images is critical for web performance. Images that are too large waste bandwidth and slow page loads, …
Batch Image Conversion: Best Practices for Bulk Processing
Converting hundreds of images one by one is tedious and error-prone. Learn how to set up efficient batch conversion workflows …
How to Remove Image Backgrounds Effectively
Removing backgrounds from product photos, portraits, and logos is a frequent task in design and e-commerce. This guide covers techniques …
Troubleshooting Image Quality Loss During Conversion
Converting between image formats sometimes produces unexpected quality degradation. This guide explains why quality loss happens and how to minimize …
Image Optimization for Core Web Vitals and SEO
Images directly impact Core Web Vitals scores, especially Largest Contentful Paint. Learn how to optimize images for faster loading, better …