chore(deps): update rust crate png to 0.18 #363
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.17->0.18Release Notes
image-rs/image-png (png)
v0.18.0API Breaking Changes
Info::encodeandEncoder::set_srgbmethods.Decodernow requires a reader that implementsSeekandBufReadtraits.StreamingDecoder::updatenow takes a structuredUnfilterBufargumentinstead of a direct reference to a vector. This allows in-place
decompression. There is a public constructor for
UnfilterBuf.Decoder::output_buffer_sizeandoutput_line_sizenow returnOption<usize>to reflect that these calculations no longer overflow on sometargets where the required buffers can not be represented in the address
space. They return the mathematically correct size where possible.
Decodedenum returned fromStreamingDecoder::updatewas simplified tono longer contains any chunk payload data. Instead, it now contains only
chunk events where every chunk that was started will eventually be ended by
ChunkComplete,BadAncillaryChunkorSkippedAncillaryChunk.file, which fail to parse are now terminated with a
BadAncillaryChunkeventbut no longer returned a
DecodingError. This includes text chunks as wellas many metadata chunks (except for
fcTLthat we deem crucial to theparser's understanding of the image sequence in an APNG despite being
technically ancillary).
Additions
Reader::read_rowmethod.splat_interlaced_row, which implements an alternative method formerging Adam7 interlaced lines into the output buffer that is more suitable
for the presentation of progressive states of the buffer.
Adam7Variantdocumenting the various methods for applying interlacedrows and to prepare an API to progressively read frames through
Decoder.Changes
acTLchunk is now ignored when it is invalid, instead of producingerrors while reading or decoding the following APNG chunks.
fcTLchunk for the default image to match the IHDR'sindicate image size is now enforced.
instead disregarding the malformed chunk.
previously wrote some bytes to the wrong pixel indices due to overflows.
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.