MUST USE for image format conversion to PNG or AI image analysis prompts. Invoke when user asks to: convert images (WebP, AVIF, HEIC, BMP, TIFF, GIF, PSD, RAW) to PNG, batch convert, install/troubleshoot Windows "Send To" converter, build AI prompts for deep image/UI/screenshot analysis, or handle non-standard image formats. Triggers on: image conversion, WebP/AVIF/HEIC, "Senden an", AI image prompt, UI review from images. German: 'Bild umwandeln', 'Bilder konvertieren', 'In PNG umwandeln', 'Bilder analysieren', 'KI-Prompt für Bilder'. Provides Python conversion script and AI prompt builder with Windows Send To integration. Auto-converts non-PNG/JPG before prompt building so AI can process all images.
Converts image files to PNG format and builds comprehensive AI analysis prompts — both via Windows "Send To" integration.
image-to-png/
├── SKILL.md (this file)
└── scripts/
├── convert_to_png.py (PNG converter — Python + Pillow)
├── convert_to_png.cmd (Send To wrapper for converter)
├── build_image_prompt.py (AI prompt builder)
├── build_image_prompt.cmd (Send To wrapper for prompt builder)
└── install_convert_to_png.ps1 (installer/uninstaller for both)
| Format | Extensions | Engine |
|---|---|---|
| WebP | .webp | Pillow |
| AVIF | .avif, .avifs | Pillow |
| BMP | .bmp, .dib |
| Pillow |
| TIFF | .tiff, .tif | Pillow |
| GIF | .gif | Pillow |
| PSD | .psd | Pillow |
| TGA | .tga, .icb, .vda, .vst | Pillow |
| ICO | .ico | Pillow |
| JPEG2000 | .jp2, .j2k, .j2c | Pillow |
| HEIC/HEIF | .heic, .heif, .hif | pillow-heif (oder ffmpeg) |
| RAW | .cr2, .nef, .arw, .dng | ffmpeg |
| QOI | .qoi | Pillow |
| PCX | .pcx | Pillow |
| PPM | .pbm, .pgm, .ppm | Pillow |
| SGI | .sgi, .rgb, .rgba | Pillow |
PNG and JPG/JPEG files are automatically skipped (not reconverted).
Run the installer script:
& "$env:USERPROFILE\.copilot\skills\image-to-png\scripts\install_convert_to_png.ps1"
This creates two "Send To" shortcuts. After installation:
& "$env:USERPROFILE\.copilot\skills\image-to-png\scripts\install_convert_to_png.ps1" -Uninstall
python "%USERPROFILE%\.copilot\skills\image-to-png\scripts\convert_to_png.py" file1.webp file2.avif
python "%USERPROFILE%\.copilot\skills\image-to-png\scripts\build_image_prompt.py" screenshot1.png mockup.webp
The prompt is copied to clipboard and ready to paste into any AI chat.
If the "Send To" entry doesn't appear:
Get-ChildItem "$env:APPDATA\Microsoft\Windows\SendTo" | Where-Object { $_.Name -like "*PNG*" }If HEIC conversion fails:
pillow-heif: pip install pillow-heifwhere.exe ffmpegIf the conversion window flashes briefly: