Open main menu

Commons:Graphics village pump

Community portal
Help deskVillage pump
Administrators' noticeboard
vandalismuser problemsblocks and protections


This Graphics village pump aims to be technical support forum for all the local Labs, graphists (graphic artists), and volunteers interested in graphic works, and is a page where graphists and users from all the Labs can talk about graphics, tutorials, graphic software, help to build new Graphic Labs, etc. Also for exchanging opinions, ideas, protocols, and ways of improvement.

See also: Graphics abilities page | Graphic Tool | Project Insignia | Stroke Order Project | Current requests/discussions

To have the opinion of graphists check

Illustration Workshop   Map Workshop   Photography Workshop   Video and Sound Workshop

Graphics village pump archives
Monthly archives
2007 Apr May Jun Jul Aug Sep Oct Nov Dec
2008 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2009 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2010 Jan Feb Apr May Jun Jul Aug Sep Oct Nov Dec
2011 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Dec
2012 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2013 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Dec
2014 Jan Feb Mar Apr May Jul Aug Sep Oct Nov Dec
2015 Jan Mar Apr May Jun Jul Sep Oct Nov Dec
2016 Jan Feb Mar Apr May Jun Jul Aug Sep Nov Dec
2017 Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2018 Jan Feb Mar May Jun Jul Aug Sep Oct Nov Dec
Topic-specific archives

Diagonally striped pattern on svg country mapEdit

Hello guys,

I'm trying to fill countries with a diagonally striped pattern on a svg world map in this kind of style, however, just filling countries instead of regions would be fine. Colors should be able to be determined with the ability to create transparent stripes. There are instructions on how to entirely fill and circle countries, but the above feature is missing. Anyone here who could extend the instructions or comment? Would like to use this map outside of Wikipedia in case there are different rendering requirements.
— Preceding unsigned comment added by MiMoHo (talk • contribs) 09:42, 11 April 2018 (UTC)

Problem with colors in SVG renderingEdit

Full view vs preview

Hi, I have two small problems concerning File:Sinsheim in Sinsheim.svg, which was created in QGIS and then edited in Inkscape. The highlighted color is supposed to be      #c12737 and shows as such in the full svg view in Firefox as well as is the preview thumbnail before uploading the file. What should I change so that it is also rendered correctly by the Mediawiki software? Also, I'd be glad about font recommendations that look better in the thumbnail. Cheers, --Földhegy (talk) 07:23, 28 November 2018 (UTC)

@Földhegy: I don't see any rendering problems. (The color seems to be right?)
If you want font-recomendations, please look at File:MediaWiki_SVG_font_list_sans.svg, File:MediaWiki_SVG_font_list_serif.svg and meta:SVG_fonts.
I would say the three most common fonts might be: "Liberation Sans,DejaVu Sans,Liberations Serif"
 — Johannes Kalliauer - Talk | Contributions 16:33, 28 November 2018 (UTC)
Hm, very interesting - the color seems to be right for some browsers, but in Firefox, there is a difference between the thumbnail/preview and full view (only the svg in full view shows the color correctly), see image attached. And thanks for the recommendations. --Földhegy (talk) 22:11, 6 December 2018 (UTC)
@Földhegy: Thanks for the Preview. Now I know what you are meaning. But my Firefox 63.0.3 (Windows) this problem does not occour. Can you add which Picture is the Wiki-PNG(Which resolution) and which is the SVG. And add a URL-link which Version you are refering. f.e for the last version you uploaded:
 — Johannes Kalliauer - Talk | Contributions 07:51, 7 December 2018 (UTC)
In File:Preview vs full view color rendering.png, the SVG (2018-11-28, 16:22 [the current] version) is on the left, the 800px wiki-PNG on the right. Unfortunately I don't know how to get the permanent link to the current version, but the problem persists :( --Földhegy (talk) 16:51, 8 December 2018 (UTC)

Bug in rendering of SVG patternsEdit

~Hi. Example below, where SVG patterns are displayed differently for e.g. 145px and 146px image size. Please consider how to fix this bug. Image in question, with a standard striped pattern from Inkscape: File:Coat of arms of Europe (hatched).svg. Thanks!

SVG pattern rendering error.png

-Ssolbergj (talk) 11:19, 28 November 2018 (UTC)

Pattern only rudimentary supported
see Librsvg_bugs#Pattern for more information.
 — Johannes Kalliauer - Talk | Contributions 16:36, 28 November 2018 (UTC)
This bug happens, when the individual cells that the pattern consists of cover only a tiny area. I don't know exactly why it fails, but I encountered the same problem with Ducktales2017Logo.svg. You can circumvent the bug by combining multiple repetitions of the pattern into one larger version. E.g. I fixed the thumbnail of Coat of arms of Europe (hatched).svg by having the pattern cover four lines instead of one. TilmannR (talk) 17:17, 28 November 2018 (UTC)
Well, this bug has clearly has been known for some time. I hope someone can fix it; in the meantime I'll use your fix, TilmannR. Thank you! - Ssolbergj (talk) 21:00, 28 November 2018 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment.  — Johannes Kalliauer - Talk | Contributions 22:51, 30 December 2018 (UTC)

PNG-converted image doesn't show SVG text properlyEdit

Dragon's Triangle.svg

As you see, those text are not readable. How can I fix the problem? I created this file with Inkscape 0.91 for Linux. Onhigan (talk) 13:06, 29 November 2018 (UTC)

Sorry, this problem had already been reported on phab:T36947. Thanks to JoKalliauer, the text is readable now. Onhigan (talk) 16:02, 30 November 2018 (UTC)

Help needed with Category:Files with inappropriate PDF formatEdit

We have growing number of files in Category:Files with inappropriate PDF format where people upload photographs and drawing as PDF files. Ideally content of those files would get saved in appropriate format and all the uses globally replaced. Than no longer used files could get moved to some "do-not-use" category. Many of the files are used on other projects. Can anybody help? This might be a small fraction of single page PDF files with photographs and drawings. --Jarekt (talk) 15:49, 12 December 2018 (UTC)

@Jarekt: For your info
There are some free oportunities that extract (not convert) Pictures from PDFs: (see de:Benutzer:JoKalliauer/PDF#Windows for details)
(PS. I do not take the request, at least not now.)
 — Johannes Kalliauer - Talk | Contributions 21:41, 12 December 2018 (UTC)
@Jarekt: Can you splitt {{BadSVG}} it in {{Convert to SVG}} and {{FakeSVG}}, because some contain Vectordata other contain just PNG/JPEG.
I could do the request.
 — Johannes Kalliauer - Talk | Contributions 09:03, 31 December 2018 (UTC)
User:JoKalliauer I did not understand what you would like me to help with. --Jarekt (talk) 13:12, 31 December 2018 (UTC)
@Jarekt: sorry for beeing that unclear. I thought more about it more and created subgroups:
If a file cotains vectordata (like text) it has to be converted to SVG (f.e. Inkscape), if it only contain one raster-grafic then this picture should be extracted to PNG/JPEG(f.e. with PDF Image Extraction Wizard)
 — Johannes Kalliauer - Talk | Contributions 16:37, 1 January 2019 (UTC)

Maybe someone can help me clean up Files with inappropriate PDF format (add {{Superseded}} and replace useage of the files)  — Johannes Kalliauer - Talk | Contributions 16:54, 1 January 2019 (UTC)

Thanks to @TilmannR: and all the other who helped to replace the images (also still not all files are fixed)  — Johannes Kalliauer - Talk | Contributions 19:41, 13 January 2019 (UTC)

SVG image cannot be uploaded due to (incorrect?) MIME specificationEdit

In order to adhere to the (new?) requirement to specify "MIME-type" I included 'type' in the SVG tag:

<svg height="1600" width="1600" xmlns="" type="image/svg+xml">

Still I get the error message when uploading: "File extension ".svg" does not match the detected MIME type of the file (text/plain)." What shall I change?

Stamcose (talk) 18:58, 27 December 2018 (UTC)

I dont have problems uploading

@Stamcose: I just uploaded

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg  PUBLIC '-//W3C//DTD SVG 1.1//EN'  ''>
<svg width="1600" height="1610" type="image/svg+xml" version="1.1" xmlns="">
  <rdf:RDF xmlns:rdf="">
   <cc:Work xmlns:cc="" xmlns:dc="">
    <dc:type rdf:resource=""/>
 <path d="m1332 1046-105-115-112-106-121-98-128-87-134-78-140-67-145-56-149-44-151-33" fill="none" stroke="#000"/>
 <path d="m550 1033 250-433-44-25" fill="none" stroke="#008000" stroke-width="4"/>
 <path d="m506 1008 294-408" fill="none" stroke="#f00" stroke-width="4"/>
 <path d="m843 625-43-25 14-25" fill="none" stroke="#000" stroke-width="4"/>
 <path d="m857 600h-57" fill="none" stroke="#a52a2a" stroke-width="4"/>
 <path d="m60 1120h50v50h-50z" fill="#f00"/>
 <text x="160" y="1150" font-family="Verdana" font-size="20">Gravitational force off-set towards the pole from the local vertical</text>
 <path d="m60 1220h50v50h-50z" fill="#008000"/>
 <text x="160" y="1250" font-family="Verdana" font-size="20">Decomposition of the gravitational force in a vertical and a horisontal component</text>
 <path d="m60 1320h50v50h-50z" fill="#a52a2a"/>
 <text x="160" y="1350" font-family="Verdana" font-size="20">"Centrifugal force" orthogonal to the polar axis</text>
 <path d="m60 1420h50v50h-50z"/>
 <text x="160" y="1450" font-family="Verdana" font-size="20">Decomposition of the "centrifugal force" in a vertical and a horisontal component</text>
 <text x="10" y="1550" font-family="Verdana" font-size="18">The Earth has an oblate shape such that the horisontal component of the gravitational force prevents a mass point at rest on the surface to slide away towards the equator</text>

to File:The_shape_of_the_rotating_Earth_3.svg. I think there you have to post the whole file.  — Johannes Kalliauer - Talk | Contributions 21:52, 27 December 2018 (UTC)

It must have been some temporary problem on the Wikimedia side. The unchanged file uploaded without problem today! It is:

Thanks for your support! Stamcose (talk) 19:18, 28 December 2018 (UTC)

Blank SVG image after uploadEdit

I have modified File:SevenSisterStates.svg file to create a few SVG maps using Inkscape. These images are rendered correctly in browser (Chrome, Firefox, IE), but after uploading to Commons the files look empty ((File:Assam district locator map Baksa.svg and others in Category:Locator maps of districts of Assam) where the original file still correctly renders (here). I am not sure what is happening, may be there is something going wrong in rendering the PNG images. Does anyone have any idea how to fix this? --SlowPhoton (talk) 10:13, 28 December 2018 (UTC)

@SlowPhoton: Please use Commons:Commons SVG Checker, and you will know the problem:
 — Johannes Kalliauer - Talk | Contributions 11:05, 28 December 2018 (UTC)
@SlowPhoton: is it on purpose that they have a transpraency? I removed it in File:Assam_district_locator_map_Baksa.svg, but not in the others.
@JoKalliauer: That was not on purpose. I did not realiser that there were transparency. Is there a quick way to fix this? --SlowPhoton (talk) 16:13, 28 December 2018 (UTC)
If you ungroup everything in inkscape it will remove the transparency (that's how I did it) I think it is related to mask2921 with opacity:0.97000002. I will check that /or do that.  — Johannes Kalliauer - Talk | Contributions 22:11, 28 December 2018 (UTC)