aboutsummaryrefslogtreecommitdiff
path: root/core/image
Commit message (Collapse)AuthorAgeFilesLines
* Apply fix to QOI decoder as well.Jeroen van Rijn2024-05-181-378/+377
|
* Fix qoi encode bug.Jeroen van Rijn2024-05-181-2/+0
|
* Fix the format of some `doc.odin` files of the `core` library which did not ↵Maurizio M. Gavioli2024-04-141-18/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | made into the documentation. `c/frontend/tokenizer`: add proper "Example:" header to demo example code, removed empty lines. `container/bit_array`: moved comment before package; aligned narrative lines to left margin; converted case lines into bulleted lines ("- "); converted individual examples to single-tab-indented preformatted text. `dynlib`: removed "//+build ignore" line; added newline at EOF. `image/netpmb`: converted indented lines of "Reading", "Wrting" and "Some syntax..." into bulleted lists; "Formats" indented lines kept as they are as the preformatted text seems relevant to keep the alignments; doubly indented lines kept as single-indented to keep them different (as the format does not allow for two-level bulleted lists); removed empy lines. `os/os2`: WIP, not modified `sys/info`: removed "//+build ignore" line; converted tab-indented initial description into regular left-margin comment; moved uncommented sample code within the doc comment as an "Example:"; moved simple- and double-tabbed separate comments with sample Windows and macOS outputs within the doc comment as bulleted headlines with preformatted output listings; removed now empty comments and blank lines after the package line. `text/i18n`: removed "//+build ignore" line; moved the pacakge line at the end; de-indented the tab-indented introductory narrative; moved sample code comments into the doc comment as tab-indented code with a proper "Example:" heading; removed "```" MD attempts at code formatting. `text/table`: unindented the comment lines of a descriptive kind; headlines of major subdivisions are marked as bold; kept code samples as tab-indented preformatted text (as there are several of them, the standard "Example:" and "Output:" headings cannot be used) removing the "```" MD attempts at code formatting; removed in-between blank lines.
* correct newly found vetsLaytan Laats2024-04-031-6/+6
|
* Add `#no_broadcast` procedure parameter to disallow automatic array ↵gingerBill2024-03-211-18/+18
| | | | programming broadcasting on procedure arguments
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-284-5/+5
|
* Disallow `for in` in favour of `for _ in`gingerBill2023-08-081-1/+1
|
* Clean up usage of `using` throughout core and vendorgingerBill2023-07-311-7/+8
|
* Improve `//+vet`; remove `using` in many places; add `//+vet !using-stmt` ↵gingerBill2023-07-313-12/+12
| | | | where necessary
* Replace `x in &y` Use `&v in y` syntax through core & vendor for ↵gingerBill2023-06-262-7/+7
| | | | `switch`/`for` statements
* Use positional and named arguments within the core librarygingerBill2023-06-211-4/+4
|
* Improve error handling for `resize` and `reserve` proceduresgingerBill2023-05-224-14/+14
|
* Rename `save_to_memory` for consistency.Jeroen van Rijn2023-03-246-8/+8
|
* Make `core:image` packages work on `js` platform (wasm32) by not requiring ↵gingerBill2023-03-2316-191/+247
| | | | `core:os`
* Add `runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD` where appropriategingerBill2023-02-103-21/+31
|
* Merge pull request #1544 from FancyKillerPanda/build_ignoregingerBill2022-11-031-1/+1
|\ | | | | Changed `//+ignore` to `//+build ignore` and emit a warning for unknown tags
| * Changed //+ignore to //+build ignore.FancyKillerPanda2022-02-241-1/+1
| |
* | [TGA] Add B&W and RLE color-mapped.Jeroen van Rijn2022-08-292-12/+92
| |
* | [TGA] Add B5G5R5 15- and 16-bit support.Jeroen van Rijn2022-08-281-41/+98
| |
* | [TGA] Add support for Top-Right and Bottom-Right origins.Jeroen van Rijn2022-08-282-10/+31
| |
* | Various changes to TGA readerJeroen van Rijn2022-08-282-50/+100
| | | | | | | | | | | | | | | | - Style changes - Change ptr usage to slice indexing - Add TGA Footer Also, add `peek_data` with offset to `compress`.
* | style fixBenoit Jacquier2022-08-271-1/+1
| |
* | Add RLE supports for TGA loaderBenoit Jacquier2022-08-272-18/+57
| |
* | Merge remote-tracking branch 'origin/master'Benoit Jacquier2022-08-273-9/+9
|\ \
| * | Fix to png example.odingingerBill2022-08-111-1/+1
| | |
| * | fix some typoscui fliter2022-08-051-5/+5
| | | | | | | | | | | | Signed-off-by: cui fliter <imcusg@gmail.com>
| * | Change `unreachable` with `panic`gingerBill2022-08-051-3/+3
| | |
* | | Add support for basic TGA loadingBenoit Jacquier2022-08-272-1/+151
|/ /
* | Rename strings.Builder procedures to be consistent with the rest of the core ↵gingerBill2022-07-111-2/+2
| | | | | | | | library
* | Add DjVugingerBill2022-05-141-0/+6
| |
* | Remove `bool` return on `image.destroy`gingerBill2022-05-141-3/+2
| |
* | Destroy pixel buffergingerBill2022-05-141-0/+2
| |
* | Correction to `image.destroy`gingerBill2022-05-142-2/+4
| |
* | Add `image.destroy`gingerBill2022-05-146-16/+29
| |
* | Add `destroy` with loadergingerBill2022-05-144-14/+21
| |
* | Rename `load_from_buffer` to `load_from_bytes`gingerBill2022-05-141-4/+4
| |
* | Rename `load_from_slice` to `load_from_bytes` across `core`gingerBill2022-05-143-16/+14
| |
* | Fix type and keep -vet happygingerBill2022-05-142-2/+1
| |
* | Add image packages to examples/allgingerBill2022-05-141-5/+5
| |
* | Generalized `core:image` loadergingerBill2022-05-145-0/+63
| | | | | | | | | | | | | | | | | | | | | | ```odin import "core:image" import "core:image/png" ... img, err := image.load_from_file("path.png") ```
* | Add PAM and PFM to format detection.Jeroen van Rijn2022-05-141-1/+5
| |
* | Add even more file formatsgingerBill2022-05-141-6/+25
| |
* | Add `image.which` file format testing proceduresgingerBill2022-05-141-0/+150
| |
* | Fixed the depth values in the doc file, made some info more clearWalterPlinge2022-05-012-10/+11
| |
* | [pbm] Remove stray comment.Jeroen van Rijn2022-04-301-1/+0
| |
* | Merge branch 'master' into pr/1726Jeroen van Rijn2022-04-301-1/+1
|\ \
| * | sys/windows: add a couple of procedures and typeshikari2022-04-301-1/+1
| | |
* | | [pbm] Fixes.Jeroen van Rijn2022-04-302-25/+25
| | |
* | | [pbm] WIP unit tests.Jeroen van Rijn2022-04-302-27/+112
| | |
* | | [pbm] Normalize some errors, correct .depthJeroen van Rijn2022-04-305-71/+64
| | |