summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* api: Remove NSGIF_ERR_FRAME_COUNT error codeMichael Drake2023-01-221-5/+0
|
* api: Add interlaced bool to frame infoMichael Drake2023-01-221-1/+2
|
* docs: Various doxygen comment fixesMichael Drake2023-01-011-7/+8
|
* API: Add call to indicate input data is completeMichael Drake2022-11-041-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 Drake2022-05-081-2/+2
| | | | Avoiding use of "colour" because of different spelling in US.
* API: Add function to get a frame's local palette.Michael Drake2022-05-081-0/+20
|
* API: Add function to get global colour table.Michael Drake2022-05-071-0/+20
|
* API: Store presence of global/local colour table in GIF/frame info.Michael Drake2022-05-071-0/+4
|
* API: Add optional bitmap rowspan callback.Michael Drake2022-05-011-1/+16
|
* API: Add function to control handling of small frame delays.Michael Drake2022-04-041-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 Drake2022-04-041-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 Drake2022-03-241-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 Drake2022-03-231-2/+4
| | | | Map the requested layout to appropriate pixel channel offsets.
* API: Add enum for colour component order selection.Michael Drake2022-03-231-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 Drake2022-03-081-1/+1
|
* API: Document nsgif_data_scan return code errors being non-fatal.Michael Drake2022-03-031-0/+3
|
* API: Single error code for end of data.Michael Drake2022-03-031-6/+1
|
* API: Expose transparency flag in frame info.Michael Drake2022-03-021-0/+2
|
* API: Expose background colour in nsgif info.Michael Drake2022-03-021-0/+2
|
* API: Minor code documentation improvements for public API.Michael Drake2022-03-011-17/+20
|
* API: Document pixel buffer format in header.Michael Drake2022-03-011-0/+5
|
* Source: Update copyright years.Michael Drake2022-02-261-1/+1
|
* API: Consistent typedef naming convention.Michael Drake2022-02-261-12/+14
|
* API: Add public access function for frame information.Michael Drake2022-02-261-34/+92
|
* GIF: Minimum gif delay shouldn't be public.Michael Drake2022-02-261-2/+0
|
* API: Clean up error codes and add nsgif_strerror function.Michael Drake2022-02-261-31/+73
|
* API: Clean up client bitmap interface.Michael Drake2022-02-241-25/+62
|
* API: Rework library API to keep internal workings private.Michael Drake2022-02-231-109/+117
|
* API: Rename nsgif_animation to nsgif.Michael Drake2022-02-231-7/+7
|
* API: Split out redraw rectangle.Michael Drake2022-02-231-8/+15
|
* LIB: Rename public header and source file.Michael Drake2022-02-231-0/+0
| | | | | This allows the library header to have a name consistent with the library soname.
* LIB: Use consistent nsgif_ / NSGIF_ namespace.Michael Drake2022-02-231-50/+50
|
* GIF: Rename flag for whether the frame image has been decoded.Michael Drake2022-02-211-2/+2
|
* API: Use stdint types.Michael Drake2021-11-241-25/+25
|
* GIF: Unify insufficient data error codes.Michael Drake2021-11-191-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 Drake2021-11-191-0/+1
|
* API: Fix typos in public header.Michael Drake2021-11-051-4/+4
|
* API: Clean up public header indentation.Michael Drake2021-11-051-115/+113
|
* GIF: Constify raw source data.Michael Drake2021-11-041-3/+3
|
* GIF: Store transparancy index on the frame.Michael Drake2021-11-031-1/+1
| | | | If the frame has no transparency, it is set to an invalid value.
* GIF: Change background colour handling.Michael Drake2021-11-021-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 Drake2021-11-021-0/+2
|
* GIF: Move image descriptor parsing to frame initialisation.Michael Drake2021-10-311-0/+2
|
* Disposal Method: Handle Restore to previous with saved image.Michael Drake2020-07-061-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 Drake2017-04-051-0/+2
|
* Remove pointless current_error from API surface.Michael Drake2017-02-061-2/+0
|
* Add doxygen config and update formatting and doc commentsVincent Sanders2017-01-241-66/+141
|
* Missing includeChris Young2010-11-211-0/+1
| | | | svn path=/trunk/libnsgif/; revision=10949
* First cut at a port to the core buildsystemJohn Mark Bell2009-03-291-0/+107
svn path=/trunk/libnsgif/; revision=6983