How lardratboy/ditherstudio works
Project type and purpose
• From the README and file tree, this is a native Windows desktop application (DitherStudio/DitherBuddy) built with C++ and MFC.
• Its core purpose is to host a Photoshop‐style plugin for RGB555/565 dithering but evolved into a general 2D/3D byte‐stream and image viewer with pan/zoom and export capabilities.
File structure
• Top‐level code:
• DitherStudio.* (MFC document/view app: .cpp, .h, .rc, .vcxproj, resource scripts)
• BPTLib/ (core image‐processing library: dithering, compression, surface & pixel operations, file codecs)
• BpaintStuff/ (auxiliary rendering primitives & helper routines)
• res/ (UI resources: bitmaps, cursors)
• Build/ (packaged ZIP of binaries)
• It follows an internal modular pattern: a UI layer (MFC), a core processing layer (BPTLib), and a support layer (BpaintStuff), plus external dependencies managed via vcpkg (glm, boost, angle).
README for additional insights
• Describes how the tool works (clipboard/file input → display → PNG/clipboard output).
• Mentions vcpkg dependencies and that it’s not strictly a dithering tool any more but a visualization host.