Help:Recommendations for uploading images

From OpenMedia
Jump to: navigation, search
This page is a translated version of the page Help:Recommendations for uploading images and the translation is 100% complete.

Other languages:

Images can be uploaded in various formats. If you are uploading many quality images, the following recommendations may help to choose the best format.

For photographic images, the choice is easy: these are pixel images, and while a completely loss-less format like png has some advantages over jpg, a low-compressed jpg (e.g. 98% quality) is generally very good. Normally you should not convert a jpg to a png file - previous quality losses can not be recovered.

When converting images for uploading yourself, provide them in a high to moderately high resolution. Do not downscale them for web-use to 400-800 px: The wiki will automatically scale images and can do so better with higher resolution images (1500 px or above). When compressing images to jpg, choose a low compression between 90 and 98% to avoid artifacts. Note that artifacts in jpg images accumulate, i.e. opening and saving a jpg file after modification repeatedly will create very notable quality losses.

For line drawings or graphics, the best images for self-created drawings are vector images. These can be scaled from small to large without loss of quality. Many files like Microsoft or LibreOffice, Adobe Illustrator, Visio, etc. provide such format. Unfortunately, the standardized, web-enabled format for this type of graphic, the SVG Format is poorly supported by Office software. If you can export a vector in SVG format, this is wonderful and the images are directly visible in your wiki pages.

However, we realize that it may often be more practical to use pixel-based formats here as well. If you do so, please avoid using jpg and use png or tiff instead. Jpg is optimized for continuously changing colors, and has problems with hard colors like black and white lines. Often a png image with loss-less compression is smaller than a jpg for this type of pixel images.

Summary:

A preferred (optimal) upload format for images in order of preferred file formats is suggested to be like:

→ ? ─ already in vector format ─────────────────────────── original file format plus
  │   (Inkscape, LibreOffice Draw,                      SVG (Scalable Vector Graphic), PNG
  │   Visio, Powerpoint, CorelDraw,
  │   Adobe Illustrator, Freehand, …)
  └ else color?  (16 Mio)
     ├──           …or…      ──┬ photo? ────────────────── JPG (98%), PNG, TIFF
     │    gray? (256 colors)   ├─ graphic/color fields? ── PNG, TIFF; only exceptionally JPG (98%)
     │                         ├── diagram/line drawing? ─ PNG, TIFF; avoid JPG!
     │                         └─── icon? ──────────────── PNG; avoid JPG!
     └──  BW  ────────────────── diagram/line drawing? ─── PNG, TIFF
         (1 Bit)