Commons:Graphics village pump/January 2013

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

SVG rendering testcase[edit]

Hi, I have created an SVG which demonstrates four big librsvg bugs very prominently. The file should render correctly in Inkscape.—Kelvinsong (talk) 19:20, 13 January 2013 (UTC)[reply]

Correct PNG rendering from Inkscape
File a bug report at Bugzilla... -- AnonMoos (talk) 12:02, 14 January 2013 (UTC)[reply]

File:Elk Lake and South Sister, Oregon.jpg[edit]

Does anyone know how to fix the problem with this image? The gray bar at the bottom of the photo won't go away when I re-upload, even though it worked when this happened before with a different image. Jsayre64 (talk) 05:27, 14 January 2013 (UTC)[reply]

The "grey bar" is because the first attempt didn't finish uploading, so the part of the image rectangle where there was no data was filled in with a default. Notice that the grey area has a little "step" in it, which marks the first problematic pixel block. (It would be better for the upload to completely fail in such cases.) The partially-greyed version persists because for several weeks now there's been a recurring problem of image thumbnails not updating after a new image was uploaded. It will probably fix itself in a few days, and in the meantime you can work around it by requesting an odd thumbnail size which was not previously requested (799px instead of 800px, etc.). AnonMoos (talk) 12:11, 14 January 2013 (UTC)[reply]
So you mean I should do nothing else to the file and just wait and see if the problem is fixed automatically? Jsayre64 (talk) 22:08, 14 January 2013 (UTC)[reply]
Yes, but it will probably take a few days... AnonMoos (talk) 04:06, 15 January 2013 (UTC)[reply]
You were right; it's gone now. Jsayre64 (talk) 04:54, 17 January 2013 (UTC)[reply]

Converting .png to .svg....[edit]

Hi all, can someone please convert File:Leo Minor IAUflamsteed.png to .svg format as I need it to update (i.e replace) the current version at File:Leo Minor IAU.svg with extra stars.....(i.e. I want the current file name at File:Leo Minor IAU.svg to have the diagram now at File:Leo Minor IAUflamsteed.png. Cheers, Casliber (talk) 12:25, 15 January 2013 (UTC)[reply]

The only difference I can see between the two is the addition of four two-digit numbers... AnonMoos (talk) 12:51, 15 January 2013 (UTC)[reply]
Yes, they are star designations. Given it is a map, we are indicating the names of some more stars and hence making the map more informative. Casliber (talk) 13:06, 15 January 2013 (UTC)[reply]

Actually, nevermind -I was befuddled as GIMP wouldnt' allow me to convert to .svg, but apparently inkscape does. I also need to add some more details to the Canis Minor maps. Casliber (talk) 12:05, 16 January 2013 (UTC)[reply]

Duplication except for metadata detected[edit]

How are, for example, File:Betty Naomi Goldstein Friedan.jpg and File:Betty Naomi Goldstein Friedan (1921-2006) (3359714530).jpg, detected by MediaWiki as duplicates even though have slightly different metadata (times, etc.)? Does the MediaWiki software compare only the actual pixel data? I looked through the MediaWiki documentation a bit but didn't find an explanation yet. --Closeapple (talk) 17:11, 15 January 2013 (UTC)[reply]

Stitching scanned images[edit]

The map File:Generalstabskartan södra 2 Ystad 1877.jpg was scanned in 400 dpi in 4 overlapping parts (each 6408×4421 pixels) on a size A3 Scanner, then stitched together (resulting in 10865×7959 pixels) with the Hugin free software, using this tutorial. Hugin is made for stitching photo panoramas and the tutorial describes all the different settings needed to stitch flat scans. Still, when I look at the result I get a vague feeling that this isn't perfectly flat and linear, but somehow shaped like a reversed pincushion with narrow middle and pointy corners. Is there a better way to stitch flat scans together? Is there a way to determine if the result is good? Should I just upload the individual scans? --LA2 (talk) 04:34, 17 January 2013 (UTC)[reply]

It looks smooth to me as far as the 800×586 preview. Could ask some of the people in Category:Commons users able to stitch images... -- AnonMoos (talk) 05:41, 17 January 2013 (UTC)[reply]
Hey LA2! The tutorial is very basic, it fails to mention horizontal and vertical contolpoints. Those, along with the barrel distortion optimization, should make your image nice and straight. With this special type of control points you don't select the same point in both frames, but you select two different points on the same horizontal or vertical line in both frames. That could be the edge of the frame around the map. --Dschwen (talk) 21:19, 17 January 2013 (UTC)[reply]
The tutorial is several years old and the current software looks a bit different. After opening four scanned images (1. Load images), I clicked "2. Align" (a button not shown in the tutorial), and everything went automatic. I never set any control points. I did follow the tutorial in setting the lens and orientation parameters under Optimization, but I'm not sure if this had any effect. I'm just following the instructions and I don't fully understand what the result or alternative is. Stitching flat images should be much simpler than stitching real photos. Isn't there any way to script or automate the whole thing? --LA2 (talk) 00:48, 19 January 2013 (UTC)[reply]
Yeah, I don't know if the align function can automatically set horizontal and vertical guides. It is not a lot of work though and you'd just have to set a handful (in the control points tab select the same image in both panes to set those points). --Dschwen (talk) 22:14, 22 January 2013 (UTC)[reply]
The manual procedure has too many steps. I can't understand them all, I can't determine if my result is good or bad, and I can't guarantee that I won't make mistakes. Instead, I intend to upload the scanned images, each representing 1/4 of a map. Then someone else can stitch them together if it feels necessary. Perhaps people just want to make small cut-outs anyway. --LA2 (talk) 00:33, 6 February 2013 (UTC)[reply]
Some points from my experiences with scanning and stitching large maps:
  • most important: only scan the tiles in one direction and orientation (do not mix vertical and horizontal oriented scans). Because the rails of normal consumer flat bed scanner are not 100% perfectly adjusted, which is no problem, if all tiles are in the same direction.
  • put a heavy book with similar size of the scanner area on top
  • for stitching I use Microsoft ICE (for free downloadable), which does everything smoothly, fast and automagically. Use "Planar motion 1" as stitching mode, so only rotation, translation and scaling is done without any skewing or perspective distortion
  • Usually, if everything was scanned carefully, the result of Microsof ICE is very good. Sometimes the resulting image has a visible shear (because of the mentioned scanner problem) - the shear can be fixed with Photoshop. I prefer the georeferencing tool from QGIS (example) to fix all kinds of distortions.
Hope it will help. --Alexrk2 (talk) 18:20, 16 February 2013 (UTC)[reply]

My computer hung up on the upload[edit]

Could someone please help me clean-up the history on this image File:ABMC-LOGO.gif? Thanks. Evrik (talk) 17:29, 17 January 2013 (UTC)[reply]

I'm not 100% sure what you're asking, but it seems to be a request for admin action, rather than help with an image file... AnonMoos (talk) 20:02, 17 January 2013 (UTC)[reply]

SVG rendering[edit]

Hi all. I just uploaded File:Composite elastic modulus.svg, which does not seem to be rendering. Any ideas what the problem is? Thanks in advance! Arbitrarily0 (talk) 16:15, 2 January 2013 (UTC)[reply]

The SVG coding style is not that great in several respects, but the critical flaw was lack of a closing "</svg>" at the end... AnonMoos (talk) 21:12, 2 January 2013 (UTC)[reply]
Strange! Did I make an error the gnuplot code? Arbitrarily0 (talk) 21:14, 2 January 2013 (UTC)[reply]
Really can't help you with that... AnonMoos (talk) 01:01, 3 January 2013 (UTC)[reply]
Shucks - thanks for fixing it though! Regards, Arbitrarily0 (talk) 03:08, 3 January 2013 (UTC)[reply]

I uploaded this file as an SVG version of [1] but please fix the problem of the red and yellow dots not rendering. Jfd34 (talk) 15:01, 4 January 2013 (UTC)[reply]

I can't help you with this one, since it involves semi-convoluted nested patterns, which is really not my specialty. It doesn't fully display in Adobe SVG plugin either (though it does in Firefox). It might be simpler to use non-pattern "use"s... AnonMoos (talk) 12:07, 11 January 2013 (UTC)[reply]

Automatically update pages using images subsequently vectorised[edit]

Original
Vectorised
Original
Vectorised

Hello! I'm unsure if this is the right place to post this, so please point me to the right place if not.

I found File:Savonius_turbine.gif listed on http://toolserver.org/~magnus/glamorous.php?doit=1&category=Images+that+should+use+vector+graphics&use_globalusage=1&ns0=1&show_details=1 and it is also badly pixelated, so redrew it as File:Savonius_turbine.svg.

Is there a way to automatically update all pages using the old image to use the new one? Thanks, cmglee (talk) 15:13, 27 January 2013 (UTC)[reply]

P.S. Ditto for File:Email.png and File:Email_Silk.svg.
Sorry I didn't see your comment before. There are bots which can handle such tasks, but I don't know much about them. You could ask on Commons:Help desk etc. -- AnonMoos (talk) 10:18, 3 February 2013 (UTC)[reply]