Jason McKesson avatar Jason McKesson committed c029dd8

Intro: Added new pixel image.

Comments (0)

Files changed (4)

Documents/Basics/GenPixelImage.lua

+require "SvgWriter"
+require "vmath"
+require "Viewport"
+require "SubImage"
+require "GridAxis"
+require "_utils"
+
+local pixelSize = nil;
+
+local hFile = io.open("PixelImage.txt", "r");
+local numColors = nil;
+local colorTable = {};
+local pixelData = {};
+for line in hFile:lines() do
+	if(not numColors) then
+		--Header.
+		local width, height, colorCount = line:match("(%d+) (%d+) (%d+)");
+		assert(width);
+		pixelSize = vmath.vec2(width, height);
+		numColors = colorCount;
+	else
+		if(numColors ~= 0) then
+			--Color
+			local clrChar, clrValue = line:match("(%S) c (%#%x%x%x%x%x%x)");
+			assert(clrChar, line);
+			colorTable[clrChar] = clrValue
+			numColors = numColors - 1;
+		else
+			--Pixel data.
+			if(#line ~= 0) then
+				pixelData[#pixelData + 1] = line;
+			end
+		end
+	end
+end
+hFile:close();
+
+local magnification = 16;
+local spacing = 40;
+
+local imageWidth = pixelSize.x + spacing + (pixelSize.x * magnification);
+local imageHeight = pixelSize.y * magnification;
+
+local styleLib = SvgWriter.StyleLibrary();
+
+local styleMap = {};
+local styleIndex = 0;
+for clrChar, clrValue in pairs(colorTable) do
+	local styleName = "color_" .. styleIndex;
+	styleMap[clrChar] = styleName;
+	styleLib:AddStyle(nil, styleName,
+		SvgWriter.Style():stroke("none"):fill(clrValue));
+	styleIndex = styleIndex + 1;
+end
+
+
+	
+local writer = SvgWriter.SvgWriter(ConstructSVGName(arg[0]), {imageWidth .."px", imageHeight .. "px"});
+	writer:StyleLibrary(styleLib);
+	writer:BeginDefinitions();
+	writer:EndDefinitions();
+	
+	for i, row in ipairs(pixelData) do
+		local pixelX = 0;
+		for clrChar in row:gmatch("%S") do
+			writer:Rect({pixelX, i-1}, {1, 1}, nil, {styleMap[clrChar]});
+			pixelX = pixelX + 1;
+		end
+	end
+
+	local offset = vmath.vec2(pixelSize.x + spacing, 0);
+	for i, row in ipairs(pixelData) do
+		local pixelX = 0;
+		for clrChar in row:gmatch("%S") do
+			assert(styleMap[clrChar]);
+			local location = vmath.vec2(pixelX, i-1);
+			location = location * magnification;
+			location = location + offset;
+			writer:Rect(location, {magnification, magnification},
+				nil, {styleMap[clrChar]});
+			pixelX = pixelX + 1;
+		end
+	end
+
+writer:Close();
+
+
+
Added
New image
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" height="256px" width="312px" >
+	<style type="text/css" ><![CDATA[.color_0
+{
+	fill: #000000;
+	stroke: none;
+}
+
+.color_1
+{
+	fill: #808080;
+	stroke: none;
+}
+
+.color_2
+{
+	fill: #AFAFAF;
+	stroke: none;
+}
+
+.color_3
+{
+	fill: #9a9a9a;
+	stroke: none;
+}
+
+.color_4
+{
+	fill: #D3D3D3;
+	stroke: none;
+}]]></style>
+	<defs />
+	<rect y="0" x="0" height="1" width="1" class="color_4" />
+	<rect y="0" x="1" height="1" width="1" class="color_4" />
+	<rect y="0" x="2" height="1" width="1" class="color_4" />
+	<rect y="0" x="3" height="1" width="1" class="color_4" />
+	<rect y="0" x="4" height="1" width="1" class="color_4" />
+	<rect y="0" x="5" height="1" width="1" class="color_4" />
+	<rect y="0" x="6" height="1" width="1" class="color_4" />
+	<rect y="0" x="7" height="1" width="1" class="color_4" />
+	<rect y="0" x="8" height="1" width="1" class="color_4" />
+	<rect y="0" x="9" height="1" width="1" class="color_4" />
+	<rect y="0" x="10" height="1" width="1" class="color_4" />
+	<rect y="0" x="11" height="1" width="1" class="color_4" />
+	<rect y="0" x="12" height="1" width="1" class="color_4" />
+	<rect y="0" x="13" height="1" width="1" class="color_4" />
+	<rect y="0" x="14" height="1" width="1" class="color_4" />
+	<rect y="0" x="15" height="1" width="1" class="color_4" />
+	<rect y="1" x="0" height="1" width="1" class="color_4" />
+	<rect y="1" x="1" height="1" width="1" class="color_4" />
+	<rect y="1" x="2" height="1" width="1" class="color_4" />
+	<rect y="1" x="3" height="1" width="1" class="color_4" />
+	<rect y="1" x="4" height="1" width="1" class="color_4" />
+	<rect y="1" x="5" height="1" width="1" class="color_4" />
+	<rect y="1" x="6" height="1" width="1" class="color_4" />
+	<rect y="1" x="7" height="1" width="1" class="color_4" />
+	<rect y="1" x="8" height="1" width="1" class="color_4" />
+	<rect y="1" x="9" height="1" width="1" class="color_4" />
+	<rect y="1" x="10" height="1" width="1" class="color_4" />
+	<rect y="1" x="11" height="1" width="1" class="color_4" />
+	<rect y="1" x="12" height="1" width="1" class="color_4" />
+	<rect y="1" x="13" height="1" width="1" class="color_4" />
+	<rect y="1" x="14" height="1" width="1" class="color_4" />
+	<rect y="1" x="15" height="1" width="1" class="color_4" />
+	<rect y="2" x="0" height="1" width="1" class="color_4" />
+	<rect y="2" x="1" height="1" width="1" class="color_4" />
+	<rect y="2" x="2" height="1" width="1" class="color_4" />
+	<rect y="2" x="3" height="1" width="1" class="color_4" />
+	<rect y="2" x="4" height="1" width="1" class="color_4" />
+	<rect y="2" x="5" height="1" width="1" class="color_1" />
+	<rect y="2" x="6" height="1" width="1" class="color_2" />
+	<rect y="2" x="7" height="1" width="1" class="color_4" />
+	<rect y="2" x="8" height="1" width="1" class="color_4" />
+	<rect y="2" x="9" height="1" width="1" class="color_4" />
+	<rect y="2" x="10" height="1" width="1" class="color_4" />
+	<rect y="2" x="11" height="1" width="1" class="color_4" />
+	<rect y="2" x="12" height="1" width="1" class="color_4" />
+	<rect y="2" x="13" height="1" width="1" class="color_4" />
+	<rect y="2" x="14" height="1" width="1" class="color_4" />
+	<rect y="2" x="15" height="1" width="1" class="color_4" />
+	<rect y="3" x="0" height="1" width="1" class="color_4" />
+	<rect y="3" x="1" height="1" width="1" class="color_4" />
+	<rect y="3" x="2" height="1" width="1" class="color_4" />
+	<rect y="3" x="3" height="1" width="1" class="color_4" />
+	<rect y="3" x="4" height="1" width="1" class="color_1" />
+	<rect y="3" x="5" height="1" width="1" class="color_2" />
+	<rect y="3" x="6" height="1" width="1" class="color_4" />
+	<rect y="3" x="7" height="1" width="1" class="color_4" />
+	<rect y="3" x="8" height="1" width="1" class="color_4" />
+	<rect y="3" x="9" height="1" width="1" class="color_4" />
+	<rect y="3" x="10" height="1" width="1" class="color_4" />
+	<rect y="3" x="11" height="1" width="1" class="color_4" />
+	<rect y="3" x="12" height="1" width="1" class="color_4" />
+	<rect y="3" x="13" height="1" width="1" class="color_4" />
+	<rect y="3" x="14" height="1" width="1" class="color_4" />
+	<rect y="3" x="15" height="1" width="1" class="color_4" />
+	<rect y="4" x="0" height="1" width="1" class="color_4" />
+	<rect y="4" x="1" height="1" width="1" class="color_4" />
+	<rect y="4" x="2" height="1" width="1" class="color_4" />
+	<rect y="4" x="3" height="1" width="1" class="color_1" />
+	<rect y="4" x="4" height="1" width="1" class="color_2" />
+	<rect y="4" x="5" height="1" width="1" class="color_4" />
+	<rect y="4" x="6" height="1" width="1" class="color_4" />
+	<rect y="4" x="7" height="1" width="1" class="color_4" />
+	<rect y="4" x="8" height="1" width="1" class="color_4" />
+	<rect y="4" x="9" height="1" width="1" class="color_4" />
+	<rect y="4" x="10" height="1" width="1" class="color_4" />
+	<rect y="4" x="11" height="1" width="1" class="color_4" />
+	<rect y="4" x="12" height="1" width="1" class="color_4" />
+	<rect y="4" x="13" height="1" width="1" class="color_4" />
+	<rect y="4" x="14" height="1" width="1" class="color_4" />
+	<rect y="4" x="15" height="1" width="1" class="color_4" />
+	<rect y="5" x="0" height="1" width="1" class="color_4" />
+	<rect y="5" x="1" height="1" width="1" class="color_4" />
+	<rect y="5" x="2" height="1" width="1" class="color_1" />
+	<rect y="5" x="3" height="1" width="1" class="color_2" />
+	<rect y="5" x="4" height="1" width="1" class="color_4" />
+	<rect y="5" x="5" height="1" width="1" class="color_4" />
+	<rect y="5" x="6" height="1" width="1" class="color_4" />
+	<rect y="5" x="7" height="1" width="1" class="color_4" />
+	<rect y="5" x="8" height="1" width="1" class="color_4" />
+	<rect y="5" x="9" height="1" width="1" class="color_4" />
+	<rect y="5" x="10" height="1" width="1" class="color_4" />
+	<rect y="5" x="11" height="1" width="1" class="color_4" />
+	<rect y="5" x="12" height="1" width="1" class="color_4" />
+	<rect y="5" x="13" height="1" width="1" class="color_4" />
+	<rect y="5" x="14" height="1" width="1" class="color_4" />
+	<rect y="5" x="15" height="1" width="1" class="color_4" />
+	<rect y="6" x="0" height="1" width="1" class="color_4" />
+	<rect y="6" x="1" height="1" width="1" class="color_1" />
+	<rect y="6" x="2" height="1" width="1" class="color_0" />
+	<rect y="6" x="3" height="1" width="1" class="color_0" />
+	<rect y="6" x="4" height="1" width="1" class="color_0" />
+	<rect y="6" x="5" height="1" width="1" class="color_0" />
+	<rect y="6" x="6" height="1" width="1" class="color_0" />
+	<rect y="6" x="7" height="1" width="1" class="color_0" />
+	<rect y="6" x="8" height="1" width="1" class="color_1" />
+	<rect y="6" x="9" height="1" width="1" class="color_3" />
+	<rect y="6" x="10" height="1" width="1" class="color_3" />
+	<rect y="6" x="11" height="1" width="1" class="color_2" />
+	<rect y="6" x="12" height="1" width="1" class="color_4" />
+	<rect y="6" x="13" height="1" width="1" class="color_4" />
+	<rect y="6" x="14" height="1" width="1" class="color_4" />
+	<rect y="6" x="15" height="1" width="1" class="color_4" />
+	<rect y="7" x="0" height="1" width="1" class="color_2" />
+	<rect y="7" x="1" height="1" width="1" class="color_0" />
+	<rect y="7" x="2" height="1" width="1" class="color_0" />
+	<rect y="7" x="3" height="1" width="1" class="color_0" />
+	<rect y="7" x="4" height="1" width="1" class="color_0" />
+	<rect y="7" x="5" height="1" width="1" class="color_0" />
+	<rect y="7" x="6" height="1" width="1" class="color_0" />
+	<rect y="7" x="7" height="1" width="1" class="color_0" />
+	<rect y="7" x="8" height="1" width="1" class="color_0" />
+	<rect y="7" x="9" height="1" width="1" class="color_0" />
+	<rect y="7" x="10" height="1" width="1" class="color_0" />
+	<rect y="7" x="11" height="1" width="1" class="color_0" />
+	<rect y="7" x="12" height="1" width="1" class="color_1" />
+	<rect y="7" x="13" height="1" width="1" class="color_3" />
+	<rect y="7" x="14" height="1" width="1" class="color_2" />
+	<rect y="7" x="15" height="1" width="1" class="color_4" />
+	<rect y="8" x="0" height="1" width="1" class="color_2" />
+	<rect y="8" x="1" height="1" width="1" class="color_0" />
+	<rect y="8" x="2" height="1" width="1" class="color_0" />
+	<rect y="8" x="3" height="1" width="1" class="color_0" />
+	<rect y="8" x="4" height="1" width="1" class="color_0" />
+	<rect y="8" x="5" height="1" width="1" class="color_0" />
+	<rect y="8" x="6" height="1" width="1" class="color_0" />
+	<rect y="8" x="7" height="1" width="1" class="color_0" />
+	<rect y="8" x="8" height="1" width="1" class="color_0" />
+	<rect y="8" x="9" height="1" width="1" class="color_0" />
+	<rect y="8" x="10" height="1" width="1" class="color_0" />
+	<rect y="8" x="11" height="1" width="1" class="color_0" />
+	<rect y="8" x="12" height="1" width="1" class="color_1" />
+	<rect y="8" x="13" height="1" width="1" class="color_3" />
+	<rect y="8" x="14" height="1" width="1" class="color_2" />
+	<rect y="8" x="15" height="1" width="1" class="color_4" />
+	<rect y="9" x="0" height="1" width="1" class="color_4" />
+	<rect y="9" x="1" height="1" width="1" class="color_1" />
+	<rect y="9" x="2" height="1" width="1" class="color_0" />
+	<rect y="9" x="3" height="1" width="1" class="color_0" />
+	<rect y="9" x="4" height="1" width="1" class="color_0" />
+	<rect y="9" x="5" height="1" width="1" class="color_0" />
+	<rect y="9" x="6" height="1" width="1" class="color_0" />
+	<rect y="9" x="7" height="1" width="1" class="color_0" />
+	<rect y="9" x="8" height="1" width="1" class="color_1" />
+	<rect y="9" x="9" height="1" width="1" class="color_3" />
+	<rect y="9" x="10" height="1" width="1" class="color_3" />
+	<rect y="9" x="11" height="1" width="1" class="color_2" />
+	<rect y="9" x="12" height="1" width="1" class="color_4" />
+	<rect y="9" x="13" height="1" width="1" class="color_4" />
+	<rect y="9" x="14" height="1" width="1" class="color_4" />
+	<rect y="9" x="15" height="1" width="1" class="color_4" />
+	<rect y="10" x="0" height="1" width="1" class="color_4" />
+	<rect y="10" x="1" height="1" width="1" class="color_4" />
+	<rect y="10" x="2" height="1" width="1" class="color_1" />
+	<rect y="10" x="3" height="1" width="1" class="color_2" />
+	<rect y="10" x="4" height="1" width="1" class="color_4" />
+	<rect y="10" x="5" height="1" width="1" class="color_4" />
+	<rect y="10" x="6" height="1" width="1" class="color_4" />
+	<rect y="10" x="7" height="1" width="1" class="color_4" />
+	<rect y="10" x="8" height="1" width="1" class="color_4" />
+	<rect y="10" x="9" height="1" width="1" class="color_4" />
+	<rect y="10" x="10" height="1" width="1" class="color_4" />
+	<rect y="10" x="11" height="1" width="1" class="color_4" />
+	<rect y="10" x="12" height="1" width="1" class="color_4" />
+	<rect y="10" x="13" height="1" width="1" class="color_4" />
+	<rect y="10" x="14" height="1" width="1" class="color_4" />
+	<rect y="10" x="15" height="1" width="1" class="color_4" />
+	<rect y="11" x="0" height="1" width="1" class="color_4" />
+	<rect y="11" x="1" height="1" width="1" class="color_4" />
+	<rect y="11" x="2" height="1" width="1" class="color_4" />
+	<rect y="11" x="3" height="1" width="1" class="color_1" />
+	<rect y="11" x="4" height="1" width="1" class="color_2" />
+	<rect y="11" x="5" height="1" width="1" class="color_4" />
+	<rect y="11" x="6" height="1" width="1" class="color_4" />
+	<rect y="11" x="7" height="1" width="1" class="color_4" />
+	<rect y="11" x="8" height="1" width="1" class="color_4" />
+	<rect y="11" x="9" height="1" width="1" class="color_4" />
+	<rect y="11" x="10" height="1" width="1" class="color_4" />
+	<rect y="11" x="11" height="1" width="1" class="color_4" />
+	<rect y="11" x="12" height="1" width="1" class="color_4" />
+	<rect y="11" x="13" height="1" width="1" class="color_4" />
+	<rect y="11" x="14" height="1" width="1" class="color_4" />
+	<rect y="11" x="15" height="1" width="1" class="color_4" />
+	<rect y="12" x="0" height="1" width="1" class="color_4" />
+	<rect y="12" x="1" height="1" width="1" class="color_4" />
+	<rect y="12" x="2" height="1" width="1" class="color_4" />
+	<rect y="12" x="3" height="1" width="1" class="color_4" />
+	<rect y="12" x="4" height="1" width="1" class="color_1" />
+	<rect y="12" x="5" height="1" width="1" class="color_2" />
+	<rect y="12" x="6" height="1" width="1" class="color_4" />
+	<rect y="12" x="7" height="1" width="1" class="color_4" />
+	<rect y="12" x="8" height="1" width="1" class="color_4" />
+	<rect y="12" x="9" height="1" width="1" class="color_4" />
+	<rect y="12" x="10" height="1" width="1" class="color_4" />
+	<rect y="12" x="11" height="1" width="1" class="color_4" />
+	<rect y="12" x="12" height="1" width="1" class="color_4" />
+	<rect y="12" x="13" height="1" width="1" class="color_4" />
+	<rect y="12" x="14" height="1" width="1" class="color_4" />
+	<rect y="12" x="15" height="1" width="1" class="color_4" />
+	<rect y="13" x="0" height="1" width="1" class="color_4" />
+	<rect y="13" x="1" height="1" width="1" class="color_4" />
+	<rect y="13" x="2" height="1" width="1" class="color_4" />
+	<rect y="13" x="3" height="1" width="1" class="color_4" />
+	<rect y="13" x="4" height="1" width="1" class="color_4" />
+	<rect y="13" x="5" height="1" width="1" class="color_1" />
+	<rect y="13" x="6" height="1" width="1" class="color_2" />
+	<rect y="13" x="7" height="1" width="1" class="color_4" />
+	<rect y="13" x="8" height="1" width="1" class="color_4" />
+	<rect y="13" x="9" height="1" width="1" class="color_4" />
+	<rect y="13" x="10" height="1" width="1" class="color_4" />
+	<rect y="13" x="11" height="1" width="1" class="color_4" />
+	<rect y="13" x="12" height="1" width="1" class="color_4" />
+	<rect y="13" x="13" height="1" width="1" class="color_4" />
+	<rect y="13" x="14" height="1" width="1" class="color_4" />
+	<rect y="13" x="15" height="1" width="1" class="color_4" />
+	<rect y="14" x="0" height="1" width="1" class="color_4" />
+	<rect y="14" x="1" height="1" width="1" class="color_4" />
+	<rect y="14" x="2" height="1" width="1" class="color_4" />
+	<rect y="14" x="3" height="1" width="1" class="color_4" />
+	<rect y="14" x="4" height="1" width="1" class="color_4" />
+	<rect y="14" x="5" height="1" width="1" class="color_4" />
+	<rect y="14" x="6" height="1" width="1" class="color_4" />
+	<rect y="14" x="7" height="1" width="1" class="color_4" />
+	<rect y="14" x="8" height="1" width="1" class="color_4" />
+	<rect y="14" x="9" height="1" width="1" class="color_4" />
+	<rect y="14" x="10" height="1" width="1" class="color_4" />
+	<rect y="14" x="11" height="1" width="1" class="color_4" />
+	<rect y="14" x="12" height="1" width="1" class="color_4" />
+	<rect y="14" x="13" height="1" width="1" class="color_4" />
+	<rect y="14" x="14" height="1" width="1" class="color_4" />
+	<rect y="14" x="15" height="1" width="1" class="color_4" />
+	<rect y="15" x="0" height="1" width="1" class="color_4" />
+	<rect y="15" x="1" height="1" width="1" class="color_4" />
+	<rect y="15" x="2" height="1" width="1" class="color_4" />
+	<rect y="15" x="3" height="1" width="1" class="color_4" />
+	<rect y="15" x="4" height="1" width="1" class="color_4" />
+	<rect y="15" x="5" height="1" width="1" class="color_4" />
+	<rect y="15" x="6" height="1" width="1" class="color_4" />
+	<rect y="15" x="7" height="1" width="1" class="color_4" />
+	<rect y="15" x="8" height="1" width="1" class="color_4" />
+	<rect y="15" x="9" height="1" width="1" class="color_4" />
+	<rect y="15" x="10" height="1" width="1" class="color_4" />
+	<rect y="15" x="11" height="1" width="1" class="color_4" />
+	<rect y="15" x="12" height="1" width="1" class="color_4" />
+	<rect y="15" x="13" height="1" width="1" class="color_4" />
+	<rect y="15" x="14" height="1" width="1" class="color_4" />
+	<rect y="15" x="15" height="1" width="1" class="color_4" />
+	<rect y="0" x="56" height="16" width="16" class="color_4" />
+	<rect y="0" x="72" height="16" width="16" class="color_4" />
+	<rect y="0" x="88" height="16" width="16" class="color_4" />
+	<rect y="0" x="104" height="16" width="16" class="color_4" />
+	<rect y="0" x="120" height="16" width="16" class="color_4" />
+	<rect y="0" x="136" height="16" width="16" class="color_4" />
+	<rect y="0" x="152" height="16" width="16" class="color_4" />
+	<rect y="0" x="168" height="16" width="16" class="color_4" />
+	<rect y="0" x="184" height="16" width="16" class="color_4" />
+	<rect y="0" x="200" height="16" width="16" class="color_4" />
+	<rect y="0" x="216" height="16" width="16" class="color_4" />
+	<rect y="0" x="232" height="16" width="16" class="color_4" />
+	<rect y="0" x="248" height="16" width="16" class="color_4" />
+	<rect y="0" x="264" height="16" width="16" class="color_4" />
+	<rect y="0" x="280" height="16" width="16" class="color_4" />
+	<rect y="0" x="296" height="16" width="16" class="color_4" />
+	<rect y="16" x="56" height="16" width="16" class="color_4" />
+	<rect y="16" x="72" height="16" width="16" class="color_4" />
+	<rect y="16" x="88" height="16" width="16" class="color_4" />
+	<rect y="16" x="104" height="16" width="16" class="color_4" />
+	<rect y="16" x="120" height="16" width="16" class="color_4" />
+	<rect y="16" x="136" height="16" width="16" class="color_4" />
+	<rect y="16" x="152" height="16" width="16" class="color_4" />
+	<rect y="16" x="168" height="16" width="16" class="color_4" />
+	<rect y="16" x="184" height="16" width="16" class="color_4" />
+	<rect y="16" x="200" height="16" width="16" class="color_4" />
+	<rect y="16" x="216" height="16" width="16" class="color_4" />
+	<rect y="16" x="232" height="16" width="16" class="color_4" />
+	<rect y="16" x="248" height="16" width="16" class="color_4" />
+	<rect y="16" x="264" height="16" width="16" class="color_4" />
+	<rect y="16" x="280" height="16" width="16" class="color_4" />
+	<rect y="16" x="296" height="16" width="16" class="color_4" />
+	<rect y="32" x="56" height="16" width="16" class="color_4" />
+	<rect y="32" x="72" height="16" width="16" class="color_4" />
+	<rect y="32" x="88" height="16" width="16" class="color_4" />
+	<rect y="32" x="104" height="16" width="16" class="color_4" />
+	<rect y="32" x="120" height="16" width="16" class="color_4" />
+	<rect y="32" x="136" height="16" width="16" class="color_1" />
+	<rect y="32" x="152" height="16" width="16" class="color_2" />
+	<rect y="32" x="168" height="16" width="16" class="color_4" />
+	<rect y="32" x="184" height="16" width="16" class="color_4" />
+	<rect y="32" x="200" height="16" width="16" class="color_4" />
+	<rect y="32" x="216" height="16" width="16" class="color_4" />
+	<rect y="32" x="232" height="16" width="16" class="color_4" />
+	<rect y="32" x="248" height="16" width="16" class="color_4" />
+	<rect y="32" x="264" height="16" width="16" class="color_4" />
+	<rect y="32" x="280" height="16" width="16" class="color_4" />
+	<rect y="32" x="296" height="16" width="16" class="color_4" />
+	<rect y="48" x="56" height="16" width="16" class="color_4" />
+	<rect y="48" x="72" height="16" width="16" class="color_4" />
+	<rect y="48" x="88" height="16" width="16" class="color_4" />
+	<rect y="48" x="104" height="16" width="16" class="color_4" />
+	<rect y="48" x="120" height="16" width="16" class="color_1" />
+	<rect y="48" x="136" height="16" width="16" class="color_2" />
+	<rect y="48" x="152" height="16" width="16" class="color_4" />
+	<rect y="48" x="168" height="16" width="16" class="color_4" />
+	<rect y="48" x="184" height="16" width="16" class="color_4" />
+	<rect y="48" x="200" height="16" width="16" class="color_4" />
+	<rect y="48" x="216" height="16" width="16" class="color_4" />
+	<rect y="48" x="232" height="16" width="16" class="color_4" />
+	<rect y="48" x="248" height="16" width="16" class="color_4" />
+	<rect y="48" x="264" height="16" width="16" class="color_4" />
+	<rect y="48" x="280" height="16" width="16" class="color_4" />
+	<rect y="48" x="296" height="16" width="16" class="color_4" />
+	<rect y="64" x="56" height="16" width="16" class="color_4" />
+	<rect y="64" x="72" height="16" width="16" class="color_4" />
+	<rect y="64" x="88" height="16" width="16" class="color_4" />
+	<rect y="64" x="104" height="16" width="16" class="color_1" />
+	<rect y="64" x="120" height="16" width="16" class="color_2" />
+	<rect y="64" x="136" height="16" width="16" class="color_4" />
+	<rect y="64" x="152" height="16" width="16" class="color_4" />
+	<rect y="64" x="168" height="16" width="16" class="color_4" />
+	<rect y="64" x="184" height="16" width="16" class="color_4" />
+	<rect y="64" x="200" height="16" width="16" class="color_4" />
+	<rect y="64" x="216" height="16" width="16" class="color_4" />
+	<rect y="64" x="232" height="16" width="16" class="color_4" />
+	<rect y="64" x="248" height="16" width="16" class="color_4" />
+	<rect y="64" x="264" height="16" width="16" class="color_4" />
+	<rect y="64" x="280" height="16" width="16" class="color_4" />
+	<rect y="64" x="296" height="16" width="16" class="color_4" />
+	<rect y="80" x="56" height="16" width="16" class="color_4" />
+	<rect y="80" x="72" height="16" width="16" class="color_4" />
+	<rect y="80" x="88" height="16" width="16" class="color_1" />
+	<rect y="80" x="104" height="16" width="16" class="color_2" />
+	<rect y="80" x="120" height="16" width="16" class="color_4" />
+	<rect y="80" x="136" height="16" width="16" class="color_4" />
+	<rect y="80" x="152" height="16" width="16" class="color_4" />
+	<rect y="80" x="168" height="16" width="16" class="color_4" />
+	<rect y="80" x="184" height="16" width="16" class="color_4" />
+	<rect y="80" x="200" height="16" width="16" class="color_4" />
+	<rect y="80" x="216" height="16" width="16" class="color_4" />
+	<rect y="80" x="232" height="16" width="16" class="color_4" />
+	<rect y="80" x="248" height="16" width="16" class="color_4" />
+	<rect y="80" x="264" height="16" width="16" class="color_4" />
+	<rect y="80" x="280" height="16" width="16" class="color_4" />
+	<rect y="80" x="296" height="16" width="16" class="color_4" />
+	<rect y="96" x="56" height="16" width="16" class="color_4" />
+	<rect y="96" x="72" height="16" width="16" class="color_1" />
+	<rect y="96" x="88" height="16" width="16" class="color_0" />
+	<rect y="96" x="104" height="16" width="16" class="color_0" />
+	<rect y="96" x="120" height="16" width="16" class="color_0" />
+	<rect y="96" x="136" height="16" width="16" class="color_0" />
+	<rect y="96" x="152" height="16" width="16" class="color_0" />
+	<rect y="96" x="168" height="16" width="16" class="color_0" />
+	<rect y="96" x="184" height="16" width="16" class="color_1" />
+	<rect y="96" x="200" height="16" width="16" class="color_3" />
+	<rect y="96" x="216" height="16" width="16" class="color_3" />
+	<rect y="96" x="232" height="16" width="16" class="color_2" />
+	<rect y="96" x="248" height="16" width="16" class="color_4" />
+	<rect y="96" x="264" height="16" width="16" class="color_4" />
+	<rect y="96" x="280" height="16" width="16" class="color_4" />
+	<rect y="96" x="296" height="16" width="16" class="color_4" />
+	<rect y="112" x="56" height="16" width="16" class="color_2" />
+	<rect y="112" x="72" height="16" width="16" class="color_0" />
+	<rect y="112" x="88" height="16" width="16" class="color_0" />
+	<rect y="112" x="104" height="16" width="16" class="color_0" />
+	<rect y="112" x="120" height="16" width="16" class="color_0" />
+	<rect y="112" x="136" height="16" width="16" class="color_0" />
+	<rect y="112" x="152" height="16" width="16" class="color_0" />
+	<rect y="112" x="168" height="16" width="16" class="color_0" />
+	<rect y="112" x="184" height="16" width="16" class="color_0" />
+	<rect y="112" x="200" height="16" width="16" class="color_0" />
+	<rect y="112" x="216" height="16" width="16" class="color_0" />
+	<rect y="112" x="232" height="16" width="16" class="color_0" />
+	<rect y="112" x="248" height="16" width="16" class="color_1" />
+	<rect y="112" x="264" height="16" width="16" class="color_3" />
+	<rect y="112" x="280" height="16" width="16" class="color_2" />
+	<rect y="112" x="296" height="16" width="16" class="color_4" />
+	<rect y="128" x="56" height="16" width="16" class="color_2" />
+	<rect y="128" x="72" height="16" width="16" class="color_0" />
+	<rect y="128" x="88" height="16" width="16" class="color_0" />
+	<rect y="128" x="104" height="16" width="16" class="color_0" />
+	<rect y="128" x="120" height="16" width="16" class="color_0" />
+	<rect y="128" x="136" height="16" width="16" class="color_0" />
+	<rect y="128" x="152" height="16" width="16" class="color_0" />
+	<rect y="128" x="168" height="16" width="16" class="color_0" />
+	<rect y="128" x="184" height="16" width="16" class="color_0" />
+	<rect y="128" x="200" height="16" width="16" class="color_0" />
+	<rect y="128" x="216" height="16" width="16" class="color_0" />
+	<rect y="128" x="232" height="16" width="16" class="color_0" />
+	<rect y="128" x="248" height="16" width="16" class="color_1" />
+	<rect y="128" x="264" height="16" width="16" class="color_3" />
+	<rect y="128" x="280" height="16" width="16" class="color_2" />
+	<rect y="128" x="296" height="16" width="16" class="color_4" />
+	<rect y="144" x="56" height="16" width="16" class="color_4" />
+	<rect y="144" x="72" height="16" width="16" class="color_1" />
+	<rect y="144" x="88" height="16" width="16" class="color_0" />
+	<rect y="144" x="104" height="16" width="16" class="color_0" />
+	<rect y="144" x="120" height="16" width="16" class="color_0" />
+	<rect y="144" x="136" height="16" width="16" class="color_0" />
+	<rect y="144" x="152" height="16" width="16" class="color_0" />
+	<rect y="144" x="168" height="16" width="16" class="color_0" />
+	<rect y="144" x="184" height="16" width="16" class="color_1" />
+	<rect y="144" x="200" height="16" width="16" class="color_3" />
+	<rect y="144" x="216" height="16" width="16" class="color_3" />
+	<rect y="144" x="232" height="16" width="16" class="color_2" />
+	<rect y="144" x="248" height="16" width="16" class="color_4" />
+	<rect y="144" x="264" height="16" width="16" class="color_4" />
+	<rect y="144" x="280" height="16" width="16" class="color_4" />
+	<rect y="144" x="296" height="16" width="16" class="color_4" />
+	<rect y="160" x="56" height="16" width="16" class="color_4" />
+	<rect y="160" x="72" height="16" width="16" class="color_4" />
+	<rect y="160" x="88" height="16" width="16" class="color_1" />
+	<rect y="160" x="104" height="16" width="16" class="color_2" />
+	<rect y="160" x="120" height="16" width="16" class="color_4" />
+	<rect y="160" x="136" height="16" width="16" class="color_4" />
+	<rect y="160" x="152" height="16" width="16" class="color_4" />
+	<rect y="160" x="168" height="16" width="16" class="color_4" />
+	<rect y="160" x="184" height="16" width="16" class="color_4" />
+	<rect y="160" x="200" height="16" width="16" class="color_4" />
+	<rect y="160" x="216" height="16" width="16" class="color_4" />
+	<rect y="160" x="232" height="16" width="16" class="color_4" />
+	<rect y="160" x="248" height="16" width="16" class="color_4" />
+	<rect y="160" x="264" height="16" width="16" class="color_4" />
+	<rect y="160" x="280" height="16" width="16" class="color_4" />
+	<rect y="160" x="296" height="16" width="16" class="color_4" />
+	<rect y="176" x="56" height="16" width="16" class="color_4" />
+	<rect y="176" x="72" height="16" width="16" class="color_4" />
+	<rect y="176" x="88" height="16" width="16" class="color_4" />
+	<rect y="176" x="104" height="16" width="16" class="color_1" />
+	<rect y="176" x="120" height="16" width="16" class="color_2" />
+	<rect y="176" x="136" height="16" width="16" class="color_4" />
+	<rect y="176" x="152" height="16" width="16" class="color_4" />
+	<rect y="176" x="168" height="16" width="16" class="color_4" />
+	<rect y="176" x="184" height="16" width="16" class="color_4" />
+	<rect y="176" x="200" height="16" width="16" class="color_4" />
+	<rect y="176" x="216" height="16" width="16" class="color_4" />
+	<rect y="176" x="232" height="16" width="16" class="color_4" />
+	<rect y="176" x="248" height="16" width="16" class="color_4" />
+	<rect y="176" x="264" height="16" width="16" class="color_4" />
+	<rect y="176" x="280" height="16" width="16" class="color_4" />
+	<rect y="176" x="296" height="16" width="16" class="color_4" />
+	<rect y="192" x="56" height="16" width="16" class="color_4" />
+	<rect y="192" x="72" height="16" width="16" class="color_4" />
+	<rect y="192" x="88" height="16" width="16" class="color_4" />
+	<rect y="192" x="104" height="16" width="16" class="color_4" />
+	<rect y="192" x="120" height="16" width="16" class="color_1" />
+	<rect y="192" x="136" height="16" width="16" class="color_2" />
+	<rect y="192" x="152" height="16" width="16" class="color_4" />
+	<rect y="192" x="168" height="16" width="16" class="color_4" />
+	<rect y="192" x="184" height="16" width="16" class="color_4" />
+	<rect y="192" x="200" height="16" width="16" class="color_4" />
+	<rect y="192" x="216" height="16" width="16" class="color_4" />
+	<rect y="192" x="232" height="16" width="16" class="color_4" />
+	<rect y="192" x="248" height="16" width="16" class="color_4" />
+	<rect y="192" x="264" height="16" width="16" class="color_4" />
+	<rect y="192" x="280" height="16" width="16" class="color_4" />
+	<rect y="192" x="296" height="16" width="16" class="color_4" />
+	<rect y="208" x="56" height="16" width="16" class="color_4" />
+	<rect y="208" x="72" height="16" width="16" class="color_4" />
+	<rect y="208" x="88" height="16" width="16" class="color_4" />
+	<rect y="208" x="104" height="16" width="16" class="color_4" />
+	<rect y="208" x="120" height="16" width="16" class="color_4" />
+	<rect y="208" x="136" height="16" width="16" class="color_1" />
+	<rect y="208" x="152" height="16" width="16" class="color_2" />
+	<rect y="208" x="168" height="16" width="16" class="color_4" />
+	<rect y="208" x="184" height="16" width="16" class="color_4" />
+	<rect y="208" x="200" height="16" width="16" class="color_4" />
+	<rect y="208" x="216" height="16" width="16" class="color_4" />
+	<rect y="208" x="232" height="16" width="16" class="color_4" />
+	<rect y="208" x="248" height="16" width="16" class="color_4" />
+	<rect y="208" x="264" height="16" width="16" class="color_4" />
+	<rect y="208" x="280" height="16" width="16" class="color_4" />
+	<rect y="208" x="296" height="16" width="16" class="color_4" />
+	<rect y="224" x="56" height="16" width="16" class="color_4" />
+	<rect y="224" x="72" height="16" width="16" class="color_4" />
+	<rect y="224" x="88" height="16" width="16" class="color_4" />
+	<rect y="224" x="104" height="16" width="16" class="color_4" />
+	<rect y="224" x="120" height="16" width="16" class="color_4" />
+	<rect y="224" x="136" height="16" width="16" class="color_4" />
+	<rect y="224" x="152" height="16" width="16" class="color_4" />
+	<rect y="224" x="168" height="16" width="16" class="color_4" />
+	<rect y="224" x="184" height="16" width="16" class="color_4" />
+	<rect y="224" x="200" height="16" width="16" class="color_4" />
+	<rect y="224" x="216" height="16" width="16" class="color_4" />
+	<rect y="224" x="232" height="16" width="16" class="color_4" />
+	<rect y="224" x="248" height="16" width="16" class="color_4" />
+	<rect y="224" x="264" height="16" width="16" class="color_4" />
+	<rect y="224" x="280" height="16" width="16" class="color_4" />
+	<rect y="224" x="296" height="16" width="16" class="color_4" />
+	<rect y="240" x="56" height="16" width="16" class="color_4" />
+	<rect y="240" x="72" height="16" width="16" class="color_4" />
+	<rect y="240" x="88" height="16" width="16" class="color_4" />
+	<rect y="240" x="104" height="16" width="16" class="color_4" />
+	<rect y="240" x="120" height="16" width="16" class="color_4" />
+	<rect y="240" x="136" height="16" width="16" class="color_4" />
+	<rect y="240" x="152" height="16" width="16" class="color_4" />
+	<rect y="240" x="168" height="16" width="16" class="color_4" />
+	<rect y="240" x="184" height="16" width="16" class="color_4" />
+	<rect y="240" x="200" height="16" width="16" class="color_4" />
+	<rect y="240" x="216" height="16" width="16" class="color_4" />
+	<rect y="240" x="232" height="16" width="16" class="color_4" />
+	<rect y="240" x="248" height="16" width="16" class="color_4" />
+	<rect y="240" x="264" height="16" width="16" class="color_4" />
+	<rect y="240" x="280" height="16" width="16" class="color_4" />
+	<rect y="240" x="296" height="16" width="16" class="color_4" />
+</svg>

Documents/Basics/PixelImage.txt

+16 16 5 1
+. c #D3D3D3
+, c #AFAFAF
+o c #9a9a9a
+O c #808080
+X c #000000
+................
+................
+.....O,.........
+....O,..........
+...O,...........
+..O,............
+.OXXXXXXOoo,....
+,XXXXXXXXXXXOo,.
+,XXXXXXXXXXXOo,.
+.OXXXXXXOoo,....
+..O,............
+...O,...........
+....O,..........
+.....O,.........
+................
+................

Documents/Basics/Tutorial 00.xml

             <title>An Image</title>
             <mediaobject>
                 <imageobject>
-                    <imagedata fileref="pixels.svg" format="SVG" contentwidth="4in"/>
+                    <imagedata fileref="PixelImage.svg" format="SVG" contentwidth=""/>
                 </imageobject>
             </mediaobject>
         </figure>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.