Commons:Graphics village pump/October 2013
Thumbnail
editHi, I created this image with Inkscape: https://upload.wikimedia.org/wikipedia/commons/b/be/Coxeter_groups.svg As you can see, the PNGs thumbnails are incorrect: https://commons.wikimedia.org/wiki/File:Coxeter_groups.svg
What can I do? Thanks a lot. Rafael -- 13:28, 9 October 2013 User:Rgugliel
chromatic aberration
editI try to make extraction of those files, but I believe that many of them suffer from chromatic aberration (for example), and it would be probably better to handle that upstream.
Do you have a solution? is it possible to add a new category in the cleanup page? -- 17:26, 27 October 2013 User:Zonderr
- What I see in that image is consistent with a scan of a color illustration published in a 1905 book. Probably the different color plates were slightly out of alignment in the printing process. Not sure that too much can be done to correct this without very extensive Photoshopping... AnonMoos (talk) 15:15, 28 October 2013 (UTC)
Updated JPG file not showing up in image, thumbnail
editHi. I have corrected the colour in the "Kovilkadavu.jpg" file and uploaded it again (updated it). The thumbnail and the actual image seem to show the same file. Does it take time for update to take effect? Is there anything else I am missing? VasuVR (talk, contribs) 14:45, 7 October 2013 (UTC)
- Hmmmm... This thumbnail in this village pump page seems to be OK - correct greens, instead of the pinkish touch with original file. Is this a known situation with caching that I am not aware of? Thanks. VasuVR (talk, contribs) 14:50, 7 October 2013 (UTC)
- Everything looks OK to me now; probably was a transient caching problem... AnonMoos (talk) 16:59, 12 October 2013 (UTC)
- Yes, looks good now. Thank you AnonMoos. VasuVR (talk, contribs) 01:36, 16 October 2013 (UTC)
Image with broken Exif-Data
editHi, the Metadata of this image File:CERN Aerial View.jpg is broken (seems to broke when I converted it from tiff to jpeg), there is an older version of the file with much worse resolution but working metadata – could anyone fix the metadata for the high-resolution version? -- Michael F. Schönitzer 10:26, 16 October 2013 (UTC)
Broken text in SVG after upload
editHi!
I just uploaded an SVG image and noticed the text is not rendered as it should (it seems to be flipped horizontally), but my local copy (and this link) works correctly using Google Chrome. What is the problem with it? Helder 20:19, 22 October 2013 (UTC)
- The transform matrices which apply to the math text are incorrectly interpreted by Wikimedia's SVG renderer. I suggest you remove those text and redo it without scaling it. Scaling will generate lot of unnecessary transform matrices in the source code. -- Sameboat - 同舟 (talk) 03:07, 23 October 2013 (UTC)
- Sameboat, thanks for the explanation, but I should mention I didn't scale the image. I just opened the export dialog, choose SVG and saved (without changing the scale or resolution). Helder 09:52, 23 October 2013 (UTC)
- I mistook the cause. It appears that the path data of the math text to be "corrupted" (at least to Wikimedia's SVG renderer). I opened it in Inkscape and slightly moved the path nodes so Inkscape automatically reconstructed the whole path data, making the path-text readable now. -- Sameboat - 同舟 (talk) 13:26, 23 October 2013 (UTC)
- Thank you very much! Helder 10:04, 24 October 2013 (UTC)
- I mistook the cause. It appears that the path data of the math text to be "corrupted" (at least to Wikimedia's SVG renderer). I opened it in Inkscape and slightly moved the path nodes so Inkscape automatically reconstructed the whole path data, making the path-text readable now. -- Sameboat - 同舟 (talk) 13:26, 23 October 2013 (UTC)
Adding colored striping to an SVG file in Inkscape
editSo I'm trying to create an SVG version of File:Writing systems worldwide.png, and I'm almost done. I have one or two minor tweaks which I'll resume work on now, and then I'm trying to stripe Eritrea and Cyprus. (I could create new colors, but that seems unnecessary and confusing, and in fact I'm thinking I might want to stripe some situations like North Korea where we'd previously used only one color.)
However I can't figure out how to add colored stripes of a thickness I want. I try to add them and they're 1. too thick (I can make one set of stripes thinner, but that makes the other set thicker) and 2. only available in black or white. None of the instructions I find in Google work (I either get errors or nothing happens), nor does copying the XML code from the stripes on Somaliland on File:Anglospeak.svg (I'd figured I could copy the style, then change the code for the color, but it doesn't seem to work).
Can anybody explain to me how to adjust the colors and thin out the stripes in a pattern? It looks like I may need to install some extension, but I'm not sure where to get it.
Thanks, Quintucket (talk) 23:39, 22 October 2013 (UTC)
- For XML editor, add the stripe pattern nested in <defs> then link its ID to the object which applies the pattern:
<defs>
<pattern
height="5"
width="5"
y="0"
x="0"
patternUnits="userSpaceOnUse"
id="diagonal_stripe_pattern">
<rect x="0" y="0" width="5" height="5" fill="#cccccc"/>
<path
stroke="#ffffff" stroke-width="1"
d="M 0,0 l 5,5 M -5,0 l 10,10 M 0,-5 l 10,10" />
</pattern>
</defs>
<rect x="100" y="100" width="100" height="100" style="fill:url(#diagonal_stripe_pattern)"/>
- -- Sameboat - 同舟 (talk) 02:53, 23 October 2013 (UTC)
- I tried that on Eritrea. As Inkscape's XML editor doesn't actually let one edit the raw code, I copy/pasted the pattern between the <defs> tags in a text editor, and copied the style exactly as you wrote it. When I re-open it in Inkscape, I'm still seeing no change. Is it possible that this doesn't work with irregular shapes, or is there something else I'm missing? Thanks, Quintucket (talk) 03:15, 23 October 2013 (UTC)
- I want to check on your SVG file to be sure. You may upload it under a temporary file name so it doesn't mess up with the formal file name. -- Sameboat - 同舟 (talk) 03:29, 23 October 2013 (UTC)
- Uploaded to File:Writing_systems_worldwide_temp.svg. As it stands, Eritrea has two layers, one of #00ff00 and one of #804000. Cyprus just has one layer of blue as a compromise color, since I was trying to figure out Eritrea first. Quintucket (talk) 04:15, 23 October 2013 (UTC)
- Two issues: 1) the whole <defs> should not be nested by <style> element, so move the </style> before <defs>. 2) The actual path shape which applies the pattern should be the succeeding path6307 instead of path6305. -- Sameboat - 同舟 (talk) 04:45, 23 October 2013 (UTC)
- Thanks, I finally have it. One more question: how can I make the diagonal striping go the other way? I've tried rearranging the numbers in "d" seven ways from Sunday, and can't figure it out. Quintucket (talk) 21:51, 23 October 2013 (UTC)
- If you want something similar to the png version, the pattern path data can be simply changed to
d="M 2.5,-1 V 6"
(path drawn from x2.5,y-1 vertically to y6), making it a vertical stripe pattern. You can remove the <rect> in the pattern for a transparent background for superimposition. - If you want to alternate the scale of the pattern, modify the pattern element like this:
<pattern id="diagonal_stripe_pattern" patternUnits="userSpaceOnUse" x="0" y="0" width="5" height="5" viewBox="0 0 5 5">
. If you want to scale the pattern size up, simply multiply the "width" and "height" values. "viewBox" attribute is here to define the native dimension of the object. -- Sameboat - 同舟 (talk) 23:10, 23 October 2013 (UTC)- Thanks. That's useful information for the future. I like the diagonal pattern, but I'm wondering if there's a way to switch '\\\' to '///'? Thanks again, Quintucket (talk) 00:27, 24 October 2013 (UTC)
M 5,0 l -5,5 M 10,0 l -10,10 M 5,-5 l -10,10
should do. -- Sameboat - 同舟 (talk) 00:58, 24 October 2013 (UTC)- Awesome. Thanks for all your help. Quintucket (talk) 01:22, 24 October 2013 (UTC)
- Thanks. That's useful information for the future. I like the diagonal pattern, but I'm wondering if there's a way to switch '\\\' to '///'? Thanks again, Quintucket (talk) 00:27, 24 October 2013 (UTC)
- If you want something similar to the png version, the pattern path data can be simply changed to
- Thanks, I finally have it. One more question: how can I make the diagonal striping go the other way? I've tried rearranging the numbers in "d" seven ways from Sunday, and can't figure it out. Quintucket (talk) 21:51, 23 October 2013 (UTC)
- Two issues: 1) the whole <defs> should not be nested by <style> element, so move the </style> before <defs>. 2) The actual path shape which applies the pattern should be the succeeding path6307 instead of path6305. -- Sameboat - 同舟 (talk) 04:45, 23 October 2013 (UTC)
- Uploaded to File:Writing_systems_worldwide_temp.svg. As it stands, Eritrea has two layers, one of #00ff00 and one of #804000. Cyprus just has one layer of blue as a compromise color, since I was trying to figure out Eritrea first. Quintucket (talk) 04:15, 23 October 2013 (UTC)
- I want to check on your SVG file to be sure. You may upload it under a temporary file name so it doesn't mess up with the formal file name. -- Sameboat - 同舟 (talk) 03:29, 23 October 2013 (UTC)
- I tried that on Eritrea. As Inkscape's XML editor doesn't actually let one edit the raw code, I copy/pasted the pattern between the <defs> tags in a text editor, and copied the style exactly as you wrote it. When I re-open it in Inkscape, I'm still seeing no change. Is it possible that this doesn't work with irregular shapes, or is there something else I'm missing? Thanks, Quintucket (talk) 03:15, 23 October 2013 (UTC)