Difference between revisions of "Image"

From VideoLAN Wiki
Jump to navigation Jump to search
(→‎PNM: New section)
m (→‎ILBM: Remove link to Wikipedia; AmigaOS Wiki is already linked)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
{{mux|id=image|encoder=n}}
 
{{mux|id=image|encoder=n}}
  
Line 6: Line 7:
 
Supported formats:
 
Supported formats:
 
<div class="col6">
 
<div class="col6">
* PNG
+
* [[#PNG|PNG]]<sup>&dagger;</sup>
* XCF
+
* [[#XCF|XCF]]
* GIF
+
* [[#GIF|GIF]]
* TIFF
+
* [[#TIFF|TIFF]]
* LBM (ILBM)
+
* [[#ILBM|LBM]]
* PCX
+
* [[#PCX|PCX]]
* Targa
+
* [[#Targa|Targa]]
 
* [[MxPEG]]
 
* [[MxPEG]]
* BMP
+
* [[#BMP|BMP]]
* PNM
+
* [[#PNM|PNM]]
* WebP
+
* [[#WebP|WebP]]
* BPG
+
* [[#BPG|BPG]]
 
</div>
 
</div>
 +
<sup>&dagger;</sup> Encoding is supported for given format
  
 
== Formats ==
 
== Formats ==
 
=== PNG ===
 
=== PNG ===
{{wikipedia|Portable Network Graphics}}
+
{{Wikipedia|Portable Network Graphics}}
PNG is an acronym for portable network graphics. It was historically preferred over [[GIF]]s for its unencumbered license, and though GIF is now free PNG is still used out of habit. It supports a wider range of transparency than GIF and stores virtually no metadata. PNG, because it is [[lossless]], is generally larger in size than a [[JPG]] and somewhat smaller than a GIF.
+
PNG is an acronym for portable network graphics. It was historically preferred over [[#GIF|GIF]]s for its unencumbered license, and though GIF is now free PNG is still used out of habit. It supports a wider range of transparency than GIF and stores virtually no metadata. PNG, because it is [[lossless]], is generally larger in size than a [[JPG]] and somewhat smaller than a GIF.
  
 
=== XCF ===
 
=== XCF ===
Line 35: Line 37:
 
=== TIFF ===
 
=== TIFF ===
 
{{Wikipedia|TIFF}}
 
{{Wikipedia|TIFF}}
'''TIFF''' is an acronym for Tagged Image File Format. It is a container that allows the storage of information alongside the image. It supports [[lossless]] [[compression]].
+
TIFF is an acronym for Tagged Image File Format. It is a container that allows the storage of information alongside the image. It supports [[lossless]] [[compression]].
  
 
=== ILBM ===
 
=== ILBM ===
{{Wikipedia|ILBM}}
 
 
{{Website|ILBM|on=AmigaOS Wiki|https://wiki.amigaos.net/wiki/ILBM_IFF_Interleaved_Bitmap}}
 
{{Website|ILBM|on=AmigaOS Wiki|https://wiki.amigaos.net/wiki/ILBM_IFF_Interleaved_Bitmap}}
 
A format originating on [[wikipedia:Amiga|Amiga computers]]. May appear in games from the 1980s and 1990s.
 
A format originating on [[wikipedia:Amiga|Amiga computers]]. May appear in games from the 1980s and 1990s.
{{Clear}}
 
  
 
=== PCX ===
 
=== PCX ===
Line 58: Line 58:
 
The Portable Anymap Format (PNM) refers to any of a set of formats designed for portability by the Netbpm project: PPM, PGM, and PBM.
 
The Portable Anymap Format (PNM) refers to any of a set of formats designed for portability by the Netbpm project: PPM, PGM, and PBM.
  
== Support ==
+
=== WebP ===
{| class="wikitable center"
+
{{Wikipedia|WebP}}
! scope="row" | Image type
+
A raster graphics file format developed by [[On2]], acquired by Google. It is derived from the [[VP8]] format, and a "sister project" of [[WebM]]. WebP supports both [[lossy]] and [[lossless]] compression. Its claims of outperforming other image file formats have been challenged.
| PNG || XCF || GIF || TIFF || LBM || PCX || Targa || MxPEG || BMP || PNM || WebP || BPG
 
|-
 
! scope="row" | Encoding support
 
| {{Yes}} || {{Unknown}} || {{Unknown}} || {{Unknown}} || {{Unknown}} || {{Unknown}} || {{Unknown}} || {{Unknown}} || {{Unknown}} || {{Unknown}} || {{Unknown}} || {{Unknown}}
 
|}
 
  
== Source code ==
+
=== BPG ===
{{file|modules/demux/image.c|input demuxer}}
+
{{Website|BPG|https://bellard.org/bpg/}}
 +
Better Portable Graphics (BPG) was introduced in 2014 as a more efficient replacement for [[JPEG]], based on the technology behind [[HEVC]].

Latest revision as of 23:30, 6 April 2019


image
VLC can decode this container.
The module name to use at the command line is image.

The Image demuxer is responsible for opening most image file formats in VLC media player.
Though the image module is capable of handling JPEGs, the jpeg module handles them as of VLC 2.2.0, so they can be encoded and decoded by the same module. The svg modules handle SVGs.

Supported formats:

Encoding is supported for given format

Formats

PNG

PNG is an acronym for portable network graphics. It was historically preferred over GIFs for its unencumbered license, and though GIF is now free PNG is still used out of habit. It supports a wider range of transparency than GIF and stores virtually no metadata. PNG, because it is lossless, is generally larger in size than a JPG and somewhat smaller than a GIF.

XCF

Run-length encoded image format. Used by GIMP.

GIF

GIF is an acronym for Graphics Interchange Format. It is a versatile image type that is lossless and supports animation and compression.

TIFF

TIFF is an acronym for Tagged Image File Format. It is a container that allows the storage of information alongside the image. It supports lossless compression.

ILBM

A format originating on Amiga computers. May appear in games from the 1980s and 1990s.

PCX

A bitmap image format developed by the ZSoft Corporation and used by MS-DOS, it is now considered deprecated.

Targa

Truevision TGA, also called TARGA and TGA, is a raster graphics file format.

BMP

This is a simple bitmap format that is widely supported in graphic editing programs. Microsoft developed the specification and uses it for Windows: Paint can export in this format, and BMP files can be set directly as desktop wallpapers.

PNM

The Portable Anymap Format (PNM) refers to any of a set of formats designed for portability by the Netbpm project: PPM, PGM, and PBM.

WebP

A raster graphics file format developed by On2, acquired by Google. It is derived from the VP8 format, and a "sister project" of WebM. WebP supports both lossy and lossless compression. Its claims of outperforming other image file formats have been challenged.

BPG

Better Portable Graphics (BPG) was introduced in 2014 as a more efficient replacement for JPEG, based on the technology behind HEVC.