#ifndef DEBUGCLIENT_H #define DEBUGCLIENT_H #include #include #include class DebugClient : public QObject { Q_OBJECT public: explicit DebugClient(QObject *parent = nullptr); ~DebugClient(); void sendImage(const QImage &image); private: // Helper to convert RGB to an ASCII character or colored block QString rgbToAnsiColor(int r, int g, int b); }; #endif // DEBUGCLIENT_H