File python-imagesize.changes of Package python-imagesize

-------------------------------------------------------------------
Mon Mar 23 12:44:09 UTC 2026 - Dirk Müller <dmueller@suse.com>

- update 2.0.0:
   * Expanded Format Support: Added support for BMP,
     AVIF, and HEIC/HEIF image formats.
   * Rich Metadata API: Introduced imagesize.get_info(),
     which returns a named tuple (ImageInfo) containing:
     * width and height
     * rotation (EXIF orientation value)
     * xdpi and ydpi
     * colors (color depth/count)
     * channels (number of color channels)
   * URL Support: The API can now fetch and parse image
     headers directly from http and https URLs.
   * Type Safety: Added comprehensive PEP 484 type hints for
     all public API functions and data structures.
   * Enhanced File-like Support: Improved support for
     duck-typed file-like objects that implement read() and
     seek(), even if they do not inherit from io.IOBase.
   * Python Version Drop: Dropped support for Python 2.7 and
     Python 3.4 through 3.9. The **minimum required version is
     now Python 3.10**.
   * Automatic EXIF Rotation: imagesize.get() now applies
     EXIF orientation metadata by default. This means the
     returned width and height will be swapped for images marked
     as rotated (affects JPEG, TIFF, AVIF, and HEIC/HEIF). Use
     exif_rotation=False to restore the old behavior.
   * Error Handling: imagesize.get() and
     imagesize.getDPI() now return (-1, -1) on parsing
     failures instead of raising exceptions. Code relying on
     exceptions for error detection should be updated.
  Improvements & Bug Fixes
   * Precision: Migrated SVG unit conversions to use
     Decimal for more accurate pixel calculations (e.g., for
     mm, pt, pc units).
   * WebP Correction: Fixed dimension parsing for VP8X WebP
     files (correctly handles the +1 offset required by the
     spec).
   * Reliability: Significant internal refactoring of JPEG
     and TIFF parsers to improve robustness against malformed
     headers.

-------------------------------------------------------------------
Wed May 28 12:13:24 UTC 2025 - Markéta Machová <mmachova@suse.com>

- Convert to pip-based build

-------------------------------------------------------------------
Fri Apr 21 12:26:42 UTC 2023 - Dirk Müller <dmueller@suse.com>

- add sle15_python_module_pythons (jsc#PED-68)

-------------------------------------------------------------------
Thu Apr 13 22:42:00 UTC 2023 - Matej Cepl <mcepl@suse.com>

- Make calling of %{sle15modernpython} optional.

-------------------------------------------------------------------
Sat Jul 23 11:27:23 UTC 2022 - Dirk Müller <dmueller@suse.com>

- update to 1.4.1:
  * python 3.10 compat
  * documentation updates

-------------------------------------------------------------------
Mon Nov 29 11:12:37 UTC 2021 - Dirk Müller <dmueller@suse.com>

- update to 1.3.0:
  * Python 3.9 compat
  * Fix exception on corrupt JPEG files
  * Fix error on long float numbers
  * improving netpbm error messages
  * remove dependency on nose

-------------------------------------------------------------------
Fri Feb 28 22:43:08 UTC 2020 - Dirk Mueller <dmueller@suse.com>

- update to 1.2.0:
  * add SVG testsuite
  * Python 3.8 compat

-------------------------------------------------------------------
Tue May  7 11:30:09 UTC 2019 - pgajdos@suse.com

- version update to 1.1.0
  * add TIFF support (experimental)
- enable testsuite

-------------------------------------------------------------------
Tue Dec  4 12:49:15 UTC 2018 - Matej Cepl <mcepl@suse.com>

- Remove superfluous devel dependency for noarch package

-------------------------------------------------------------------
Fri Feb 23 03:57:07 UTC 2018 - arun@gmx.de

- specfile:
  * update copyright year

- update to version 1.0.0:
  * Document project is stable and ready for use in production
  * Skip FFC4, FFC8, FFCC markers
  * Clean up all whitespace throughout project
  * Include license file in the generated wheel package
  * Enable pip cache in Travis CI
  * Test and document all supported Python versions
  * Rename [wheel] section to [bdist_wheel] as the former is legacy
  * get dpi
  * Add MANIFEST.in file
  * Added test_suite keyword
  * Created __init__.py in test directory
  * Make imagesize a module

-------------------------------------------------------------------
Wed Apr  5 05:39:41 UTC 2017 - tbechtold@suse.com

- Fix python_module macro definition

-------------------------------------------------------------------
Sat Mar 11 17:07:00 UTC 2017 - jengelh@inai.de

- Typographic corrections to descriptions

-------------------------------------------------------------------
Mon Dec 19 15:51:22 UTC 2016 - jmatejek@suse.com

- update for multipython build

-------------------------------------------------------------------
Sun May 29 10:31:23 UTC 2016 - michael@stroeder.com

- initial version

openSUSE Build Service is sponsored by