| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add more uses of `or_return` | gingerBill | 2021-08-15 | 1 | -30/+9 |
| | | |||||
| * | ZLIB: cleanup. | Jeroen van Rijn | 2021-06-27 | 1 | -2/+2 |
| | | |||||
| * | PNG: Inform `inflate` about expected output size for extra speed. | Jeroen van Rijn | 2021-06-27 | 1 | -26/+28 |
| | | |||||
| * | PNG: Let PNG use the new compress I/O routines. | Jeroen van Rijn | 2021-06-27 | 1 | -12/+6 |
| | | |||||
| * | All reads now skip stream if in memory. | Jeroen van Rijn | 2021-06-23 | 1 | -11/+11 |
| | | |||||
| * | Refactor ZLIB structs. | Jeroen van Rijn | 2021-06-23 | 1 | -0/+16 |
| | | |||||
| * | Move `bytes` utils back to EXR code for the time being. | Jeroen van Rijn | 2021-06-22 | 1 | -24/+24 |
| | | | | | Also, allow PNG example to be run directly from `core:image/png` directory. | ||||
| * | PNG: Fix leak if you don't ask for metadata. | Jeroen van Rijn | 2021-06-21 | 2 | -8/+4 |
| | | |||||
| * | Comment out tracy imports. | Jeroen van Rijn | 2021-06-21 | 1 | -0/+4 |
| | | |||||
| * | ZLIB: Start optimization. | Jeroen van Rijn | 2021-06-21 | 4 | -8/+44 |
| | | |||||
| * | Replace `core:image`'s `sidecar` with explicit `metadata_ptr` and ↵ | Jeroen van Rijn | 2021-06-21 | 3 | -23/+23 |
| | | | | | | | | | | | | | | | | `metadata_type`. To unpack, use: ```odin v: ^png.Info; if img.metadata_ptr != nil && img.metadata_type == png.Info { v = (^png.Info)(img.metadata_ptr); ... } ``` | ||||
| * | Change PNG's img.sidecar to ^Info, make img.depth an int. | Jeroen van Rijn | 2021-06-20 | 3 | -9/+12 |
| | | | | | | | | | | For compatibility with the upcoming OpenEXR code, img.depth is now an int. Like OpenEXR's code, it will now also return metadata as ^Info instead of Info. The example was updated to retrieve the metadata this way. It regrettably does not fix: #1018. That seems to be a codegen issue in the test runner or elsewhere. | ||||
| * | More minor stylization changes (remove unneeded parentheses) | gingerBill | 2021-06-14 | 1 | -2/+2 |
| | | |||||
| * | Minor formatting changes | gingerBill | 2021-06-14 | 4 | -362/+356 |
| | | |||||
| * | Core library clean up: Make range expressions more consistent and replace ↵ | gingerBill | 2021-06-14 | 1 | -10/+10 |
| | | | | | uses of `..` with `..=` | ||||
| * | Fix gray+alpha alpha extract. | Jeroen van Rijn | 2021-05-04 | 1 | -4/+4 |
| | | |||||
| * | Change General_Error.OK to nil | Jeroen van Rijn | 2021-05-03 | 3 | -27/+27 |
| | | |||||
| * | Convert `core:compress` and `core:image` error checks to new union comparison. | Jeroen van Rijn | 2021-05-03 | 3 | -17/+16 |
| | | | | | No more need for `is_kind(err, Error_Value)`, just test err == Error_Value. | ||||
| * | Remove debug print in image helper. | Jeroen van Rijn | 2021-05-03 | 1 | -5/+1 |
| | | |||||
| * | Don't need other path for grayscale output. | Jeroen van Rijn | 2021-05-02 | 1 | -13/+0 |
| | | |||||
| * | Add new PNG post processing options. | Jeroen van Rijn | 2021-05-02 | 2 | -16/+142 |
| | | |||||
| * | Fix Paeth for bit depth < 8. | Jeroen van Rijn | 2021-05-01 | 1 | -1/+1 |
| | | |||||
| * | PNG: Fix tRNS handling. | Jeroen van Rijn | 2021-05-01 | 1 | -18/+16 |
| | | |||||
| * | Fix a few more cases in which bKGD wasn't properly applied. | Jeroen van Rijn | 2021-05-01 | 1 | -12/+71 |
| | | |||||
| * | PNG: Fix test for when premultiplication is needed. | Jeroen van Rijn | 2021-05-01 | 1 | -2/+2 |
| | | |||||
| * | Minor stylistic code changes to compress and image packages | gingerBill | 2021-04-30 | 3 | -459/+455 |
| | | |||||
| * | Use regular allocator from png+gzip's `load_from_file`. | Jeroen van Rijn | 2021-04-30 | 1 | -4/+2 |
| | | | | | | | | | | | | | I would've used `os.stream_from_handle`, but: - Parts of it seem to be implemented for Windows only at the moment. - PNG's `peek_data` using that stream didn't manage to rewind and thus tried to parse the data after the header as the header. Two things must happen: - The `os.stream_from_handle` implementation needs to be fixed. - PNG and GZIP's parsers need to be able to handle streams that can't rewind or seek (backward). Those fixes are on my TODO list but are exceed the scope of this patch. | ||||
| * | Add `compress` and `image` to core. | Jeroen van Rijn | 2021-04-30 | 4 | -0/+2545 |