aboutsummaryrefslogtreecommitdiff
path: root/core/image
Commit message (Collapse)AuthorAgeFilesLines
* Remove outdated optimization attributes.Jeroen van Rijn2025-05-271-3/+0
|
* fix(core/image): off-by-one index when detecting certain JPEG imagesHisham Aburaqibah2025-01-051-1/+1
|
* Remove outdated PNG save helpersJeroen van Rijn2024-12-231-129/+1
|
* Fix image.which_bytesJeroen van Rijn2024-10-291-1/+1
| | | | Invert test in `which_bytes` to fix Softimage PIC detection. Fixes #4429.
* image: add panic when load is called without any registered loadersLaytan Laats2024-10-201-1/+9
|
* Moved all packages in core, base, vendor, tests and examples to use new #+ ↵Karl Zylinski2024-09-1414-14/+14
| | | | file tag syntax.
* core: improve package doc comments for the documentation generatorLaytan Laats2024-09-035-356/+351
|
* Added missing slice advancing.gordonshamway232024-08-231-0/+2
|
* Fix for blend_pixel.odin in core/image/common.odin not compilingKarl Zylinski2024-08-051-1/+1
|
* common.odin compile fixKarl Zylinski2024-08-051-1/+1
| | | Fix for "Error: Prefer to separate 'where' clauses with a comma rather than '&&'"
* Fix `err != 0` usesgingerBill2024-08-042-2/+2
|
* Replace `err != 0` with `err != nil` where possiblegingerBill2024-08-041-1/+1
|
* Add image.premultiply_alpha helper.Jeroen van Rijn2024-08-031-0/+36
|
* Add image.pixels_to_image helper.dev-2024-08Jeroen van Rijn2024-08-021-1/+28
|
* fix `@(optimization_mode)` usage in builtin collectionsLaytan Laats2024-07-083-7/+7
|
* Fix loads of indentation issues with mixing spaces and tabsgingerBill2024-06-292-4/+4
|
* Even more style fixesgingerBill2024-06-294-5/+5
|
* Indentation fixesgingerBill2024-06-292-58/+58
|
* Check for unneeded `transmute` with `-vet-cast`gingerBill2024-06-291-4/+2
|
* Clean up PNG code.Jeroen van Rijn2024-06-091-26/+20
|
* Use new blend helperJeroen van Rijn2024-06-092-28/+41
|
* Image: Add improved blending method and test it.Jeroen van Rijn2024-06-092-11/+26
|
* Add saving of 24 and 32-bit images to BMP format.Jeroen van Rijn2024-06-062-1/+110
|
* Rebased.Jeroen van Rijn2024-06-064-0/+801
|
* 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>