Tool for encoding and decoding Pictured as Perfect code, converting text into a grid of colored squares (black, white, pink) and recovering the text from an image.
Pictured as Perfect Code - dCode
Tag(s) : Symbol Substitution
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
The Pictured as Perfect code is a visual code appearing in the music video (BGA) of Frums' Pictured as Perfect, created for the G2R2018 Climax -GO BACK 2 YOUR ROOTS 2018- event. It represents text as columns of three coloured squares. Each square corresponds to a ternary digit represented by black, white, or magenta. The 27 possible values of a ternary triplet can represent the space and the 26 letters of the alphabet.
To encode text in the style of Frums, use the correspondence table:
| A | ![]() | B | ![]() | C | ![]() | D | ![]() | E | ![]() | F | ![]() | G | ![]() |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| H | ![]() | I | ![]() | J | ![]() | K | ![]() | L | ![]() | M | ![]() | N | ![]() |
| O | ![]() | P | ![]() | Q | ![]() | R | ![]() | S | ![]() | T | ![]() | U | ![]() |
| V | ![]() | W | ![]() | X | ![]() | Y | ![]() | Z | ![]() | ![]() | |||
| dCode.fr | |||||||||||||
In most representations, the order of the characters in the text is reversed (the characters are written from right to left)
An artwork using this code can be identified by a succession of columns composed of three squares, using a palette of three colours: black, white, and magenta (pink).
Each column can potentially be identified by a three-digit ternary number.
Any reference to the BGA (music video) of Frums' 'Pictured as Perfect' or its derivatives is a clue.
'Pictured As Brick' is a brick in the game Find The Bricks that directly references this work: its appearance notably features a black background with white and magenta patterns inspired by the BGA. The connection between the two works is therefore primarily visual and referential: 'Pictured As Brick' incorporates graphic elements associated with 'Pictured as Perfect'.
dCode retains ownership of the "Pictured as Perfect Code" source code. Any algorithm for the "Pictured as Perfect Code" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Pictured as Perfect Code" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Pictured as Perfect Code" or any other element are not public (except explicit open source licence). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Pictured as Perfect Code" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source (Creative Commons CC-BY free distribution license).
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Pictured as Perfect Code on dCode.fr [online website], retrieved on 2026-09-25,