Commons:Graphics village pump

From Wikimedia Commons, the free media repository
(Redirected from Commons:GVP)
Jump to: navigation, search

  Welcome   Community portal   Help desk
Upload help
  Village pump
copyright • proposals
  Administrators' noticeboard
vandalism • user problems • blocks 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 - - - April May June July August September October November December
2008 January February March April May June July August September October November December
2009 January February March April May June July August September October November December
2010 January February - April May June July August September October November December
2011 January February March April May June July August September October - December
2012 January February March April May June July August September October November December
2013 January February March April May June July August September October - December
2014 January February March April May - July August September October November December
Topic-specific archives

SVG image help[edit]

Hi could I have some help with svg. I have tried to create an svg image but looks wrong on some sites please see the text does not look great on all web browsers. Could I have some help to redo the image so the text does not look like you carnt read it or blurry. if you visit the image looks different to . 12:57, 1 March 2015 (UTC)

Is it important to you that the text remains an editable text field? If you convert the text to a path, it will render consistently. Elaboratebreakfast (talk) 00:36, 7 March 2015 (UTC)
Oh how would I fix it. 16:05, 9 March 2015 (UTC)
Hi how can I fix it so it looks great everywhere and zooms in properly and inline. 18:26, 19 March 2015 (UTC)

These series of SVG maps are against NPOV, and they should be modified[edit]

These series of Chinese maps contains many disputed area: Arunachal Pradesh (now controlled by India) and Taiwan. it's really against NPOV, and some Taiwanese people think they are offensive, so they should be modified:

--El caballero de los Leones (talk) 04:22, 14 March 2015 (UTC)

NPOV policy is not applicable or effective on Commons. Wikimedia as a whole also does not censor itself because said content upsets or is objectionable to someone. -- Sameboat - 同舟 (talk · contri.) 06:23, 14 March 2015 (UTC)
唐吉訶德的侍從 -- Where there's a legitimate dispute going on in the real world, then Wikimedia Commons does not take a position, but allows images expressing the views of both sides to be uploaded, and leaves it up to the individual language Wikipedias to decide which images to use. In any case, there are a lot of maps in Taiwan showing Mongolia as part of China, which I imagine would be offensive to Mongolians...
Sameboat -- We can delete images which are hoaxing or hatemongering, or appear to express purely personal eccentric views "without educational relevance". But that does not seem to be the case here... AnonMoos (talk) 10:23, 14 March 2015 (UTC)

Cropping white space around SVGs[edit]

What is the easiest way to automatically crop borders from an SVG? I created Pathway_to_genome.svg (latex to PDF via Inkscape to SVG) and it has a lot of white-space. U+003F? 12:07, 26 March 2015 (UTC)

The fastest way is probably: File > Document Properties > Page > Page Size > Custom size, open the "Resize page to content..." section, define the margins to be a few pixels wide and press "Resize page to drawing or selection". If there are no invisible objects around your content, just don't select anything, if there are, select what should be included. — Julian H. 13:15, 26 March 2015 (UTC)
That didn't work for me; the resize didn't resize. Perhaps I should edit the SVG directly, though I never quite got my head around the viewBox element. U+003F? 13:44, 26 March 2015 (UTC)
But this is the usual way. I see this question as one of the most, so I did open a report User: Perhelion (Commons: = crap?)  09:25, 5 April 2015 (UTC)

SVG problematic[edit]

I create this file, but it appears a black areas, in the full size version and in the original doesn't appears, any idea? --Ezarateesteban 23:41, 30 March 2015 (UTC)

Germanwings Flight 9525 flight path topographic vector-es.svg

Yes Help: SVG #Black rectangle (Flowed Text bug) User: Perhelion (Commons: = crap?)  00:03, 31 March 2015 (UTC)

Big panoramas[edit]

Hey guys. I hope I am not annyoing with this request of mine. The point is, in 2011 I made a nice panorama of the city of Sarajevo in Bosnia that was stitched in Hugin and the result was a 371 mpix panorama. Ever since I uploaded that one, I wanted to surpass it. Which I did a short time ago with a new panorama of the town of Kadaň (528 mpix). I stitched the whole thing and uploaded it on commons - yet for some reason I can't get any thumbnail, or even have a chance to download it in smaller resolution or any resolution. The question I might have is not how big image can be uploaded so the server will be able to work with it... rather than "If I could do a 371 mpix, why can't I do 528 mpix and yes... theoretically... where is the limit. --Aktron (talk) 22:13, 31 March 2015 (UTC)

Help:JPEG#Progressive JPEGs has the answer. LX (talk, contribs) 22:59, 31 March 2015 (UTC)


I downloaded GIMP, but when I tried to start setup, I got the message that Windows cannot open it up because it does not know what program to use for this purpose. Can anyone suggest what program I should use to open up setup for GIMP? Sardaka (talk) 07:25, 8 April 2015 (UTC)

You probably downloaded the ".torrent" file. Make sure you download "Gimp for Windows" from the GIMP download page and use the alternative download link unless you want to use BitTorrent. --Patrick87 (talk) 09:06, 8 April 2015 (UTC)

Problem rendering chemical structures[edit]

I recently upladed multiple biochemical structure of some compounds (Alanin.svg, Acetacetát.svg etc.) and most of them rendered with mistakes. They were produced and exported from ChemDraw 12. When I open them in inkscape, they show fine. I checked them with svgcheck, no problems found. How can I solve this issue?

Thank you for your kind advice. --Wesalius (talk) 07:59, 19 April 2015 (UTC)

Haven't looked at those files, but if the subscripts are out of place, then it's probably because the program has different levels of <tspan> embedding side-by-side. For example, in <tspan>ABC<tspan>DEF</tspan></tspan>, "ABC" is inside one level, while "DEF" is inside two levels... AnonMoos (talk) 14:01, 19 April 2015 (UTC)
@Wesalius: I manually fixed both of them using a text editor. If you have any others with problems feel free to post them and I'll try to get to them. Offnfopt(talk) 02:42, 24 April 2015 (UTC)
@Offnfopt: If it is possible, could you explain the fix? I cant ask you to work on all of them, because there is just too many of them. Thank you very much! --Wesalius (talk) 05:28, 24 April 2015 (UTC)
I just figured out I could just see the diff of the old and new file in text editor, so probably less explaining will be needed. --Wesalius (talk) 05:32, 24 April 2015 (UTC)
@Wesalius: I think the bulk of the problems are from the font you're using. You're using Arial, but Wikipedia can't use Arial because of licensing issues so instead a font like "Bitstream Vera Sans" gets used. This font has different proportions than Arial so the text gets moved around. I think if you install this font and set it in your editor(s) ChemDraw or Inkscape I think you'll be able to see how the text alignment changes. When I edit these type of files I am on auto drive so I may have done more and not realized it, so if you still have problems just post and I'll try to respond.Offnfopt(talk) 06:30, 24 April 2015 (UTC)
I wanted to add that SVG markup errors can also cause bad rendering, so you can check the SVG markup by using W3C validator, I use the "Validate by File Upload" often to check my files. I remembered that you had some id="" that had the same id and a id should have a unique name that is only used once in the file, I think this was a problem caused by the editor programs and nothing you did, but just something to look out for. Offnfopt(talk) 06:42, 24 April 2015 (UTC)
OK thanks. I will return with more questions when I try to fix some of the files myself. I just wanted to check if you are using any sfotware/tool beside the validator that cleans up the SVGs for better readability, because when I compared your version and the old one produced by chemdraw, it contains less characters, has tags on sepaseparate lines etc. --Wesalius (talk) 08:02, 24 April 2015 (UTC)
Actually "Arial" gets replaced with "Liberation Sans" by MediaWiki Servers, which has almost identical metrics. So no problem here!
However if I remember correctly (I fixed some similar files before) there are some weird transformations added to the labels, which the SVG renderer can't cope with and therefore shows the text shifted. If I remember correctly ungrouping the conflicting groups while simplifying/merging the transformations did the trick for me (Inkscape can do this automatically in many cases if editing SVG code seems inconvenient). --Patrick87 (talk) 08:58, 24 April 2015 (UTC)
Wesalius, I just used Notepad++ to fix those, but I use search and replace regular expressions heavily to semi-automate redundant tasks.Offnfopt(talk) 15:12, 24 April 2015 (UTC)
@Wesalius: Seems the problem is for some reason RSVG, the software wikipedia uses to convert SVG to PNG files (1) is a bit off when it scales text (2) when the text-anchor is set to use "end" RSVG doesn't seem to be able to handle this correctly. I went ahead and fixed a bunch of the files, but if I missed some now you know what the problem is. You can use text-anchor start or middle but you will have to re-adjust your text position after changing this. I normally set mine to middle, I didn't do this though and just changed as little as I could to get it working (for speeds sake) so I could go through the files faster. If you have problems with any of the files post here.Offnfopt(talk) 09:14, 25 April 2015 (UTC)
Not fully, this is in relation due the tspan elem. needs a dimension attr. from his parent element text not from his neighbor tspan (so a x/y value on tspan is not supported with text-anchor, it seems except of the last one). I opt. the file exemplary. User: Perhelion (Commons: = crap?)  11:20, 25 April 2015 (UTC)
PS: I open a minor bug-report. User: Perhelion (Commons: = crap?)  21:07, 25 April 2015 (UTC)
If this code is really from ChemDraw, I propose to mention this failure there, it is very unlikely code. So I mean librsvg should not be fixed there. User: Perhelion (Commons: = crap?)  11:15, 26 April 2015 (UTC)