windraw renders shapes and text into an off-screen bitmap using the graphics stack that already ships with Windows — Direct2D for vector drawing, DirectWrite for text, and WIC for PNG encoding — then saves a PNG to a file or returns the bytes as a string. A Cairo-style 2D canvas with no window or message loop required. Windows MSVC (mswin) Ruby only.
winclip is a native Windows clipboard library for Ruby. It gets and sets Unicode text, images (as PNG bytes, converted to/from CF_DIB/CF_DIBV5 via WIC), and file lists (CF_HDROP), plus clear, format introspection, and has_text?/has_image?/has_files? queries. The PNG image interface pairs directly with the windraw gem. Windows MSVC (mswin) Ruby only.