dsh-clipboard-png: Converting "Fake PNG" Images from the Clipboard to Real PNG on Linux Wayland

The DSH composer accepts only PNG/JPEG/WebP/GIF and does not rely on byte sniffing. On Linux Wayland, apps like WeChat often mislabel BMP images as `image/png`, causing paste operations to fail with the error "Only PNG, JPG, WebP, and GIF are supported." dsh-clipboard-png is an MIT-licensed host plugin (v0.1.0) maintained by pengtang1024 that polls the clipboard via wl-clipboard and, when necessary, uses ImageMagick to convert the image to a genuine PNG before writing it back. Wayland only. Requires Node.js 20+, wl-clipboard, and ImageMagick 7. Install with: `dsh plugin --profile <profile> add github:pengtang1024/dsh-clipboard-png`. All processing is local; no user-facing configuration options.

Read More