The Metric Pixel Canvas is a pixel based derivative of the ISO 216 standard developed by Dennis Pennekamp to unite pixel based raster graphics with vector graphics on a square root of two based metric canvas.
Contents
From the list we can derive the following:
(Which establishes a resolution of approximately 102 dpi.)
(Which is nice as one can buy 0.25 mm pens in a shop.)
(Which means you can simply print to A4 even if the A4 was cut on the small side, and if you don't care about minimal distortion you can print it resized to fit to your A4 paper exactly)
(Which means that a large canvas can be cut in two to create 2 pieces of almost exactly the same aspect ratio, without adding any margins or creating any loss)
(Which means no pixels are ever lost during two step scaling, while one step scaling creates an approximation error which is always the same percentage and can therefore be nullified when repeated.)
Scaling
For example, to project dA4 onto dA3, multiply the sides in accordance with the aspect ratio:
819 x (52 / 37) = 1664
589 x (37 / 26) = 1184
This creates non square pixels, although to the untrained eye indistinguishable from 0.35 mm squares which means one can again use a standard (0.35 mm) pen to continue drawing the former 0.25 mm lines on a print out. When repeated the fractions are exchanged to nullify the error:
1664 x (37 / 26) = 2368
1184 x (52 / 37) = 1664
The resulting dA2 is exactly twice the size of dA4 with 0.5 mm square pixels. Vice versa, when projecting dA2 onto dA4, we have simply doubled the printing resolution.
Vector graphics
Compatibility with vector graphics is reached by positioning the centre of the first (most lower left) pixel at position (x,y) = (1,1) metre in a two dimensional coordinate system.
This means that the pixel called 0,0 can also be named position 1000,1000 mm, and that a black square centimetre covering the lower left corner of the canvas uses 400 pixels and has its corners located at positions;
A (1000,1000) mm B (1010,1000) mm C (1010,1010) mm D (1000,1010) mmPractical intermezzo
To alleviate having to type lots of zeros as prefix to every coordinate on your canvas you can reduce the prefix to 'one metre plus' by typing the letter m followed by rest of the coordinate in millimeter.
Anti-aliasing
Compatibly sized geometric shapes based on rectangles, horizontal and vertical lines are perfectly interchangeable between vector and pixel based notations (1). You cannot see the resolution until it is said to be representing a 5 by 5 pixel canvas.
As square and angled lines don't match on a pixel canvas (2), shapes with angled and curved lines are best kept as vector data. In XML defined as 0.25 mm thick lines with round end markers (3). The end markers fill most of the pixel while remaining within the pixel boundaries. This allows them to be rendered with a single solid colour (4) reminiscent of early computer graphics, or be plotted as if using a round tip metric pen (3) creating perfect alignment with bitmap graphics (5) when rendered with anti-aliasing.
Video
The Metric Pixel Canvas is also well suited as a video standard. The native frame rate is metric friendly with 100 full frames per second, and can easily be scaled down to the common 50 and 25 frame/s. The primary display resolution is dA2 landscape, capable of framing other formats like HDTV without pixel loss. Advantages are many, for example: