Template:Convert to PNG

From Wikimedia Commons, the free media repository
Jump to navigation Jump to 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
Template documentationview · 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. Although PNG does officially support animation, they are not widely supported by browsers, 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


{{Convert to PNG}}

The template takes no parameters.

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 “could be re-created 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


العربيَّة  azərbaycanca  čeština  Deutsch  English  español  français  italiano  magyar  Nederlands  português  português do Brasil  sicilianu  svenska  Tagalog  македонски  русский  മലയാളം  日本語  中文  中文(简体)‎  +/−

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.