Ads
related to: convert jpg to png logo
Search results
Results from the WOW.Com Content Network
Sometimes, you find a drawing or similar image useful for a Wikipedia article, that was saved as a JPEG but should have been saved as a PNG.JPEG is good for images where the color changes fluidly throughout the image, like in a photograph, whereas PNG files are good for images with relatively few colors, such as a drawing of a flag, a chart, or a map; note that sometimes SVG is better.
To the right is an example of a file saved as JPEG when it should have been saved as PNG. JPEG uses lossy data compression meant for photographs. Compressing drawings or diagrams with JPEG results in an image of poor quality, because the human eye can spot the compression artifacts around the edges.
Main page; Contents; Current events; Random article; About Wikipedia; Contact us
The fix is to open the SVG file in a text editor, find the <image> element, locate "image/jpg", change it to "image/jpeg" and re-save. At right is an example of this problem. The Commons SVG Checker looks for this problem; see Commons:Commons:Commons SVG Checker/KnownBugs#Checks for details.
In general, if you have a good image that is in the wrong format, convert it to the correct format before uploading. However, if you find a map, flag, etc. in JPEG format, only convert it to PNG if this reduces the file size. For further advice on converting JPEG to PNG, see Wikipedia:How to reduce colors for saving a JPEG as PNG.
The JPEG filename extension is JPG or JPEG. Nearly every digital camera can save images in the JPEG format, which supports eight-bit grayscale images and 24-bit color images (eight bits each for red, green, and blue). JPEG applies lossy compression to images, which can result in a significant reduction of the file size.
The preferred formats are JPEG for photographic images, SVG for drawings and line-art illustration, PNG for non-vector graphic iconic images, Ogg Vorbis for sound and Ogg Theora for video. Please name your files descriptively to avoid confusion (see below).
Format Compression algorithm Raster/ vector Maximum Color depth. Indexed color Trans-parency. Meta-data. Inter-lacing. Multi-page Anima-tion Layers Color manage-ment
Ads
related to: convert jpg to png logo