Skip to content

Releases: mricardo888/ImageConvert

v0.4.0

Choose a tag to compare

@mricardo888 mricardo888 released this 07 Feb 19:56

Release Notes 0.4.0

  • Breaking: removed SVG support/dependency; .svg dropped from supported extensions and docs (imageconvert/imageconvert.py, pyproject.toml, README.md).
  • Batch conversion overhaul: streaming generator option, multi-process workers, progress callbacks, and smarter skip_existing that reprocesses newer sources while keeping directory structure (imageconvert/imageconvert.py).
  • PDF/image handling tweak: uses ImageReader buffer when writing PDFs to avoid ReportLab issues; docstrings/examples trimmed (imageconvert/imageconvert.py).
  • CI/CD: workflow now grants write perms and auto-creates GitHub releases for tags, uploading build artifacts (.github/workflows/workflow.yml).
  • Docs/versioning: README updated for streaming/parallel batch usage; version bumped to 0.4.0 in pyproject.toml and imageconvert/__init__.py.

Full Changelog: v0.3.1...v0.4.0

v0.3.1

Choose a tag to compare

@mricardo888 mricardo888 released this 02 Aug 18:47
  • Improved code efficiency
  • Reformatted Code

v0.3.0

Choose a tag to compare

@mricardo888 mricardo888 released this 18 Apr 19:39

Changelog

All notable changes to this project are documented here.

[0.3.0] - 2025-04-18

  • Added PDF conversion feature:
    • ImageConvert.pdf_to_images() to export PDF pages as high‑resolution images
    • ImageConvert.images_to_pdf() to compile multiple images into a single PDF

v0.2.0

Choose a tag to compare

@mricardo888 mricardo888 released this 12 Apr 13:09

Changelog

[0.2.0] - 2025-04-12

Added

  • Full support for AVIF image format conversion (reading and writing)
  • Improved support for HEIF/HEIC formats
  • Adaptive handling of different pillow-heif versions
  • Better error messages for format conversion issues

Changed

  • Updated minimum pillow-heif dependency to 0.13.0 for better AVIF compatibility
  • Enhanced format registration for more reliable image conversion
  • Improved documentation for all public methods
  • More robust error handling for unsupported formats

Fixed

  • Fixed issues with AVIF conversion that caused KeyError or AttributeError
  • Fixed handling of HEIF/HEIC/AVIF encoding options
  • Ensured proper conversion from various formats to AVIF

v0.1.1

Choose a tag to compare

@mricardo888 mricardo888 released this 11 Apr 21:58

📦 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 .raw formats (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.