Template:Convert to PNG

From Wikimedia Commons, the free media repository
Jump to: navigation, search
PNG This image was uploaded in a format such as JPEG (or GIF). It could be stored, however, in the PNG format which supports alpha transparency and lossless compression, meaning that changes do not reduce the image quality. If possible, please upload a PNG version of this image (from a non-JPEG source or with existing compression artifacts removed). After doing so, replace this template with {{SupersededPNG|New Image.png}}, and please replace all instances of the previous version throughout Commons (noted under the "File links" header). For more information, see Commons:Preparing images for upload. JPEG & PNG

Azərbaycanca | Čeština | Deutsch | English | Español | Français | Magyar | Italiano | 日本語 | Македонски | Nederlands | Português | Русский | Svenska | 中文 | 中文(简体)‎ | +/−

Documentation icon Documentation[view] [edit] [history] [purge]

This documentation is transcluded from Template:Convert to PNG/doc.

  • This template should not be used for:
    • images for which only a JPEG source is available; recompressing with PNG will not remove artifacts and may produce larger files
    • animated images. PNG does not officially support animation (and unofficial specifications are not widely supported) so GIF should be used instead
    • images which contain strictly vector (non-raster) data. Convert to SVG should be used in this case.

The template automatically sets the following categories: Category:Images which should be in PNG format

Usage

{{Convert to PNG |1= }}

Template parameters

Parameter Description Default Status
1 empty optional

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups: all users

Placement: At the bottom of the page

See also

  • {{Convert to SVG}} adds a note including “should be recreated using vector graphics as an SVG file”
  • {{BadGIF}} adds a note including “please upload a PNG version (or JPEG for some photos)”
  • {{BadJPEG}} adds a note including “please upload a PNG version (derived from a non-JPEG source) or SVG version (for certain cases)”
  • {{SupersededPNG}} the counterpart, used for images that have been superseded by PNG's

Localization

Azərbaycanca | Čeština | Deutsch | English | Español | Français | Magyar | Italiano | 日本語 | Македонски | Nederlands | Português | Русский | Svenska | 中文 | 中文(简体)‎ |

This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Convert to PNG/layout.

To add your language to the list of languages supported by this template, please copy the code of Template:Convert to PNG/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.