Commons:Graphics village pump

From Wikimedia Commons, the free media repository
Jump to: navigation, search

Community portal
Help desk
Village pump
Administrators' noticeboard
vandalismuser problemsblocks and protections

Graphics community: Graphic Lab · Graphics Village Pump · Picture Requests · Photography Critiques

color palette logo Welcome to the Graphics village pump!

A village pump

Hello and Welcome to this Graphics village pump of Commons. This Graphics village pump aims to provide help and information about the several Graphic Labs spread in the Wikipedias, and to be the technical support forum for all the local Labs, graphists (graphic artists), and users 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: Other graphic community pages (list on top) | Graphics abilities page | Graphic Tool | Project Insignia | Stroke Order Project | Current requests/discussions

Commons discussion pages (index)

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 Jul Aug Sep
Topic-specific archives

Corrupt SVG?[edit]

Commons complains that this SVG file is broken. Does anyone know why? ~nmaia [[mia diskuto]] 20:16, 11 June 2016 (UTC)

I haven't tried to upload it to see the error, but best guess is the error is being generated because the image has a xlink reference to a local file (file:///etc-etc) in the pattern section. The pattern isn't being used so you can remove the whole pattern section and retry to upload. I also uploaded a edited image here, if you click the download button and save as SVG file and try to upload, hopefully that'll resolve the error you were receiving. Offnfopt(talk) 22:16, 11 June 2016 (UTC)
✓ Done. Thanks! That did it. ~nmaia [[mia diskuto]] 23:14, 11 June 2016 (UTC)

Unidentified rendering issue with a SVG picture.[edit]


the following image shows a black rectangle when rendered as PNG: File:Caisse plan incline glissement cone frottement.svg.

This rectangle does not seem to be related with any object I created with Inkscape. Any hint?


Cdang (talk) 09:52, 4 July 2016 (UTC)

Cdang: Please see Help:SVG#Black rectangle (Flowed Text bug). LX (talk, contribs) 11:18, 4 July 2016 (UTC)
@LX: Thanks. Anyway, as I was adding some elements, I used the XML editor (I don't know anything about this but well, try&error strategy) and removed an element that did not seem to be related with a graphical object, and it seems OK know.
Cdang (talk) 11:33, 4 July 2016 (UTC)

Can anyone help shade two countries on the map File:OPEC.svg ?[edit]

To update this SVG map for OPEC's newly returned member nations (Indonesia & Gabon), I was able to add blue shading to the "invalid SVG" file version from 17 September 2008, but unfortunately I couldn't succeed with the "valid SVG" version from 29 June 2013. We'd certainly prefer to avoid using an invalid SVG for a map with millions of viewers per year in dozens of Wikipedia languages. Does anyone familiar with SVG see how to create a valid file with the updated shadings? Many thanks. —Patrug (talk) 21:49, 4 July 2016 (UTC)

I updated the map, please check to make sure the shaded countries are correct. Offnfopt(talk) 00:24, 5 July 2016 (UTC)
Looks great, thanks! Any "simple" way that a non-expert could edit the set of blue-shaded countries for future membership changes? —Patrug (talk) 01:35, 5 July 2016 (UTC)
What problems did you encounter when trying to edit the validated SVG? Offnfopt(talk) 23:22, 6 July 2016 (UTC)
The invalid SVG gives clear instructions for coloring countries near the top of the file, which made it easy to add the code for Gabon. When I tried adding the same code to the valid SVG file, it didn't work. —Patrug (talk) 04:44, 8 July 2016 (UTC)
I made the changes using Inkscape, it is a free/open source vector editor. It takes some playing around with when you're not familiar with it, but after you get used to the interface and how to navigate the elements in a document, it doesn't take long to make these kind of quick changes. Offnfopt(talk) 12:32, 8 July 2016 (UTC)
OK, thanks. I've added this info to File talk:OPEC.svg for future occasions. —Patrug (talk) 00:22, 10 July 2016 (UTC)

Help with File:GER-FRA 2016-07-07.svg[edit]

Hello, I was wondering what the issue with this SVG is, as when the image renders as a PNG on Wikipedia, the text seems distorted with letters too close to each other. I am not sure exactly what I need to fix, although maybe it is related to this? Secret Agent Julio (talk) 21:52, 15 July 2016 (UTC)

Take a look at "Font substitution and fallback fonts" and "SVG Fonts", your SVG currently uses the Verdana font which is not available on the wiki servers (current SVG font list (Old). Since you're not using a supported font it is changed to a different font before it is rendered as PNG, which changes the appearance of the text. So it is recommended to change it to a supported font list to you know what to expect when the text is rendered. Also there is currently another issue that could affect you T139543 which will be fixed soon according to that thread. Offnfopt(talk) 20:09, 16 July 2016 (UTC)
Hmm, I tried adjusting the font to DejaVu sans, but it did not seem to work. So maybe it is related to that thread then? Secret Agent Julio (talk) 09:55, 17 July 2016 (UTC)
No it’s more phab:T36947. You can try to scale the whole image to result in an font-size of 70-80px, which is at moment the best workaround. User: Perhelion 17:43, 18 July 2016 (UTC)

The XML in the uploaded file could not be parsed[edit]

The XML in the uploaded file could not be parsed. 13 MB svg file edited with inkscape. I get this message when it try to upload any uploader i used. Thank you. The base file is jpg file and i converted it to png in photoshop and then used it with no problem in Inkscape. Then used PNG original wihout jpg to png and i get the same message. MaryroseB54 (talk) 16:31, 21 July 2016 (UTC)

Does this SVG file contain a large embedded bitmap (raster) image? That's kind of discouraged on Commons... AnonMoos (talk) 13:37, 22 July 2016 (UTC)
No, as i said i used the png file for the background the 2nd time i tried it. Maybe i should give up. MaryroseB54 (talk) 14:08, 22 July 2016 (UTC)
Sorry and yes, give this up, this is absolutely an overkill for SVG. The source (JPG) image itself has an huge size view-warning and this is the most effective file format for pixel-image if large amount of details. The processing power and memory requirements correlates almost exponentially to the SVG filesize. The only way is to dramatically reduce the filesize (very likely also the resolution) of this background. PS: I would suggest to take the PNG and reduce the dimension by factor 10 and an color-depth of maximum 8bit or lower. User: Perhelion 21:08, 22 July 2016 (UTC)
thanks MaryroseB54 (talk) 22:18, 22 July 2016 (UTC)