File:Geolocated images in Wikimedia Commons 2012-01-21 remake.png

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

Geolocated_images_in_Wikimedia_Commons_2012-01-21_remake.png(720 × 360 pixels, file size: 17 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: Geolocated images in Wikimedia Commons (2.9M). Image regenerated from File:Geolocated images in Wikimedia Commons 2012-01-21.png, using "log2(<number>)*16" for brightness calculation instead of "380*log10(1+log10(<number>+10)+0.2)" (so single images do not affect the brightness too much). United Kingdom is overpopulated in original image and can not be accurately recalculated.
Español: Imágenes geolocalizadas en Wikimedia Commons.
Français : Images géolocalisées sur Wikimedia Commons.
Date
Source File:Geolocated images in Wikimedia Commons 2012-01-21.png, reprocessed with script below.
Author Original data and image by Emijrp, Script by Zhuyifei1999
Other versions
Script
from PIL import Image, ImageDraw
import math

im = Image.new("L", (720, 360))
draw = ImageDraw.Draw(im)

im_org = Image.open("File:Geolocated_images_in_Wikimedia_Commons_2012-01-21.png")
l_im = im_org.convert("L")

for x in range(720):
    for y in range(360):
        c = l_im.getpixel((x, y))
        if not c: continue
        c = 10**(10**(c/380.0)-1.2)-10
        if c <= 0: # so far this never occurred
            print "%f -> 1.0" % c
            c = 1.0
        c = round(math.log(c, 2)*16)
        draw.point((x,y), fill=c)

im.save("File:Geolocated_images_in_Wikimedia_Commons_2012-01-21_remake.png", "PNG")

Licensing

[edit]
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 2.5 Generic license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current13:46, 6 June 2015Thumbnail for version as of 13:46, 6 June 2015720 × 360 (17 KB)Zhuyifei1999 (talk | contribs)User created page with UploadWizard

File usage on other wikis

The following other wikis use this file: