v0.1.1
π¦ Release: v0.1.1 β Official Initial Release
ImageConvert is a Python library for converting images across a wide variety of formats while preserving essential metadata and file timestamps.
π Highlights in v0.1.1:
-
Supported Formats:
- JPEG (.jpg, .jpeg)
- PNG (.png)
- BMP (.bmp)
- TIFF (.tiff, .tif)
- WebP (.webp)
- SVG (.svg)
- RAW (.raw)
- HEIF/HEIC (.heif, .heic)
-
Core Features:
- π Image conversion with support for EXIF and timestamp preservation.
- π§ EXIF metadata extraction and re-embedding (including camera data, GPS, etc.)
- π Batch conversion with directory recursion.
- π Preserves file creation, modification, and access times.
- π§ EXIF GPS location parsing with human-readable output.
- π Detailed image info retrieval, including format, size, DPI, camera info, and more.
β οΈ Not Yet Supported:
- Saving to
.heif,.heic,.svg, and.rawformats (reading only). - Advanced metadata editing beyond preservation.
π Example Usage:
from imageconvert import ImageConvert
# Convert a single image
ImageConvert.convert("photo.heic", "photo.png")
# Batch convert an entire folder to .jpg
ImageConvert.batch_convert("images/", "converted/", ".jpg")
# Get metadata info of an image
info = ImageConvert.get_image_info("photo.jpg")
print(info["camera"], info.get("gps"))For full documentation and examples, please refer to the README or visit the GitHub repository.