How hamidmusavi988-coder/rgbtxt-converter works
RGBTXT is a browser-based, local image converter: users turn image files into readable RGBTXT pixel data or reconstruct PNG images from RGBTXT. The React entry point mounts the converter; its main component owns the interface and conversion state, while the browser provides image decoding, canvas pixel access, and local file handling. The excerpts show the format and UI capabilities, but omit parts of the conversion and download handlers, so those internal links are not expanded.
Main entry points: App.tsx Converter interface · main.tsx React entry · index.css Application styles
Components 9
Browser runtime
- React entry
src/main.tsx - Browser image APIs
RGBTXT conversion
- Image encoding
src/App.tsx - RGBTXT parsing
src/App.tsx - PNG reconstruction
src/App.tsx
Interface
- Converter interface
src/App.tsx - Format guide
src/App.tsx - Application styles
src/index.css
Other components
- User
Connections 8
- React entry → Converter interface: mounts
src/main.tsx - React entry → Application styles: loads styles
src/main.tsx - User → Converter interface: selects files
src/App.tsx - Converter interface → Image encoding: handles image mode
src/App.tsx - Converter interface → RGBTXT parsing: handles text mode
src/App.tsx - Converter interface → Format guide: presents format
src/App.tsx - Image encoding → Browser image APIs: decodes image
src/App.tsx - RGBTXT parsing → PNG reconstruction: validates pixels
src/App.tsx