wiredfool
9ff0465e89
merge from upstream/main
2025-02-14 17:58:43 +00:00
wiredfool
159ffe3bc3
Fix mutex for Free-tread pythons
2025-02-03 20:34:40 +00:00
pre-commit-ci[bot]
be3b0fd05c
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-02-03 17:43:10 +00:00
wiredfool
240175733e
Add a way to force the use of the old block allocator
...
* Test that arrow can be exported when the block allocator is forced.
2025-02-03 17:42:22 +00:00
wiredfool
13e33010e0
Fix handling of capsule destruct sequencing
...
* PyCapsules call the destructor on Del
* Need to make sure that lifetime matches the array lifetime.
2025-02-03 17:41:29 +00:00
pre-commit-ci[bot]
9f94d4f9f8
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-02-03 15:29:30 +00:00
wiredfool
e7bd152aac
Error handling:
...
* Return memory error for allocation errors
* Return value error for invalid layout (block) or bad mode)
* Free children on releasing the array
* Only decrement refcount on the leaf array release
2025-02-03 15:23:55 +00:00
wiredfool
4fc8328fe9
remove unused code
2025-02-03 11:48:09 +00:00
wiredfool
6fad11a926
added mutex around refcount, renamed arrow_borrow to refcount
2025-01-30 21:28:11 +00:00
Andrew Murray
f598c03233
Removed unused file
2025-01-29 17:33:55 +11:00
Aleksandr Karpinskii
849768df7a
Remove unused declaration
2025-01-28 20:40:43 +11:00
pre-commit-ci[bot]
d02417e411
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-01-25 16:25:44 +00:00
wiredfool
55f5351e3d
Test for size, add offset support
2025-01-25 15:43:22 +00:00
wiredfool
388da5c4a4
Test rejection of incorrect modes
2025-01-25 15:12:41 +00:00
pre-commit-ci[bot]
f1349e973d
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-01-21 21:41:58 +00:00
wiredfool
97eb7c09ba
WIP -- First light of round trip of image -> arrow -> image
...
* basic safety included
* only respecting the types we emit
2025-01-21 21:27:41 +00:00
wiredfool
e1ef083f60
fix macoxisim
2025-01-20 19:28:20 +00:00
wiredfool
56780ceaae
Tests, lifetime changes
2025-01-20 19:28:15 +00:00
wiredfool
bdd4b3ae0c
Export as fixed width pixels, or just pixel values for single channel.
2025-01-20 19:27:38 +00:00
wiredfool
d44212d650
WIP - Non working struct encoding
...
* structs can't be encoded this way, they need to have one child array
per struct member.
* i.e. struct of arrays, rather than an array of structs.
2025-01-20 19:27:38 +00:00
wiredfool
5890e40365
WIP - Initial Pillow->Arrow support
...
* Fixed format, only for 4 channel images
2025-01-20 19:27:38 +00:00
Hugo van Kemenade
01792cbff0
Merge pull request #8652 from radarhere/tile
2025-01-08 19:03:31 +02:00
Hugo van Kemenade
6bce9aa461
Merge pull request #8645 from radarhere/mozjpeg
2025-01-08 18:44:21 +02:00
Andrew Murray
73a383fa72
Use rawmode instead of splitting and merging
2025-01-05 06:11:54 +11:00
Andrew Murray
ae59b03956
Do not use MozJPEG progressive default
2024-12-31 21:44:57 +11:00
Andrew Murray
f91b111fac
Removed pre-C99 definitions
2024-12-31 20:42:49 +11:00
Andrew Murray
ea962bf1d8
Added RGBX;16N to RGB unpacker
2024-12-29 16:59:32 +11:00
Andrew Murray
973cd6481a
Merge branch 'main' into jpeg2000_cmyk_save
2024-12-28 22:08:08 +11:00
Andrew Murray
05c981ffd7
Removed buffer_size variable
2024-12-28 15:41:19 +11:00
Andrew Murray
439d5cf2a0
Merge branch 'main' into jpeg2000_cmyk_save
2024-12-28 07:42:56 +11:00
Andrew Murray
fb3d80e390
Fixed connecting discontiguous corners
2024-12-24 00:41:27 +11:00
Andrew Murray
522505b714
Support saving CMYK JPEG2000 images
2024-12-10 18:33:12 +11:00
Andrew Murray
7edf952832
Do not close provided file handles with libtiff
2024-10-11 19:37:56 +11:00
Andrew Murray
7777260b6b
Merge pull request #8438 from radarhere/filter
2024-10-10 21:50:51 +11:00
pre-commit-ci[bot]
a609d65b33
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-10-07 17:56:23 +00:00
Hugo van Kemenade
535bf234c3
Merge pull request #8341 from uploadcare/use-ptr
...
Use ImagingCore.ptr instead of ImagingCore.id
2024-10-07 13:37:44 +03:00
Alexander Karpinsky
8e332eb3b0
Apply suggestions from code review
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-10-07 13:05:13 +04:00
Andrew Murray
418ae7caa2
Support BuiltinFilter for I;16* images
2024-10-05 01:12:51 +10:00
Hugo van Kemenade
c9c8d45898
Merge pull request #8422 from radarhere/resize_i16
2024-10-01 13:55:13 +03:00
Hugo van Kemenade
ea15e0e622
Merge pull request #8413 from radarhere/sgirle_memory
2024-10-01 13:52:22 +03:00
Hugo van Kemenade
747fdf5069
Merge pull request #8402 from radarhere/sgirle
2024-10-01 13:52:08 +03:00
Andrew Murray
42ad42c174
Merge branch 'main' into resize_i16
2024-09-30 19:50:26 +10:00
Andrew Murray
851449edfc
Free memory on early return
2024-09-30 19:49:13 +10:00
Andrew Murray
fc65e437cf
Prevent division by zero
2024-09-30 19:48:53 +10:00
Andrew Murray
cc0b6b9de9
Cast int before potentially exceeding INT_MAX
2024-09-30 19:47:52 +10:00
Andrew Murray
04a00d273c
Support all resampling filters when resizing I;16* images
2024-09-28 14:27:40 +10:00
Andrew Murray
e57da68190
Check image value before use
2024-09-20 19:20:53 +10:00
pre-commit-ci[bot]
9424b1a892
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-09-19 19:59:15 +00:00
PavlNekrasov
46f2fa17be
fix dereference before checking for NULL in the ImagingTransformAffine function
...
The `imIn` pointer is checked for `NULL`, but it seems to be dereferenced before this check. You must first make sure that the pointer is not `NULL` before using it.
2024-09-19 22:53:45 +03:00
Alexander Karpinsky
af521a1ce1
Merge branch 'main' into use-ptr
2024-09-18 22:24:46 +02:00