Commons:Graphics village pump/April 2010

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

GIF scaling re-enabled[edit]

For past discussions, see Commons:Graphics village pump/GIF thread

See en:Wikipedia:Village pump (technical)#Re-enabled GIF scaling. --Timeshifter (talk) 16:03, 6 April 2010 (UTC)[reply]

Animated GIF's thumb stopped[edit]

Original size

Why animated GIF's thumb stopped? See these: --百楽兎 (talk) 14:04, 7 April 2010 (UTC)[reply]

In the general case, you have to purge them, and then sometimes wait for the purge to take effect. However, I'm not sure about the ultra-tiny thumbnails (10px etc.) that you're requesting... AnonMoos (talk)
It may take days more to see how many animated GIFs get scaled. They are in the job queue. See mw:Manual:Job queue. Some will not get scaled due to problems with how MediaWiki deals with them. --Timeshifter (talk) 19:45, 8 April 2010 (UTC)[reply]
The tiny thumbs are animated now. You might need to bypass your cache (Ctrl-F5 in Firefox) on this page to see them. --Timeshifter (talk) 14:02, 16 April 2010 (UTC)[reply]

Cannot configure external editor.[edit]

I need to change the background of many images from here and would like to use (Windows) IrfanView as the external image editor. Studied the Mediawiki installation instructions extensively, but something is missing.

Selected the default external editor on My Preferences, and added this to my monobook.js:

 addOnloadHook(function() {
    var editTab = document.getElementById("ca-edit");
    if (!editTab) return;
    var editURL = editTab.getElementsByTagName("a")[0].href;
    addPortletLink("p-cactions", editURL + "&externaledit=true", "EE", "ca-exted", "External editor", "");
 });
 

Whenever I try to edit an image like this, I get the following index.php in my text editor and no image.

[Process]
Type=Edit text
Engine=MediaWiki
Script=http://commons.wikimedia.org/w/index.php
Server=http://commons.wikimedia.org
Path=/w
Special namespace=Special

[File] Extension=wiki URL=http://commons.wikimedia.org/w/index.php?title=File:TPSMV1P112.jpg&action=edit&internaledit=true

I am using Mozilla Minefield 3.7a4pre. In the Options\Application there is no listing for .jpg files, only .jpeg etc., all set to IrfanView as the deafault. Frankly, I am lost. Can someone help me through this? Ineuw talk page on en.ws 20:51, 5 April 2010 (UTC)[reply]

Addendum: I reverted to FF 3.6.3.Ineuw talk page on en.ws 14:18, 7 April 2010 (UTC)[reply]
As mentioned elsewhere, this is really a scripting problem, not an image problem as such. AnonMoos (talk) 07:31, 8 April 2010 (UTC)[reply]

Cannot configure external editor.[edit]

I need to change the background of many images from here and would like to use (Windows) IrfanView as the external image editor. Studied the Mediawiki installation instructions extensively, but something is missing.

Selected the default external editor on My Preferences, and added this to my monobook.js:

 addOnloadHook(function() {
    var editTab = document.getElementById("ca-edit");
    if (!editTab) return;
    var editURL = editTab.getElementsByTagName("a")[0].href;
    addPortletLink("p-cactions", editURL + "&externaledit=true", "EE", "ca-exted", "External editor", "");
 });
 

Whenever I try to edit an image like this, I get the following index.php in my text editor and no image.

[Process]
Type=Edit text
Engine=MediaWiki
Script=http://commons.wikimedia.org/w/index.php
Server=http://commons.wikimedia.org
Path=/w
Special namespace=Special

[File] Extension=wiki URL=http://commons.wikimedia.org/w/index.php?title=File:TPSMV1P112.jpg&action=edit&internaledit=true

I am using Mozilla Minefield 3.7a4pre. In the Options\Application there is no listing for .jpg files, only .jpeg etc., all set to IrfanView as the deafault. Frankly, I am lost. Can someone help me through this? Ineuw talk page on en.ws 20:51, 5 April 2010 (UTC)[reply]

SVG thumbnail broken[edit]

File:Heart diagram blood flow en.svg won't render a 2000px PNG. Anybody know a solution? ZooFari 23:06, 7 April 2010 (UTC)[reply]

The error message is Error creating thumbnail: (rsvg-convert:8858): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `pixbuf != NULL' failed; you'd probably have to ask a developer about that... AnonMoos (talk) 00:37, 8 April 2010 (UTC)[reply]
Usually this means that the renderer tried to allocate memory for (probably a subpart) of the SVG. This memory was beyond the limits available at that time. When it is not available, you cannot draw into it, and you cannot create a final picture. TheDJ (talk) 03:21, 23 April 2010 (UTC)[reply]

Problems with manual SVG[edit]

Maybe somebody can help me. I generated the graphic File:Lilith symbol.svg and was surprised that the png-rendering of ⚸ looks different to the presentation when seen as SVG (when clicked onto the png pic, on the then opened page). It seems that I did something wrong which is interpreted by the png rendering tool differently to the SVG shape shown by Firefox or IE — they both show the picture as wanted. I cannot find by myself. -- sarang사랑 11:31, 14 April 2010 (UTC)[reply]

In the first path, you have an "A" command (absolute arcto) specified as spanning from (33,5) to (33,31) with a vertical radius of 10, yet it would take a vertical radius of at least 13 to span between these two points, so the inconsistencies are probably in how different programs silently fix up a geometrically impossible specification... AnonMoos (talk) 14:00, 14 April 2010 (UTC)[reply]
Just a comment: a larger default size would be good. /Pieter Kuiper (talk) 14:04, 14 April 2010 (UTC)[reply]
  • @Anon: Thank you, I could not find that. I will try to fix it. (15:17, 16 April 2010 (UTC): it is fine now, it worked)
  • @Pieter: Larger would be fine; but all the other asteroides are as small with 50px, so inwillingly I took this size. BTW: What are good standard sizes for simple SVGs? I make them with a height of 180, when I have to choose; for this size I need normally neither too many digits, nor fractions. -- sarang사랑 14:34, 14 April 2010 (UTC)[reply]
If it's a general-purpose SVG illustration (not intended to be used as a small icon), then I generally size them to be about 600 pixels high (unless the internal structuring of the image data suggests some specific different default size), since that means that people viewing the image description page can get a clear view of it without having to resort to any special steps or manipulations... AnonMoos (talk) 16:12, 14 April 2010 (UTC)[reply]
As for my part (when I use the laptop with the small screen) picture hights above ~180 pixels make problems to see them, I have to make the display so small that I cannot read the text any more. I am always glad if the size is not 600. - But sure no size at all would find grace of everybody! -- sarang사랑 13:38, 15 April 2010 (UTC)[reply]
You know you can set the image size limit in your preferences, right? Although the list only seems to go down to 320×240px. —Ilmari Karonen (talk) 02:52, 16 April 2010 (UTC)[reply]
Yes, thank you, I know about this possibility but until now in most cases I can live with the default skin - I can even live with the new one. -- sarang사랑 12:12, 16 April 2010 (UTC)[reply]

By the way, I have no real idea about the Lilith symbol specifically, but artistic crescent shapes (as opposed to astronomically-correct crescent shapes) are most often intersections of two circular arcs... AnonMoos (talk) 19:47, 14 April 2010 (UTC)[reply]

You are right, this will be the better element for drawing crescents; thank you. -- sarang사랑 13:38, 15 April 2010 (UTC)[reply]
I try always to be as close as possible at the original shape, whether it is from a Unicode PDF or a previous version of a graphic. Just now I tried to make a SVG graphic to replace File:Croissant Héraldique.svg which has some errors. The picture from May 2008 is made with many cubic Bézier curves ("C"); with only few of these curves I could not assimilate the shape, but with 2 elliptical arcs ("A") it had been quite easy, in that case. -- sarang사랑 12:12, 16 April 2010 (UTC)[reply]
However, a severe critic might point out that the arcs are not quite circular (first arc has x-radius,y-radius of 299,298 and the second is 238,240). For various reasons, I fairly rarely use "A" or "a" path elements in the SVG files that I create (except for the most recent version of Image:Dina-gor.svg). Often, they're created using PostScript, and the PostScript interpreter transforms a circle into four 90° curves, and a circular arc into curves joined at tangent-points to horizontal and vertical lines... AnonMoos (talk) 13:18, 16 April 2010 (UTC)[reply]
The "almost-but-not-exact" circles fit the best to the shape of the replaced graphic.
I see your Dina-gor was first made with a lot of "C" curves, the last version looks from outside quite the same, but I like more its construction with the referenced definition and the "A" curves; it is more explanatory. I think the seven digits of decimal fractions are not necessary, wherever possible I try to avoid fractions. -- sarang사랑 15:17, 16 April 2010 (UTC)[reply]
Well, one thing I'm always worried about with "A"/"a" is that if I don't get the numbers exactly right, and if the arc is close to a semicircle or close to a full circle, then the meaning of the "large-arc-flag" and/or "sweep-flag" could suddenly unexpectedly reverse. Unfortunately, there's no tool that I know of which directly converts PostScript "arc"/"arcn" commands (which I find easier to use) to SVG "A"/"a" path elements, so I have to do it kind of manually. By the way, I can sympathize with you by memory about image size -- during 1997, when graphics on the world wide web were really first starting to take off, I had an EGA monitor at home, which displayed a maximum of 16 simultaneous colors at a non-square pixel resolution (640x350). However, I still think that a height of near 600 is better as a default display size for most non-icon SVG files than 180... AnonMoos (talk) 20:40, 16 April 2010 (UTC)[reply]

SVG conversion[edit]

Please convert File:Demography graphic of Pichilemu.png to SVG. It will be great! Thanks in advance. --Diego Grez (previously MisterWiki) let's talk 16:23, 14 April 2010 (UTC)[reply]

I bet that the program used to create the graph in that image is able to output the same chart in at least one vector format (if not SVG, then Adobe Illustrator, PDF, or EPS), which could then be automatically or semi-automatically converted to SVG using an appropriate tool... AnonMoos (talk) 22:53, 14 April 2010 (UTC)[reply]
I'm not sure, I did it with <timeline> :/ --Diego Grez (previously MisterWiki) let's talk 13:53, 15 April 2010 (UTC)[reply]
Well, then why can't <timeline> be used to display the data in Wikipedia articles? A PNG or SVG would only seem to be necessary when the data is to be displayed outside of Wikimedia software. The documentation is at http://www.mediawiki.org/wiki/Extension:EasyTimeline/syntax ...
In any case, it would probably be a good idea to include the script code used to generate the graphic on the image description page File:Demography graphic of Pichilemu.png. -- AnonMoos (talk) 02:20, 16 April 2010 (UTC)[reply]
It's okay. It was used as generated by the servers, but I needed a thumbnail to save space in the article. I'm gonna post the code. --Diego Grez (previously MisterWiki) let's talk 01:31, 17 April 2010 (UTC)[reply]

It is here: File:Demography graphic of Pichilemu.png#Code --Diego Grez (previously MisterWiki) let's talk 03:09, 17 April 2010 (UTC)[reply]

Requesting Source File for Image on Wikimedia Commons[edit]

I represent a training and consulting organization. We would like to use one of the map images in a product of ours. We will credit the source and provide the web link to the Wikimedia licensing page.

Here is the image link: http://commons.wikimedia.org/wiki/File:Bergen_Borought_Map.png


Our designer is requesting one of the following types of files for this image: .tiff .psd .ai .eps

Is there anyway to secure one of the above types of files for this image?

Thank you, Lisa

Source of the file is given as "Nina Skauge http://ninaskauge.no/"; you could ask there... AnonMoos (talk) 20:10, 6 April 2010 (UTC)[reply]




Hello Lisa. Image format types are created by users and there is no download service. One has to copy and convert to the desired type. As for licensing, while all images here are in the public domain, to be sure about your situation and attributions, it's best if you post the message to an administrator, like User talk:Martin H. who is very helpful in sorting this out. It also helps if one registers as a Wikimedia/Wikipedia user. Good luck. Ineuw talk page on en.ws 16:10, 6 April 2010 (UTC)[reply]
PLEASE do not give answers if you don't have real relevant knowledge. It is most definitely not true that all files on Wikimedia Commons are "in the public domain" (though all except the Wikimedia logos should be available under a free license, which is quite a different matter). And your suggested procedure was not very directly helpful... AnonMoos (talk) 20:10, 6 April 2010 (UTC)[reply]


Text in Microsoft Visio generated SVG files[edit]

Not sure what's preventing text from being displayed in files such as File:Latex-tools-schart.svg, File:Shows_the_Harmonics_and_dissonances_in_a_Wicki-Hayden_layout_and_on_jammers.svg, or File:ConflictParticipantsBehaviourStr.svg -- it shows up fine in Adobe SVG plugin. AnonMoos (talk) 11:38, 25 April 2010 (UTC)[reply]

The files make heavy use of the v: namespace, which contains Microsoft Visio extensions to the SVG standard, including v:textBlock. It may be that this is not supported by rsvg, or that the namespace is not referenced correctly. I'm not sure what the case is, but W3C's validator also doesn't like it. LX (talk, contribs) 12:48, 25 April 2010 (UTC)[reply]
I realized that when I opened the files in a text editor, but the text displays in Adobe SVG plugin, which I doubt knows about Visio extensions, so probably all the information necessary to display the text is in the non-"v" elements, if it could be put in an form that RSVG could understand... AnonMoos (talk) 13:47, 25 April 2010 (UTC)[reply]
P.S. If the "v" namespace were not referenced correctly, RSVG would refuse to display the file at all. AnonMoos (talk) 13:52, 25 April 2010 (UTC)[reply]

KML File Format[edit]

I recently got a Droid phone which has an app called "Footprints". This (Google Earth) app geocodes photographs you take and tags them. I'm not sure if the photographs are automatically uploaded to Google Earth, I couldn't find any I had taken (on Google Earth), but I'm assuming they are and I just don't know what I'm doing or there is a lag time before they sync. There is an "export" option which allows you to export files, and I was hoping to upload to WikiCommons, but got the error message that this type file format is not supported. Does anyone know if WikiCommons has any plans to support the KML /KMZ (zipped) file format? Thanks for any information you may have. LoreMariano (talk) 20:02, 25 April 2010 (UTC)[reply]

Previously discussed at Commons_talk:File_types/Archive_1#KML_and_KMZ_file_formats_for_simple_GIS_data ... AnonMoos (talk) 21:26, 25 April 2010 (UTC)[reply]
Thanks. It doesn't look too hopeful, as that discussion was 4-5 years old! LoreMariano (talk) 01:54, 26 April 2010 (UTC)[reply]
I too upload to commons my pictures that are geotagged in EXIF. Hundreds, thus far this year and hundreds last year. When looking on one that has been here a few days, I click on the Google Earth link (the Google Maps link works too but is less powerful) and get a map showing all the geotagged pictures in the neighborhood. For example, File:Quaker Meeting Boerum Scherm jeh.JPG. Can you point to a particular picture of yours? Jim.henderson (talk) 23:36, 27 April 2010 (UTC)[reply]
Oh! You of course mean File:AestheticRealismFoundation.jpg. Yes, I see it on the Google Earth map. Zooming out shows other pictures, including ones I took in that part of Manhattan. Jim.henderson (talk) 23:42, 27 April 2010 (UTC)[reply]