Image conversion

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Ambox outdated content.svg

This page is kept for historical interest. Its content is outdated or may be wrong.

You may find more up-to-date information on the website.

MediaWiki logo

Image conversion in MediaWiki is handled by ImageMagick or GD. Image are converted for several reasons, the commons is when thumbnails are created.

Known problems[edit]

LAB color is not supported by ImageMagick at this moment.

How to[edit]

Convert files with different colorspaces / colormodels: Check the colorspace of the original file and load this and a RGB colormodel using the -profile option. (this requires .icc or .icm files)

Convert PSD to JPG: When converting a PSD to a JPG format always make use of the -flatten command in ImageMagick, this makes sure the layers are removed.

Convert EPS to JPG: When converting a EPS, you need to have w:Ghostscript installed.