How archistico/shadeofcolor2 works
ShadeOfColor is a command-line utility that encodes arbitrary file bytes into PNG pixels and restores them later. The principal workflow starts with a user-supplied command, passes through argument dispatch, and invokes the conversion implementation; that implementation handles both pixel encoding and decoding, including embedded filename/size metadata and SHA1 verification. The README documents the two-way conversion and integrity check. Source excerpts show the calls and ImageSharp usage; filesystem interactions are visible in the conversion code.
Main entry points: FileToImage.cs File-image codec · Program.cs Command dispatcher
Components 5
Other components
- User
- Command dispatcher
ShadeOfColor2/Program.cs - File-image codec
ShadeOfColor2/FileToImage.cs - Local files
- ImageSharp
Connections 4
- User → Command dispatcher: supplies command
ShadeOfColor2/Program.cs - Command dispatcher → File-image codec: calls conversion
ShadeOfColor2/Program.cs - File-image codec → Local files: reads and writes
ShadeOfColor2/FileToImage.cs - File-image codec → ImageSharp: loads and saves pixels
ShadeOfColor2/FileToImage.cs