gingerBill
|
3e7e779abf
|
Replace core:* to base:* where appropriate
|
2024-01-28 22:18:51 +00:00 |
|
gingerBill
|
49ab935ae9
|
Disallow for in in favour of for _ in
|
2023-08-08 14:56:12 +01:00 |
|
gingerBill
|
44ea82f845
|
Clean up usage of using throughout core and vendor
|
2023-07-31 11:46:40 +01:00 |
|
gingerBill
|
0de7df9eab
|
Improve //+vet; remove using in many places; add //+vet !using-stmt where necessary
|
2023-07-31 11:37:14 +01:00 |
|
gingerBill
|
3dec55f009
|
Replace x in &y Use &v in y syntax through core & vendor for switch/for statements
|
2023-06-26 15:42:57 +01:00 |
|
gingerBill
|
9b54b99bf6
|
Use positional and named arguments within the core library
|
2023-06-21 01:17:05 +01:00 |
|
gingerBill
|
1e17f44991
|
Improve error handling for resize and reserve procedures
|
2023-05-22 11:47:36 +01:00 |
|
Jeroen van Rijn
|
bbf40bf318
|
Rename save_to_memory for consistency.
|
2023-03-24 10:47:33 +01:00 |
|
gingerBill
|
90c44c34a9
|
Make core:image packages work on js platform (wasm32) by not requiring core:os
|
2023-03-23 20:53:19 +00:00 |
|
gingerBill
|
986cba584e
|
Add runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD where appropriate
|
2023-02-10 16:23:33 +00:00 |
|
gingerBill
|
f7211408fc
|
Merge pull request #1544 from FancyKillerPanda/build_ignore
Changed `//+ignore` to `//+build ignore` and emit a warning for unknown tags
|
2022-11-03 12:58:26 +00:00 |
|
Jeroen van Rijn
|
3d4698debe
|
[TGA] Add B&W and RLE color-mapped.
|
2022-08-29 00:29:50 +02:00 |
|
Jeroen van Rijn
|
294bd6a446
|
[TGA] Add B5G5R5 15- and 16-bit support.
|
2022-08-28 21:48:51 +02:00 |
|
Jeroen van Rijn
|
d0109db23b
|
[TGA] Add support for Top-Right and Bottom-Right origins.
|
2022-08-28 19:41:42 +02:00 |
|
Jeroen van Rijn
|
f74e281efa
|
Various changes to TGA reader
- Style changes
- Change ptr usage to slice indexing
- Add TGA Footer
Also, add `peek_data` with offset to `compress`.
|
2022-08-28 18:25:07 +02:00 |
|
Benoit Jacquier
|
6363013dd8
|
style fix
|
2022-08-27 19:45:14 +02:00 |
|
Benoit Jacquier
|
934131abf8
|
Add RLE supports for TGA loader
|
2022-08-27 19:30:34 +02:00 |
|
Benoit Jacquier
|
4e5337412a
|
Merge remote-tracking branch 'origin/master'
|
2022-08-27 16:22:37 +02:00 |
|
Benoit Jacquier
|
00f2e911a7
|
Add support for basic TGA loading
|
2022-08-27 16:07:21 +02:00 |
|
gingerBill
|
a5a56e061c
|
Fix to png example.odin
|
2022-08-11 11:10:05 +01:00 |
|
cui fliter
|
dc8b7a0eb8
|
fix some typos
Signed-off-by: cui fliter <imcusg@gmail.com>
|
2022-08-05 20:10:20 +08:00 |
|
gingerBill
|
a2117d23b2
|
Change unreachable with panic
|
2022-08-05 12:41:25 +01:00 |
|
gingerBill
|
c90b7c38f1
|
Rename strings.Builder procedures to be consistent with the rest of the core library
|
2022-07-11 11:50:08 +01:00 |
|
gingerBill
|
f7b18cd86e
|
Add DjVu
|
2022-05-14 15:32:28 +01:00 |
|
gingerBill
|
d74e4b427d
|
Remove bool return on image.destroy
|
2022-05-14 15:16:56 +01:00 |
|
gingerBill
|
22dc020647
|
Destroy pixel buffer
|
2022-05-14 15:16:14 +01:00 |
|
gingerBill
|
e8485ee7e7
|
Correction to image.destroy
|
2022-05-14 15:15:04 +01:00 |
|
gingerBill
|
c516fb947f
|
Add image.destroy
|
2022-05-14 15:11:23 +01:00 |
|
gingerBill
|
3aa0a733f3
|
Add destroy with loader
|
2022-05-14 15:06:55 +01:00 |
|
gingerBill
|
4e080057fb
|
Rename load_from_buffer to load_from_bytes
|
2022-05-14 15:01:17 +01:00 |
|
gingerBill
|
9c1f270bd5
|
Rename load_from_slice to load_from_bytes across core
|
2022-05-14 14:55:15 +01:00 |
|
gingerBill
|
e46d87b221
|
Fix type and keep -vet happy
|
2022-05-14 14:47:58 +01:00 |
|
gingerBill
|
5af7004f44
|
Add image packages to examples/all
|
2022-05-14 14:43:50 +01:00 |
|
gingerBill
|
01e8e682c0
|
Generalized core:image loader
```odin
import "core:image"
import "core:image/png"
...
img, err := image.load_from_file("path.png")
```
|
2022-05-14 14:38:26 +01:00 |
|
Jeroen van Rijn
|
7057f5fc11
|
Add PAM and PFM to format detection.
|
2022-05-14 15:17:37 +02:00 |
|
gingerBill
|
f17a9dd5e7
|
Add even more file formats
|
2022-05-14 13:59:49 +01:00 |
|
gingerBill
|
0cca42a1f4
|
Add image.which file format testing procedures
|
2022-05-14 13:46:10 +01:00 |
|
WalterPlinge
|
74d3bcec05
|
Fixed the depth values in the doc file, made some info more clear
|
2022-05-01 21:29:09 +01:00 |
|
Jeroen van Rijn
|
6ade9acc4d
|
[pbm] Remove stray comment.
|
2022-04-30 22:54:53 +02:00 |
|
Jeroen van Rijn
|
694c13fe86
|
Merge branch 'master' into pr/1726
|
2022-04-30 21:01:04 +02:00 |
|
Jeroen van Rijn
|
8bd16c32f3
|
[pbm] Fixes.
|
2022-04-30 21:00:32 +02:00 |
|
Jeroen van Rijn
|
dd8b71e353
|
[pbm] WIP unit tests.
|
2022-04-30 17:52:23 +02:00 |
|
Jeroen van Rijn
|
d6a8216ce4
|
[pbm] Normalize some errors, correct .depth
|
2022-04-30 14:34:07 +02:00 |
|
Jeroen van Rijn
|
ae3deea153
|
Merge branch 'master' into pr/1726
|
2022-04-30 12:29:28 +02:00 |
|
hikari
|
0ad448f1c7
|
sys/windows: add a couple of procedures and types
|
2022-04-30 11:21:37 +03:00 |
|
Jeroen van Rijn
|
fdd24f787f
|
[image/tga] Writer for RGB(A) 8-bit images.
|
2022-04-18 23:28:34 +02:00 |
|
WalterPlinge
|
b6abd691f4
|
Image: Fix implicit enum error
|
2022-04-18 20:42:50 +01:00 |
|
WalterPlinge
|
8d370fabdd
|
Added initial Netpbm image format support
|
2022-04-18 20:29:37 +01:00 |
|
Jeroen van Rijn
|
bf712e9355
|
[QOI] Add support for RGB images (previously loader always output RGBA).
Also add QOI to CI test suite by roundtripping 8-bit RGB(A) through QOI and checking the hashes match.
|
2022-04-12 19:23:48 +02:00 |
|
Jeroen van Rijn
|
ab9457346d
|
[PNG] Remove debug printf.
|
2022-04-12 18:26:10 +02:00 |
|