File:ClearTypePixels.svg
Summary
| Description | Close-up comparison of rendered type on a screen with and without ClearType technology applied. |
| Date | (original upload date) |
| Source |
Original uploaded on en.wikipedia dnet wrote the following PHP script to generate the RGB grid: # !/usr/bin/php
<?
$rows=13;$cols=38;$rowheight=18;$colwidth=6;$border=0.25;$order=array('ff0000', '00ff00', '0000ff');
print('<'.'?xml version="1.0"?'.'>'); ?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><?
printf('<svg xmlns="http://www.w3.org/2000/svg" width="%d" height="%d">', $cols*$colwidth, $rows*$rowheight);
for ($x=0;$x<$cols;$x++) for ($y=0;$y<$rows;$y++) foreach($order as $offset=>$color)printf('<rect x="%d" y="%d" width="%d" height="%d" style="fill: #%s; stroke: #000; stroke-width: %gpx;"></rect>',$colwidth*($x*count($order)+$offset), $y*$rowheight, $colwidth, $rowheight, $color, $border);
?></svg>
|
| Author |
Original raster version created by Anthony Atkielski (Agateller). SVG created by dnet with Inkscape and the above PHP source. Completely rewritten by Perey to reduce file size and complexity, then transferred to Commons. |
| SVG development | Category:Valid SVG created with Other tools#ClearTypePixels.svg |
Licensing
| Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License. |
| This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. | ||
| ||
| This licensing tag was added to this file as part of the GFDL licensing update. |
Original upload log
The original description page was here. All following user names refer to en.wikipedia.
Upload date | User | Bytes | Dimensions | Comment
- 2010-08-03 18:30:59 | Perey | 15227 | 1132×792 | Hand-coded new version from scratch, rather than using Inkscape. Result: went from 561KB down to just 15KB!
- 2007-09-16 20:23:18 | DnetSvg | 574632 | 679×474 | Close-up comparison of rendered type on a screen with and without ClearType technology applied. [Original raster version http://en.wikipedia.org/wiki/Image:ClearTypePixels.jpg] created by Anthony Atkielski (Agateller) SVG created by [[User:DnetSvg|dnet]]