Deeper investigation below. The alpha-mask column shows what the 13031 SVG treatment would do to these raster icons: they are full-bleed opaque images, so the mask yields a solid square (black in light mode, white in dark). That is expected, and it is exactly why raster icons are excluded from masking and fall back to <img>.
Variants, light mode
| App (live version) | Original | grayscale(100%) | grayscale + invert | alpha mask (13031 SVG treatment, applied to these raster icons) |
|---|
| Bulk Mockups - Color (v8) |   |   |   | |
| Custom Mockups (v2) |   |   |   | |
| Dropbox (v6) |   |   |   | |
| Canvas To GIF (v4) |   |   |   | |
| Pexels (v10) |   |   |   | |
| Pinterest (v21) |   |   |   | |
| POD Presets (v3) |   |   |   | |
| Printful (v8) |   |   |   | |
| QR Code Generator (v7) |   |   |   | |
| Search Text (v6) |   |   |   | |
Variants, dark mode
| App (live version) | Original | grayscale(100%) | grayscale + invert | alpha mask (13031 SVG treatment, applied to these raster icons) |
|---|
| Bulk Mockups - Color (v8) |   |   |   | |
| Custom Mockups (v2) |   |   |   | |
| Dropbox (v6) |   |   |   | |
| Canvas To GIF (v4) |   |   |   | |
| Pexels (v10) |   |   |   | |
| Pinterest (v21) |   |   |   | |
| POD Presets (v3) |   |   |   | |
| Printful (v8) |   |   |   | |
| QR Code Generator (v7) |   |   |   | |
| Search Text (v6) |   |   |   | |