mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Upgrade to libvips v8.13.0-rc1 (#3230)
* Switch from decompress-zip to extract-zip The former seems to hang when unzipping a ZIP64 file that uses the general purpose bit flag 3 as file entry. See: https://github.com/thejoshwolfe/yauzl#no-streaming-unzip-api * Prefer to call via static member instead Makes it clearer that a static method is being called. * `flatten-orange.jpg`: save without chroma subsampling To ensure no down-scaling of the Cr/Cb channels.
This commit is contained in:
committed by
GitHub
parent
e40a881ab4
commit
afc4c5bf79
@@ -27,7 +27,9 @@ describe('AVIF', () => {
|
||||
format: 'jpeg',
|
||||
hasAlpha: false,
|
||||
hasProfile: false,
|
||||
height: 14,
|
||||
// 32 / (2048 / 858) = 13.40625
|
||||
// Math.round(13.40625) = 13
|
||||
height: 13,
|
||||
isProgressive: false,
|
||||
space: 'srgb',
|
||||
width: 32
|
||||
@@ -70,7 +72,11 @@ describe('AVIF', () => {
|
||||
format: 'heif',
|
||||
hasAlpha: false,
|
||||
hasProfile: false,
|
||||
height: 14,
|
||||
// FIXME(kleisauke): https://github.com/strukturag/libheif/issues/365
|
||||
// $ vips black x.avif 32 13
|
||||
// $ vipsheader x.avif
|
||||
// x.avif: 32x12 uchar, 3 bands, srgb, heifload
|
||||
height: 12,
|
||||
isProgressive: false,
|
||||
pagePrimary: 0,
|
||||
pages: 1,
|
||||
|
||||
Reference in New Issue
Block a user