wiredfool
adfb66f1d6
Fix Compliation errors from rebase
2025-07-20 10:18:59 +02:00
eyedav
84aa4372fd
linter changes
2025-07-19 17:06:44 +02:00
eyedav
9527ce7f8c
change mode structs to enums
...
Structs have better type safety, but they make allocation more difficult, especially when we have multiple Python modules trying to share the same code.
2025-07-19 16:54:32 +02:00
Yay295
31118b0019
set pointer to NULL after free
2025-07-19 15:54:15 +02:00
eyedav
e5bc5b4ffa
use mode structs in Pack.c
2025-07-19 15:47:07 +02:00
Andrew Murray
583f0a50d5
Removed BGR;15, BGR;16 and BGR;24 modes
2025-07-01 23:57:46 +10:00
Aleksandr Karpinskii
dc53356c1a
Not needed since memcpy is used here
2024-07-28 16:24:51 +04:00
Yay295
82b7b8a9ee
Fix some comments
2024-04-11 00:29:31 -05:00
Andrew Murray
d682c18ded
Use "gray" more consistently
2023-10-19 19:12:01 +11:00
Andrew Murray
e908e10aab
Support packing I;16N
2022-12-28 17:47:38 +11:00
Andrew Murray
852859476b
Added rawmode argument to getpalette()
2022-02-17 10:15:03 +11:00
Andrew Murray
aeb549ef8f
Fixed unpacking I;16B to I;16 on big endian
2021-12-28 17:38:01 +11:00
Andrew Murray
46b7e86bab
Format with ClangFormat
2021-01-03 14:17:51 +11:00
Andrew Murray
c1d9931adc
Added braces
2020-05-10 19:56:36 +10:00
Alexander
a4a6a9e83a
Add La mode packing and unpacking
2019-12-04 22:47:15 +03:00
Rolf Eike Beer
7a4af2b767
fix unaligned accesses by using memcpy()
2019-06-29 21:04:11 +02:00
Jakub Kulík
e073f4add0
Fix SPARC memory alignment issues in Pack/Unpack functions
2019-05-20 14:25:27 +02:00
Andrew Murray
ce9dd67540
Added I;16 PNG save
2019-03-12 17:28:42 +11:00
wiredfool
0bb3f4fee9
source layout reorg
2017-12-28 14:49:47 +00:00