aboutsummaryrefslogtreecommitdiff
path: root/tests/core/image
Commit message (Collapse)AuthorAgeFilesLines
* Expand grayscale JPEGs to RGB(A)Jeroen van Rijn2025-09-091-0/+8
| | | | And handle grayscale jpeg example file in test suite.
* Implement .alpha_add_if_missing for JPEGJeroen van Rijn2025-09-091-13/+13
|
* Optionally save BMPJeroen van Rijn2025-09-091-6/+7
|
* Make progressive JPEGs return a proper errorJeroen van Rijn2025-09-091-2/+8
| | | | | | 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()`.
* Add basic test for JPG using Odin emblemJeroen van Rijn2025-09-081-0/+48
|
* Add `#+feature dynamic-literals` to testsgingerBill2025-01-051-0/+1
|
* Clean up PNG code.Jeroen van Rijn2024-06-091-1/+0
|
* Image: Add improved blending method and test it.Jeroen van Rijn2024-06-091-0/+36
|
* Nuke ancient comment.Jeroen van Rijn2024-06-071-1/+0
|
* utilize `odin test -all-packages` instead of (make/bat) scripts for running ↵Laytan Laats2024-06-071-2/+0
| | | | tests
* Test roundtripping BMPJeroen van Rijn2024-06-071-4/+20
|
* Rebased.Jeroen van Rijn2024-06-061-71/+581
|
* Change test runner options to `SCREAMING_SNAKE_CASE`Feoramund2024-06-021-1/+1
| | | | | This commit also changes the name of `test_select` to `ODIN_TEST_NAMES`, to better conform with the already-existing `-test-name:<name>` option.
* Update `tests\core\crypto`Jeroen van Rijn2024-06-021-9/+3
|
* Update `core:image` tests to use new runner.Jeroen van Rijn2024-06-022-189/+114
|
* correct newly found vetsLaytan Laats2024-04-031-2/+2
|
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-281-1/+1
|
* [core:image/tga] Add tests.Jeroen van Rijn2022-09-101-0/+23
|
* [image/png] Construct test paths differently.Jeroen van Rijn2022-06-111-1/+2
|
* [tests/core/image] Remove old crappy PPM writer.Jeroen van Rijn2022-04-301-201/+0
|
* [pbm] Also test PFM formats.Jeroen van Rijn2022-04-301-14/+95
|
* [pbm] Fixes.Jeroen van Rijn2022-04-301-42/+44
|
* [pbm] WIP unit tests. part deux.Jeroen van Rijn2022-04-301-2/+26
|
* [pbm] WIP unit tests.Jeroen van Rijn2022-04-301-15/+43
|
* [pbm] Normalize some errors, correct .depthJeroen van Rijn2022-04-301-6/+6
|
* [QOI] Add support for RGB images (previously loader always output RGBA).Jeroen van Rijn2022-04-121-5/+29
| | | | Also add QOI to CI test suite by roundtripping 8-bit RGB(A) through QOI and checking the hashes match.
* [image] Add QOI load/save.Jeroen van Rijn2022-04-121-1/+1
| | | | | | | | Additionally: - Firm up PNG loader with some additional checks. - Add helper functions to `core:image` to expand grayscale to RGB(A), and so on. TODO: Possibly replace PNG's post-processing steps with calls to the new helper functions.
* [varint] Add LEB128 decoding + testsJeroen van Rijn2022-03-081-16/+14
| | | | Also make tests in general less spammy: Don't print [PASS] for each successful test, only report failures and progress.
* [tests] Make test runners exit with errorlevel 1 if a test fails.Jeroen van Rijn2022-03-031-0/+3
|
* Update testsgingerBill2022-01-201-1/+1
|
* Update `ODIN_ENDIAN` usagegingerBill2022-01-161-1/+1
|
* png: Move metadata.Jeroen van Rijn2021-10-061-3/+1
|
* png: Add sane compile-time maximums for dimensions + chunk sizes.Jeroen van Rijn2021-10-061-2/+1
|
* png + compress: Rearrange error unions.Jeroen van Rijn2021-10-062-13/+17
|
* Add additional error checking to helpers.Jeroen van Rijn2021-10-061-9/+9
|
* Custom test runner.Jeroen van Rijn2021-09-081-9/+22
|
* Add Makefile for tests.Jeroen van Rijn2021-09-071-1/+1
|
* CI tests for PNG, GZIP + ZLIB.Jeroen van Rijn2021-09-071-0/+1922