Commons:Graphics village pump/June 2007

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

Problem with Unicode-characters and SVG rendering[edit]

Hi.

As can be seen in Image:JodanChudanGedan.svg certain Unicode-characters do not render correctly in an SVG picture at the moment. I don't know whether the problem can be solved, but I thought mentioning the problem might not do any harm :-) --chris 16:28, 9 June 2007 (UTC)[reply]

Maybe you can solve this problem converting text to path. In inkscape is Path->text to pathChabacano 22:49, 7 July 2007 (UTC)[reply]

Combining portions of an image[edit]

An image was too big for my scanner, so I had to scan it in multiple parts. Is there a better way to piece it together than trial and error with rotation? --NE2 18:45, 9 June 2007 (UTC)[reply]

Never mind, I found a program to do it. --NE2 00:19, 10 June 2007 (UTC)[reply]

Clipped paths in SVG[edit]

Wondering if anyone can spot why the clipped path isn't displaying in the MediaWiki rendering of the SVG file Image:Lomma vapen.svg (compare to [1]). The code is next to identical to that of Image:Falun vapen.svg which renders fine. /Lokal_Profil 12:37, 14 June 2007 (UTC)[reply]

User:Patricia.fidi sorted it out. Does anyone know why the MediaWiki allows clones to have different colours when both Inkscape and Firefox only allows a clone to have the same colour as the original? /Lokal_Profil 22:26, 16 June 2007 (UTC)[reply]

max. resolution of png file?[edit]

A user asked me about the problem of creating a thumbnile of the file Image:Colombian National Army test version.png. Please have a look. Regards, --Polarlys 13:00, 18 June 2007 (UTC)[reply]

My opinion is that there is no real limitation, I mean not in terms of maximum resolution. My guess is that the problem resides in the configuration of the Wikimedia web server, precisely in the PHP configuration file where you determine the maximum memory usage of a PHP process. So everything depends on the memory consumption of the program dedicated to generating thumbnails (which is closely related to the definition of the image to reduce). By playing with the PHP configuration files and increasing the memory limit, you may see this thumbnail generated. Just a guess, I haven't dealt with PHP for a long time. — Xavier, 15:01, 18 June 2007 (UTC)[reply]
It's been policy for over a year now that PNG and GIF images with dimensions greater than about 12 megapixels will not be resized (JPEGs are unaffected). AnonMoos 23:13, 20 June 2007 (UTC)[reply]
Interesting. Nonetheless, there remain problems with big JPEG and SVG files. Do you have a link to this policy about oversized PNG/GIF and to the rationale/discussion that led to it ? Thanks. — Xavier, 16:06, 25 June 2007 (UTC)[reply]

SVG question[edit]

Doesn SVG files support conditional statements and extra parameters? That is if I give object A a parameter "colour = 12" can I then set an overall command for all my objects (or a subgroup of them) so that everything with colour>10 becomes blue everything with colour<10 becomes red? I'm wondering since this would make electionmaps etc. much easier to create. / Lokal_Profil 13:11, 23 June 2007 (UTC)[reply]

Without scripts, I don't know of anything in SVG 1.1. other than class= attributes to select styling information, which might not be fully what you need... AnonMoos 19:07, 23 June 2007 (UTC)[reply]
OK, I guess i'll just have to do it the old fashioned way =)Thanks anyway. /Lokal_Profil 19:54, 23 June 2007 (UTC)[reply]

SVG render problem[edit]

The renderer of mediawiki can not render this image Image:Languages-Europe.svg in big sizes (be careful opening the actual svg with firefox, it crashes!), although I can see it without problems in inkscape. Any clues? It took me a long time to create it :( Chabacano 23:51, 23 June 2007 (UTC)[reply]

I have the very same problem...
Did you build it from scratch in inkscape or imported it?
I assume you importend an EMF file in Inkscape, am I right?Akiramenai 14:19, 25 :June 2007 (UTC)
I'm pretty sure this is a problem with images that are too resource-hungry to be rendered by the server. IMHO, don't worry, the problem does not lie within the image. See my other comment above. — Xavier, 16:11, 25 June 2007 (UTC)[reply]
That might be, but the image has an abnormal resolution. I think I might help. I've had the same :::problem but maybe not exactly the same situationAkiramenai 17:51, 25 June 2007 (UTC)[reply]
Sorry for the delay in answering and thanks for the answers. I used Image:Europe continents.svg as base in inkscape and then I drew the different regions. If the problem is related to memory usage that a is good new, then maybe in the future those restricions will be lifted and the image will finally render :) It will explain too that the image renders in low resolutions (, for instance).Chabacano 21:42, 27 June 2007 (UTC)[reply]

Hi, this is a page of advice for people who make graphs, maps, diagrams etc, about how to choose colours and patterns that contrast well for people with vision impairment (useful for colorblind people, but also just for people with all kinds of poor vision I think). Anyway I don't know a lot about it, but I guess the people who regularly create such images will. If you could add to it -- especially useful would be sample colour palettes, and instructions about how to add hatching/patterns to areas in various image editing software tools -- that would be great. thanks!

(ps- how are you supposed to add things to this page?? it's really difficult!) --pfctdayelise (说什么?) 06:28, 29 June 2007 (UTC)[reply]