Search and download free transparent PNG images from pngimg.com.
How It Works
pngimg.com organizes images by category. The URL pattern is:
- Category listing:
https://pngimg.com/images/{category} - Image download:
https://pngimg.com/d/{filename}.png - Direct file URL:
https://pngimg.com/uploads/{category}/{filename}.png
Usage
Search for images
Browse a category page to find available images:
bash ~/.kiro/skills/pngimg-download/download.sh search <keyword>
This fetches the category page and lists available PNG images with their download URLs.
Download images
Download a specific image or multiple images from a category:
# Download first N images from a category
bash ~/.kiro/skills/pngimg-download/download.sh download <keyword> [count] [output_dir]
Parameters:
keyword(required): The image category to search (e.g., cat, apple, car)count(optional): Number of images to download (default: 1)output_dir(optional): Output directory (default: current directory)
Examples
# Search for cat images
bash ~/.kiro/skills/pngimg-download/download.sh search cat
# Download 3 cat images to current directory
bash ~/.kiro/skills/pngimg-download/download.sh download cat 3
# Download 5 apple images to ./assets/
bash ~/.kiro/skills/pngimg-download/download.sh download apple 5 ./assets/
Notes
- All images have transparent backgrounds (PNG with alpha)
- License: Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
- Keywords are case-insensitive and use the category name from pngimg.com
- Some categories use compound names (e.g., "palm_tree", "ice_cream")