Skip to content

Commit

Permalink
chore: release v1.0.0-alpha.3
Browse files Browse the repository at this point in the history
  • Loading branch information
hemengke1997 committed Jun 27, 2024
1 parent 71f26cb commit c0e34c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@minko-fe/sharp",
"description": "High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"author": "Lovell Fuller <[email protected]>",
"homepage": "https://github.com/lovell/sharp",
"scripts": {
Expand All @@ -28,7 +28,7 @@
],
"repository": {
"type": "git",
"url": "git://github.com/lovell/sharp"
"url": "git://github.com/hemengke1997/sharp"
},
"keywords": [
"jpeg",
Expand Down
7 changes: 4 additions & 3 deletions src/common.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1081,9 +1081,10 @@ namespace sharp {
/*
Ensure decoding remains sequential.
*/
VImage StaySequential(VImage image, VipsAccess access, bool condition) {
if (access == VIPS_ACCESS_SEQUENTIAL && condition) {
return image.copy_memory();
VImage StaySequential(VImage image, bool condition) {
if (vips_image_is_sequential(image.get_image()) && condition) {
image = image.copy_memory().copy();
image.remove(VIPS_META_SEQUENTIAL);
}
return image;
}
Expand Down

0 comments on commit c0e34c7

Please sign in to comment.