File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed
Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 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 )
Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ img = load("photo.jpg")
3131
3232By 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:**
Original file line number Diff line number Diff line change 11import ctypes
22import sys
33
4- __version__ = "0.1.2 "
4+ __version__ = "0.1.3 "
55
66def _check_nvidia_driver ():
77 try :
Original file line number Diff line number Diff 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).
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"
44
55[project ]
66name = " pyimagecuda"
7- version = " 0.1.2 "
7+ version = " 0.1.3 "
88description = " GPU-accelerated image processing library for Python"
99readme = " README.md"
1010requires-python = " >=3.10"
You can’t perform that action at this time.
0 commit comments