How bamdaniyanaresh-png/b01file3_noise.png_tool works
B01FILE3 is a Python command-line tool that packs files into lossless black-and-white PNG shards, verifies a shard set, and restores the original bytes. The main workflow is pack: read and optionally zlib-compress input, shard and encode it, then write a manifest. Verify and unpack both load the set and validate shard and original checksums; unpack additionally writes the recovered file. All runtime components are in one source file, so the graph groups its distinct responsibilities there. The README documents these capabilities and integrity constraints; no separate modules or external services are present.
Main entry points: b01file3.py CLI dispatch
Components 14
Command interface
- CLI dispatch
b01file3.py
Pack pipeline
- Pack input
b01file3.py - Optional zlib compression
b01file3.py - Shard partitioning
b01file3.py
Recovery and integrity
- Verify set
b01file3.py - Unpack set
b01file3.py - Load and validate set
b01file3.py - PNG bit decoding
b01file3.py - Checksum validation
b01file3.py
Shard encoding
- PNG bit encoding
b01file3.py - Manifest creation
b01file3.py - PNG shard set
Other components
- User
- Recovered file
Connections 15
- User → CLI dispatch: invokes
b01file3.py - CLI dispatch → Pack input: dispatches
b01file3.py - CLI dispatch → Verify set: dispatches
b01file3.py - CLI dispatch → Unpack set: dispatches
b01file3.py - Pack input → Optional zlib compression: compresses if smaller
b01file3.py - Pack input → Shard partitioning: partitions bytes
b01file3.py - Shard partitioning → PNG bit encoding: encodes each shard
b01file3.py - Pack input → Manifest creation: writes metadata
b01file3.py - PNG bit encoding → PNG shard set: writes PNGs
b01file3.py - Manifest creation → PNG shard set: writes manifest
b01file3.py - Verify set → Load and validate set: loads and validates
b01file3.py - Unpack set → Load and validate set: loads and validates
b01file3.py - Load and validate set → PNG bit decoding: reads shards
b01file3.py - Load and validate set → Checksum validation: checks metadata and hashes
b01file3.py - Unpack set → Recovered file: writes recovered bytes
b01file3.py