Image File Formats

1. PNG

properties ID: 589b5025-b95f-4271-806b-e6960c4fb0a0
CREATED: <2025-05-05 Mon 18:16>
edges

wiki
spec
<- DEFLATE


Portable Network Graphics, developed as an improvement to GIF.

2. GIF

properties ID: 9fbe4894-4557-46c4-b602-99823bd2ea66
CREATED: <2025-05-05 Mon 18:17>
edges

wiki
spec
<- DEFLATE


  • basically repeated image captures with LZW compression

3. JPEG

properties ID: ee2a3b64-3a16-4056-a6b4-2514495f7ccb
CREATED: <2025-07-18 Fri 23:38>
AKA: JPG
edges

JPEG - JPEG 1
The JPEG standard (ISO/IEC 10918-1)
<- libjpeg-turbo


  • JPEG = Joint Photographic Experts Group
  • complicated enough to merit using FFI (imo) - see libjpeg-turbo
  • Developed in 1992 by the ISO
  • True color (up to 24 bits/pixel) and grayscale (up to 8 bits/pixel) images
  • Eligible compression quality between
  • Visually lossless reconstructions of color images for compression ratios about bits/pixel (bpp)
  • Based on the Discrete Cosine Transform (DCT)
  • Several working modes: lossy, lossless and hierarchical