@revizly/sharp 0.35.0-revizly53 → 0.35.0-revizly54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/src/common.cc +1 -0
- package/src/pipeline.cc +0 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revizly/sharp",
|
|
3
3
|
"description": "High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images",
|
|
4
|
-
"version": "0.35.0-
|
|
4
|
+
"version": "0.35.0-revizly54",
|
|
5
5
|
"author": "Lovell Fuller <npm@lovell.info>",
|
|
6
6
|
"homepage": "https://sharp.pixelplumbing.com",
|
|
7
7
|
"contributors": [
|
|
@@ -165,8 +165,8 @@
|
|
|
165
165
|
"optionalDependencies": {
|
|
166
166
|
"@revizly/sharp-libvips-linux-arm64": "1.0.54",
|
|
167
167
|
"@revizly/sharp-libvips-linux-x64": "1.0.54",
|
|
168
|
-
"@revizly/sharp-linux-arm64": "0.35.0-
|
|
169
|
-
"@revizly/sharp-linux-x64": "0.35.0-
|
|
168
|
+
"@revizly/sharp-linux-arm64": "0.35.0-revizly54",
|
|
169
|
+
"@revizly/sharp-linux-x64": "0.35.0-revizly54"
|
|
170
170
|
},
|
|
171
171
|
"peerDependenciesMeta": {
|
|
172
172
|
"@types/node": {
|
package/src/common.cc
CHANGED
package/src/pipeline.cc
CHANGED
|
@@ -1206,7 +1206,6 @@ class PipelineWorker : public Napi::AsyncWorker {
|
|
|
1206
1206
|
} else if (baton->formatOut == "jxl" ||
|
|
1207
1207
|
(baton->formatOut == "input" && inputImageType == sharp::ImageType::JXL)) {
|
|
1208
1208
|
// Write JXL to buffer
|
|
1209
|
-
image = sharp::RemoveAnimationProperties(image);
|
|
1210
1209
|
VipsArea *area = reinterpret_cast<VipsArea*>(image.jxlsave_buffer(VImage::option()
|
|
1211
1210
|
->set("keep", baton->keepMetadata)
|
|
1212
1211
|
->set("distance", baton->jxlDistance)
|
|
@@ -1399,7 +1398,6 @@ class PipelineWorker : public Napi::AsyncWorker {
|
|
|
1399
1398
|
} else if (baton->formatOut == "jxl" || (mightMatchInput && isJxl) ||
|
|
1400
1399
|
(willMatchInput && inputImageType == sharp::ImageType::JXL)) {
|
|
1401
1400
|
// Write JXL to file
|
|
1402
|
-
image = sharp::RemoveAnimationProperties(image);
|
|
1403
1401
|
image.jxlsave(const_cast<char*>(baton->fileOut.data()), VImage::option()
|
|
1404
1402
|
->set("keep", baton->keepMetadata)
|
|
1405
1403
|
->set("distance", baton->jxlDistance)
|