Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | api: Remove NSGIF_ERR_FRAME_COUNT error code | Michael Drake | 2023-01-22 | 1 | -5/+0 |
| | |||||
* | api: Add interlaced bool to frame info | Michael Drake | 2023-01-22 | 1 | -1/+2 |
| | |||||
* | docs: Various doxygen comment fixes | Michael Drake | 2023-01-01 | 1 | -7/+8 |
| | |||||
* | API: Add call to indicate input data is complete | Michael Drake | 2022-11-04 | 1 | -0/+29 |
| | | | | | | By distinguising between waiting for more data and a broken truncated file, we can decode what we can of any final truncated frame. | ||||
* | API: Replace colour_table with {global|local}_palette. | Michael Drake | 2022-05-08 | 1 | -2/+2 |
| | | | | Avoiding use of "colour" because of different spelling in US. | ||||
* | API: Add function to get a frame's local palette. | Michael Drake | 2022-05-08 | 1 | -0/+20 |
| | |||||
* | API: Add function to get global colour table. | Michael Drake | 2022-05-07 | 1 | -0/+20 |
| | |||||
* | API: Store presence of global/local colour table in GIF/frame info. | Michael Drake | 2022-05-07 | 1 | -0/+4 |
| | |||||
* | API: Add optional bitmap rowspan callback. | Michael Drake | 2022-05-01 | 1 | -1/+16 |
| | |||||
* | API: Add function to control handling of small frame delays. | Michael Drake | 2022-04-04 | 1 | -0/+31 |
| | | | | | | | | By default we match the mainstream behaviour, and this new call allows that to be overriden by the client. Note this only affects animations that are managed by LibNSGIF via nsgif_frame_prepare(). | ||||
* | API: Don't expose loop_count. | Michael Drake | 2022-04-04 | 1 | -2/+0 |
| | | | | | It is internal state for a libnsgif managed animation, not information about the GIF. | ||||
* | API: Use uint32_t for background colour info member. | Michael Drake | 2022-03-24 | 1 | -1/+1 |
| | | | | | This avoids increasing alignment of pointer type where we handle the background fill. | ||||
* | API: GIF: Take client colour layout on nsgif_create(). | Michael Drake | 2022-03-23 | 1 | -2/+4 |
| | | | | Map the requested layout to appropriate pixel channel offsets. | ||||
* | API: Add enum for colour component order selection. | Michael Drake | 2022-03-23 | 1 | -3/+58 |
| | | | | | This will allow the client to choose the colour component order for decoded bitmaps. | ||||
* | API: Docs: Document meaning of zero for loop_max gif info member. | Michael Drake | 2022-03-08 | 1 | -1/+1 |
| | |||||
* | API: Document nsgif_data_scan return code errors being non-fatal. | Michael Drake | 2022-03-03 | 1 | -0/+3 |
| | |||||
* | API: Single error code for end of data. | Michael Drake | 2022-03-03 | 1 | -6/+1 |
| | |||||
* | API: Expose transparency flag in frame info. | Michael Drake | 2022-03-02 | 1 | -0/+2 |
| | |||||
* | API: Expose background colour in nsgif info. | Michael Drake | 2022-03-02 | 1 | -0/+2 |
| | |||||
* | API: Minor code documentation improvements for public API. | Michael Drake | 2022-03-01 | 1 | -17/+20 |
| | |||||
* | API: Document pixel buffer format in header. | Michael Drake | 2022-03-01 | 1 | -0/+5 |
| | |||||
* | Source: Update copyright years. | Michael Drake | 2022-02-26 | 1 | -1/+1 |
| | |||||
* | API: Consistent typedef naming convention. | Michael Drake | 2022-02-26 | 1 | -12/+14 |
| | |||||
* | API: Add public access function for frame information. | Michael Drake | 2022-02-26 | 1 | -34/+92 |
| | |||||
* | GIF: Minimum gif delay shouldn't be public. | Michael Drake | 2022-02-26 | 1 | -2/+0 |
| | |||||
* | API: Clean up error codes and add nsgif_strerror function. | Michael Drake | 2022-02-26 | 1 | -31/+73 |
| | |||||
* | API: Clean up client bitmap interface. | Michael Drake | 2022-02-24 | 1 | -25/+62 |
| | |||||
* | API: Rework library API to keep internal workings private. | Michael Drake | 2022-02-23 | 1 | -109/+117 |
| | |||||
* | API: Rename nsgif_animation to nsgif. | Michael Drake | 2022-02-23 | 1 | -7/+7 |
| | |||||
* | API: Split out redraw rectangle. | Michael Drake | 2022-02-23 | 1 | -8/+15 |
| | |||||
* | LIB: Rename public header and source file. | Michael Drake | 2022-02-23 | 1 | -0/+0 |
| | | | | | This allows the library header to have a name consistent with the library soname. | ||||
* | LIB: Use consistent nsgif_ / NSGIF_ namespace. | Michael Drake | 2022-02-23 | 1 | -50/+50 |
| | |||||
* | GIF: Rename flag for whether the frame image has been decoded. | Michael Drake | 2022-02-21 | 1 | -2/+2 |
| | |||||
* | API: Use stdint types. | Michael Drake | 2021-11-24 | 1 | -25/+25 |
| | |||||
* | GIF: Unify insufficient data error codes. | Michael Drake | 2021-11-19 | 1 | -7/+4 |
| | | | | | | | | | | | | | | | There is no difference in what the client needs to do. If there are displayable frames, they can display them. Otherwise more data is needed. Internally only `GIF_INSUFFICIENT_DATA` is used now. To remove the `GIF_INSUFFICIENT_FRAME_DATA` could make existing client applications fail to compile, so it is left as an alias to the same value. At some point the API will be changed drastically, but for now I want existing applications to still build. | ||||
* | Add myself to the copyright headers. | Michael Drake | 2021-11-19 | 1 | -0/+1 |
| | |||||
* | API: Fix typos in public header. | Michael Drake | 2021-11-05 | 1 | -4/+4 |
| | |||||
* | API: Clean up public header indentation. | Michael Drake | 2021-11-05 | 1 | -115/+113 |
| | |||||
* | GIF: Constify raw source data. | Michael Drake | 2021-11-04 | 1 | -3/+3 |
| | |||||
* | GIF: Store transparancy index on the frame. | Michael Drake | 2021-11-03 | 1 | -1/+1 |
| | | | | If the frame has no transparency, it is set to an invalid value. | ||||
* | GIF: Change background colour handling. | Michael Drake | 2021-11-02 | 1 | -2/+4 |
| | | | | | | | | | | | We used to memset a colour we looked up in the colour table when clearing the previous frame. This didn't make sense, because the colour is four bytes wide. Now we write the actual colour in properly. Also, the background color comes from the global colour table (if one exists), rather than from the local colour table. If there is no colour table, black is used. | ||||
* | GIF: Abstract colour table decoding. | Michael Drake | 2021-11-02 | 1 | -0/+2 |
| | |||||
* | GIF: Move image descriptor parsing to frame initialisation. | Michael Drake | 2021-10-31 | 1 | -0/+2 |
| | |||||
* | Disposal Method: Handle Restore to previous with saved image. | Michael Drake | 2020-07-06 | 1 | -0/+9 |
| | | | | | | | | | | | Previously we decoded a previous frame over the current frame data to handle resoration. However, the previous frame depended on its own previous frame state for correct decode. Now we just make a copy of the previous frame data and copy it back to handle the GIF_FRAME_RESTORE case. See: https://github.com/libvips/libvips/issues/1084#issuecomment-653497200 | ||||
* | GIF decoding: Remove old LZW decoder and port library to new implementation. | Michael Drake | 2017-04-05 | 1 | -0/+2 |
| | |||||
* | Remove pointless current_error from API surface. | Michael Drake | 2017-02-06 | 1 | -2/+0 |
| | |||||
* | Add doxygen config and update formatting and doc comments | Vincent Sanders | 2017-01-24 | 1 | -66/+141 |
| | |||||
* | Missing include | Chris Young | 2010-11-21 | 1 | -0/+1 |
| | | | | svn path=/trunk/libnsgif/; revision=10949 | ||||
* | First cut at a port to the core buildsystem | John Mark Bell | 2009-03-29 | 1 | -0/+107 |
svn path=/trunk/libnsgif/; revision=6983 |