aboutsummaryrefslogtreecommitdiff
path: root/core/image
Commit message (Collapse)AuthorAgeFilesLines
* Small updates to JPEG loaderJeroen van Rijn2025-09-092-736/+748
| | | | | - Remove some unnecessary nesting - Add frame type (SOF0, et al) to metadata if `.return_metadata` is used
* Expand grayscale JPEGs to RGB(A)Jeroen van Rijn2025-09-091-10/+24
| | | | And handle grayscale jpeg example file in test suite.
* Implement .alpha_add_if_missing for JPEGJeroen van Rijn2025-09-091-17/+83
|
* Make progressive JPEGs return a proper errorJeroen van Rijn2025-09-091-1/+1
| | | | | | Add progressive JPEG file to test suite and test that loading it returns the expected `Unsupported_Frame_Type` error. This JPEG variant will hopefully be supported in the future, but we should at least return an error rather than use `unsupported()`.
* Address some naming issuesJeroen van Rijn2025-09-081-16/+20
|
* Make `_register` contextlessJeroen van Rijn2025-09-081-1/+1
|
* jpeg: extract Exif dataIllusionMan12122025-09-084-22/+87
|
* jpeg: support images that encode zero-based component idsIllusionMan12122025-09-081-3/+12
|
* image/jpeg: more bounds checking and skip malformed APP0Hisham Aburaqibah2025-09-082-15/+26
| | | | Also increase the maximum huffman symbols to 176
* image/jpeg: better pack APP0 structsHisham Aburaqibah2025-09-082-12/+12
|
* image/jpeg: implement jpeg decoding for baseline and extended sequential jpegsHisham Aburaqibah2025-09-084-2/+1082
|
* core/image: some jpegs have APP13 or COM markers after SOIHisham Aburaqibah2025-09-081-1/+1
|
* [core:image/png] use .Image_Dimensions_Too_LargeMichael Lee2025-09-081-1/+5
|
* Require `@(init)` and `@(fini)` to be `proc "contextless" ()`gingerBill2025-08-086-10/+10
|
* 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
|