Skip to content

Commit 8d97891

Browse files
committed
Bump version to 0.1.3 and update documentation for EXIF orientation handling
1 parent 706bc69 commit 8d97891

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PyImageCUDA 0.1.2
1+
# PyImageCUDA 0.1.3
22

33
[![PyPI version](https://img.shields.io/pypi/v/pyimagecuda.svg)](https://pypi.org/project/pyimagecuda/)
44
[![Build Status](https://github.com/offerrall/pyimagecuda/actions/workflows/build.yml/badge.svg)](https://github.com/offerrall/pyimagecuda/actions)

docs/io.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ img = load("photo.jpg")
3131

3232
By default, PyImageCUDA automatically applies EXIF orientation metadata to ensure images appear correctly oriented:
3333
```python
34-
# Default behavior: applies EXIF orientation
35-
img = load("photo_from_phone.jpg") # Displays correctly
34+
# Default behavior: autorotate=False
35+
img = load("photo_from_phone.jpg")
3636

37-
# Disable auto-rotation if needed (advanced use cases)
38-
img = load("photo.jpg", autorotate=False)
37+
# Explicitly enable autorotation
38+
img = load("photo.jpg", autorotate=True)
3939
```
4040

4141
**Why this matters:**

pyimagecuda/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import ctypes
22
import sys
33

4-
__version__ = "0.1.2"
4+
__version__ = "0.1.3"
55

66
def _check_nvidia_driver():
77
try:

pyimagecuda/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def load(
6666
filepath: str,
6767
f32_buffer: Image | None = None,
6868
u8_buffer: ImageU8 | None = None,
69-
autorotate: bool = True
69+
autorotate: bool = False
7070
) -> Image | None:
7171
"""
7272
Loads an image from a file (returns new image or writes to buffer).

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"
44

55
[project]
66
name = "pyimagecuda"
7-
version = "0.1.2"
7+
version = "0.1.3"
88
description = "GPU-accelerated image processing library for Python"
99
readme = "README.md"
1010
requires-python = ">=3.10"

0 commit comments

Comments
 (0)