Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/libvips/libvips

A fast image processing library with low memory needs.
https://github.com/libvips/libvips

cgifsave: theshold alpha and check alpha constraint in one pass (#2827)

* cgifsave: theshold alpha and check alpha constraint in one pass

* cgifsave: get rid of sqrt()

4fab8beae9c863ceece67c0fddc639707392bf59 authored over 2 years ago by Sergey Alexandrovich <[email protected]>
make C and vector path for composite match

one was <, one was <= for HARD_LIGHT
no effect on result, but it's better if they are consistent

cb1927e1b7e911232eb3586b52210cb28bcf8675 authored over 2 years ago by John Cupitt <[email protected]>
tiny formatting fixes

af23e9f06c2fbf5b2e680e313792b7364c9c90cd authored over 2 years ago by John Cupitt <[email protected]>
nsgifload: add "palette-bit-depth" header (#2828)

c9b5b8c19737342b6f2744751ce001347cbb303c authored over 2 years ago by Sergey Alexandrovich <[email protected]>
add libjxl ICC and scRGB support (#2815)

* add ICC and scRGB support

see https://github.com/libvips/libvips/issues/2568

* final polish

6260a37136973f3d231d0e2c28af6190126c664e authored over 2 years ago by John Cupitt <[email protected]>
magicksave: Add bitdepth option (#2819)

* flag to save bmp with bitdepth 1

* magicksave: add bitdepth option

* update comments

...

ed79cfba7ea839ac9c31545b21f4301786c7ac4b authored over 2 years ago by Daniel Löbl <[email protected]>
add note about palette sorting by quantisers

2af2ca5ca29ebbb49d66aee340502652124bfad2 authored over 2 years ago by John Cupitt <[email protected]>
spngsave: fix 8bpp palette save with transparency (#2808)

550781cd18d2d4bc8a58bd98d190ce1580f534fd authored over 2 years ago by Kleis Auke Wolthuizen <[email protected]>
revise formatting

7121f952d567da43ee44235ce607d2cd7c3d8118 authored over 2 years ago by John Cupitt <[email protected]>
cgifsave: fill transparent pixels with zeroes (#2823)

ba04c5f03fd7517ee4000611af9fd7b492e38396 authored over 2 years ago by Sergey Alexandrovich <[email protected]>
doc: add missing files and use full paths (#2822)

* doc: add missing files and use full paths

It seems that private_headers didn't work for out...

a96dd736488520fd04f369473ee2ce8731134803 authored over 2 years ago by Kleis Auke Wolthuizen <[email protected]>
lock progress to 100% on posteval

Because signals can be delayed, progress isn't always 100% in posteval.
Lock it to 100%.

See ht...

111eef0049068bd12e0ab5ffa1e26246f90a0a5f authored over 2 years ago by John Cupitt <[email protected]>
revise cgifsave checksum

We were calling it a sum and looking for a change threshold, but really
it's only useful as a ch...

a9bfd508f563fae9136535504aae8922de89c36a authored over 2 years ago by John Cupitt <[email protected]>
oop dbg left on

89bbb7981d24eea9c3c0b16b72c7b119275df8e1 authored over 2 years ago by John Cupitt <[email protected]>
small formatting fixes

63962056f0596f52e41b434593888b7108f9ae81 authored over 2 years ago by John Cupitt <[email protected]>
cgifsave: reuse global palette, if possible (#2797)

* save GIF palette as metadata

... if there are no local colour tables.

See https://github...

f26f0b09b8aac5c58802aee0fbdb3e62b79872eb authored over 2 years ago by Daniel Löbl <[email protected]>
small formatting

7d3aaf540c10a6a7ff9570fde0b7d763b436cefa authored over 2 years ago by John Cupitt <[email protected]>
fix spngsave conversion

It was all mixed up. We don't need to call colourspace -- this is done
for us by the SAVEABLE sy...

047bef50d9ea48b2c7906a12c6efec8e90921e9b authored over 2 years ago by John Cupitt <[email protected]>
svgload: recognize dimensions for SVGs without width/height (#2817)

Rather than defaulting to 1928x1080. Also, prefer to use the
`LIBRSVG_CHECK_VERSION` macro inst...

85c24481be4a4ef03ad575ff7940f283bf501e3c authored over 2 years ago by Kleis Auke Wolthuizen <[email protected]>
improve the interpretation sanity checker

it was rejecting int LABS

111f1d11df8e5b75cdcff5693254a6e79685e2b0 authored over 2 years ago by John Cupitt <[email protected]>
fix typo in tatrgetcustom.c

see https://github.com/libvips/libvips/pull/2802#pullrequestreview-980832505

fd495bcd0a7bdd1ae0e71508d169ed2e3730dc78 authored over 2 years ago by John Cupitt <[email protected]>
Pass close-on-exec flag to lcms for non-Windows OS (#2816)

This ensures child processes do not inherit open file descriptors
and will close a small but lo...

c1f699525606b3ac6c8263e84ac7961a93339635 authored over 2 years ago by Lovell Fuller <[email protected]>
fix deprecation warning

2ef1b198fb2b4016962123e33eecfc4b7d6e3a3c authored over 2 years ago by John Cupitt <[email protected]>
use vips__bgra2rgba() in pdfiumload

slightly quicker, works with any byte order

bf614530cd8596bca278be6854a580917ce2ec46 authored over 2 years ago by John Cupitt <[email protected]>
Merge branch 'master' of github.com:libvips/libvips

83bf7773251504d99fa2d91bba526aaff68dd639 authored over 2 years ago by John Cupitt <[email protected]>
Don't paint the background if the PDF has transparency (#2804)

985fb1d1d0b2d74a769bc0e191771db017a22ebd authored over 2 years ago by Sergey Alexandrovich <[email protected]>
Merge branch '8.12'

3d0912ea68dad7e15f3ec44e2a564348b5478405 authored over 2 years ago by John Cupitt <[email protected]>
fix jxl compat break

note in changelog

see https://github.com/libvips/libvips/pull/2813

6e80364e0a68b3ad9b20a7cdb72e9605a5dcf502 authored over 2 years ago by John Cupitt <[email protected]>
jxl: remove support for never-implemented JXL_TYPE_UINT32 (#2813)

e522b4ff90ec8a61d3f67e63ba6d563d2c70a2c7 authored over 2 years ago by Lovell Fuller <[email protected]>
jxl: remove support for never-implemented JXL_TYPE_UINT32 (#2813)

7d4cba101c294b3d9cc98bef36624d7e7f446cfd authored over 2 years ago by Lovell Fuller <[email protected]>
Fix a couple of typos in help messages (#2814)

f9ace1724ee513cdf34e823c37920284f3f9c487 authored over 2 years ago by Lovell Fuller <[email protected]>
webpsave: add parameter for mixed encoding (#2810)

* webpsave: add mixed parameter

* update changelog

* update webpsave documentation

7f8e059dc60475207595d408d8f325ff664e158b authored over 2 years ago by Daniel Löbl <[email protected]>
add dzsave to a target (#2718)

* start adding dzsave to a target

made a thing for gsf to write to a target

* fix stray ta...

a9d64bea54c1fba083a9907c66e19333416a0d7e authored over 2 years ago by John Cupitt <[email protected]>
Add tiffsave target (#2798)

* compiles, but untested

* works, but libtiff needs seek for write

next: add seek methods ...

f8003bda670c028e54b6c46a1fb8c6ac8deaac2e authored over 2 years ago by John Cupitt <[email protected]>
add vips_target_end (#2802)

since finish did not return an error code

also make sure we don't call target_end from inside...

58b53506fffdaa024718c53b7e30087c580884eb authored over 2 years ago by John Cupitt <[email protected]>
quantise: fix styling (#2807)

Also, use the correct conditional directive in spngsave.

6aca41d7135be9d14cbc04f406958f603698bade authored over 2 years ago by Kleis Auke Wolthuizen <[email protected]>
Merge branch 'master' of github.com:libvips/libvips

c5ea747f710650723a1503a93864b4d2e2839e67 authored over 2 years ago by John Cupitt <[email protected]>
revise SVG scaling, again

we were not defaulting width and height correctly

see https://github.com/lovell/sharp/pull/3230

e42d2b46b985e44e3ff6baa685981fd6f256c043 authored over 2 years ago by John Cupitt <[email protected]>
Swap size_t with gint64 to catch read errors (#2811)

This is similar to commit 5221df224f573653045799fdb98f8fdc19922f2d.

f1b4b0cb1a6a161b04d744d69e5e8c603a64a61d authored over 2 years ago by Kleis Auke Wolthuizen <[email protected]>
small changelog polish

683e8d9b6f89679d839ff1f41f2a6e19d3ce5e9e authored over 2 years ago by John Cupitt <[email protected]>
small configure improvements

- disable deprecated warnings for /deprecated
- detect librsvg rsvg_handle_get_intrinsic_size_in...

5f82491d74657fa0cfd940acdec6acc5bf0eccd2 authored over 2 years ago by John Cupitt <[email protected]>
Merge branch 'master' of github.com:libvips/libvips

793d3116a73a41700ead741d8bcf882df08dddfe authored over 2 years ago by John Cupitt <[email protected]>
fix background byte ordering in PDF

the `background` param was BGRA rather than vips-style RGBA

see https://github.com/libvips/libv...

aa5abf3e7e3d1a1e1ebe1e9ff6bee42178ac2663 authored over 2 years ago by John Cupitt <[email protected]>
Don't fail if PNG contains too much text chunks (#2803)

Only warn if PNG contains too many text chunks

Update spngload.c

982cbe5f8a475c38eb3a33562401a21e940c3dbc authored over 2 years ago by Sergey Alexandrovich <[email protected]>
add libnsgif COPYING

oops, we were missing the COPYING file

see https://github.com/libvips/libvips/issues/2800

than...

7561d4e52c9961e9f644fe23247248704f4498b6 authored over 2 years ago by John Cupitt <[email protected]>
Merge branch '8.12'

dd9f42269f16397d49ae9dbc6a52cc6c91059efd authored over 2 years ago by John Cupitt <[email protected]>
update changelog for ssize_t fix

36cc50500bc407f22a55f054765abd10e89f24f4 authored over 2 years ago by John Cupitt <[email protected]>
fix ssize_t / ssize_t confusion

e2c50d07c6b337ea4785301f14226d14c9b36c42 authored over 2 years ago by John Cupitt <[email protected]>
fix ssize_t / ssize_t confusion

5221df224f573653045799fdb98f8fdc19922f2d authored over 2 years ago by John Cupitt <[email protected]>
Allow to modify/create EXIF OffsetTime* tags (#2796)

Available since libexif 0.6.23.

9cbc361269cedd5ddadd9695d7aa3368daa31d24 authored over 2 years ago by Kleis Auke Wolthuizen <[email protected]>
heifsave: allow creation of EXIF metadata (#2794)

Previously only update of input EXIF was possible

7e64c48ca9bc8eaf5d3482078e74da9a08bb7707 authored over 2 years ago by Lovell Fuller <[email protected]>
Allow to modify/create EXIF 2.3 ASCII tags (#2795)

* Allow to modify/create EXIF 2.3 ASCII tags

Make `tag_is_ascii` aware of the EXIF 2.3 ASCII ...

d91cfa4e5346d4abd71e0b6d908112663a53a5c2 authored over 2 years ago by Kleis Auke Wolthuizen <[email protected]>
Update LibNSGIF to latest upstream (#2791)

* libnsgif: Update to latest upstream

* nsgifload: Add palette info to debug output.

ceaa2d2096ce44f1798eaaf5f437492aae474a39 authored over 2 years ago by Michael Drake <[email protected]>
revise arg names

use _ everywhere (we have a few uses of - as a separator)

460a19b78e14b14c2df3ae6615695c1a052208c6 authored over 2 years ago by John Cupitt <[email protected]>
add changelog notes

and linewrap for 80 column limit

cdcafbc4c54ea23acc57babc7586ad867363682a authored over 2 years ago by John Cupitt <[email protected]>
Resize improvements; add `ceil` and `gap` options (#1769)

* Add a round-up option to shrink

* Only leave the final 200% to reduce

* Add gap option t...

894ed1cb135e72a81043b595e37c6e39f5e35cc8 authored over 2 years ago by Kleis Auke Wolthuizen <[email protected]>
allow to apply maxerror optimization to frames with alpha channel (#2778)

cb55fdcfd82a2cc85e9da6d76af181442aa7a7e9 authored over 2 years ago by Daniel Löbl <[email protected]>
support rsvg_handle_get_intrinsic_size_in_pixels

librsvg 2.52+ has this new bit of API for finding the SVG dimensions

20fd8ac0fc869fb5983383fe588aece21a706ec1 authored over 2 years ago by John Cupitt <[email protected]>
add fail-on to thumbnail

see https://github.com/libvips/libvips/discussions/2781

f06c9f3bcffec2c9f09c8ca460ac534cc03c2188 authored over 2 years ago by John Cupitt <[email protected]>
try to always set the min stack size

since musl users often don't know about this

see https://github.com/libvips/libvips/issues/2761

43db3985d0c0f0321434f2bd1cda36c7dd4fa1e5 authored over 2 years ago by John Cupitt <[email protected]>
tried (and failed) to build against ubuntu nifti

the ubuntu cmake dev files for nifti seem to be broken, and I can't get meson
to add the depende...

94d8a7d993e329c138e56df27ac1938a7c807a94 authored over 2 years ago by John Cupitt <[email protected]>
Improve symbol visibility (#2688)

* Improve symbol visibility

* Decorate required internal symbols with VIPS_API

* Remove a ...

07edfe37b18c05a24b235331939dfce8b865bca4 authored over 2 years ago by Kleis Auke Wolthuizen <[email protected]>
libnsgif: Update to latest upstream (#2766)

That's great! Thank you for doing this, Michael.

0c3092fa94e198d3a1425f822ad40761727ae8fc authored over 2 years ago by Michael Drake <[email protected]>
add a seq to thumbnail_image

otherwise we can get horrible cache thrashing as the shrink will run
without any locality

55723a980fdb9cf4b0180881dd6cf10dadb0731e authored over 2 years ago by John Cupitt <[email protected]>
Add a way to disable less well tested operations (#2636)

* quick proposal

warn on startup if untrusted operations might run

use vips_block_untruste...

eba9ec0dd71bc2e0a4c14bf23ac9b0516016be61 authored over 2 years ago by John Cupitt <[email protected]>
stop strip tiff read using tiny tiles

Strip TIFFs with rowperstrip of 1 used to use 1-pixel high cache tiles.
This could slow reading....

6eae6fcf4b5c5ae479b9ecba1d859ea44f8f95e6 authored over 2 years ago by John Cupitt <[email protected]>
Add comments to `setjmp` invocations (#2751)

Also, pre-increment `num_warnings` to ensure that we really stop
at 100 warnings.

6c033435812f5e1b3d98856c1468efeec49649f7 authored almost 3 years ago by Kleis Auke Wolthuizen <[email protected]>
revise interpretation guesser

This patch pushes the new pyvips interpretation guess rules down into
libvips.

See https://gith...

57cd94278a245785e840634b3600fae8cfc4d244 authored almost 3 years ago by John Cupitt <[email protected]>
Stop JPEG load after 100 warnings (#2749)

See: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24383

df26bd1e46c67ed7745996627ca0d83e5a6d678d authored almost 3 years ago by Kleis Auke Wolthuizen <[email protected]>
Revert "stop JPEG load after 20 warnings"

This reverts commit 89bd46d1c4e0465974b886ef5b5021e988f111a2.

2dc319b1b1610e4c8ae95b8ca47b46926cd41ce1 authored almost 3 years ago by John Cupitt <[email protected]>
Revert "improve fail on too many warings"

This reverts commit ae7e5e7a54208c5ed4b35921850dd29e2e7a34f7.

1aebd95387a3cdc0a2556baa2b9b7a279fefcbc4 authored almost 3 years ago by John Cupitt <[email protected]>
improve fail on too many warings

thanks lovell, see https://github.com/libvips/libvips/commit/89bd46d1c4e0465974b886ef5b5021e988f...

ae7e5e7a54208c5ed4b35921850dd29e2e7a34f7 authored almost 3 years ago by John Cupitt <[email protected]>
Update to latest libnsgif (#2747)

* libnsgif: Update to latest upstream.

* nsgifload: Update for new pixel format API.

LibNS...

0f30690360a647360b0c712bd97401caf21f8007 authored almost 3 years ago by Michael Drake <[email protected]>
stop JPEG load after 20 warnings

mitigates some DoS attacks somewhat

see https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2...

89bd46d1c4e0465974b886ef5b5021e988f111a2 authored almost 3 years ago by John Cupitt <[email protected]>
revise cast asserts

since we allow casting between formats ofthe same size with shift enabled

fixes https://bugs.ch...

55b857d44666c45187b4cc7e63c65d81f275144b authored almost 3 years ago by John Cupitt <[email protected]>
vipsload: ensure resolution is positive (#2742)

9228e50f46b79dc448b9416a5ae1dfdcfdfcf98c authored almost 3 years ago by Lovell Fuller <[email protected]>
set vips-sequential as a simple int

to avoid trouble with bindings which don't implement get for an empty
VipsArea

dc07b0005960687b7ec541b0a3714210e1e16f6a authored almost 3 years ago by John Cupitt <[email protected]>
deprecate "properties", register ".szi" as a suff

39e75e07a227169d9c53f910f32c395e6992a5fa authored almost 3 years ago by John Cupitt <[email protected]>
tiny perf improvement

d58b3410c4c864af58bb39f1745926e60337d26a authored almost 3 years ago by John Cupitt <[email protected]>
fix a crash with empty image arrays in bandjoin

see https://github.com/libvips/pyvips/pull/310

a77a1071a2c72be081f631890703deea2defa3f5 authored almost 3 years ago by John Cupitt <[email protected]>
add notes on cast and copy to arithmetic

62fee01f3a621035608bb2461a28d49d2cd1c4cb authored almost 3 years ago by John Cupitt <[email protected]>
tiny doc polish

9f351c9c58441b5893e2a8922463f151862b0df9 authored almost 3 years ago by John Cupitt <[email protected]>
improve morph docs

75e6906f52fc66a9053703f7c51a8d6062507581 authored almost 3 years ago by John Cupitt <[email protected]>
block resolutions < 0

since they can trigger a sanity failure in the test suite

9713a71bf0bf22e31edac69f8f6892fb5c7f385e authored almost 3 years ago by John Cupitt <[email protected]>
clarify draw docs

see https://github.com/libvips/libvips/discussions/2733

1b97b52318e7743c7ac3803d83d8cad148e82208 authored almost 3 years ago by John Cupitt <[email protected]>
try to improve docs

see https://github.com/libvips/libvips/discussions/2733#discussioncomment-2412590

a77519f7c3a138f8b2cba635d6e337802acdc3d4 authored almost 3 years ago by John Cupitt <[email protected]>
remove openjpeg bpp handling

it's deprecated

eaf34b8f13d22b35acf2e07775c12ae5ccd615fd authored almost 3 years ago by John Cupitt <[email protected]>
Merge branch '8.12'

168d7652c21440edf8c2e3bd27428ec2891685bf authored almost 3 years ago by John Cupitt <[email protected]>
fix thumbnail with cmyk output

see https://github.com/libvips/php-vips/issues/138

thanks AdamGaskins

f0eb49364350c0b188f2531e4eb89ad90c825a7c authored almost 3 years ago by John Cupitt <[email protected]>
cgifsave: Make loop counts more accurate (#2709)

* cgifsave: Added "noloop" option

* cgifsave: Change loop count logic

* make sure nsgifloa...

d4eb2e82d212e8ce22e1b6aa6fa7f7eb48bfbb45 authored almost 3 years ago by Essem <[email protected]>
revise tests for new libnsgif loop behaviour

see https://github.com/libvips/libvips/pull/2712

356edc3779c254fe9515fff38443da9827cf0f82 authored almost 3 years ago by John Cupitt <[email protected]>
libnsgif: Update to latest upstream. (#2712)

292ee9a47e86c12e07be35aacf75dcaf721f2f98 authored almost 3 years ago by Michael Drake <[email protected]>
check page size from pdfium

PDFium allows page width and height to be less than 1, which will cause
libvips severe indegestion.

2fdab9ba70f5ebf22588943e951339ceb19b184e authored almost 3 years ago by John Cupitt <[email protected]>
revise resample docs

see https://github.com/libvips/libvips/discussions/2711

ede67090cb59c8cd53775424ed090e89147fa131 authored almost 3 years ago by John Cupitt <[email protected]>
libnsgif: Update to latest upstream. (#2706)

5f7c12e474ccd4b6a4c06be8502786033f02b8e8 authored almost 3 years ago by Michael Drake <[email protected]>
fix dispose order in gifsave

Shut down cgif before we shut down the target it is writing to so that
flush in cgif has somewhe...

c0de1b6169ea77d5e94abba0d638905d077befd9 authored almost 3 years ago by John Cupitt <[email protected]>
Mosaicing fixes and improvements (#2705)

* Fix segv in `vips_mosaic1`

* Fix ref handling in `rotjoin_search`

* Pass `oarea` to `vip...

330ebf3cd7114afd6bc634b450bea20d73fd864f authored almost 3 years ago by Kleis Auke Wolthuizen <[email protected]>
Ensure compatibility with nip2 (#2704)

nip2 uses the `VIPS_EXEEXT` definition.

a0f9cd95e063df96b3320660af0085d70d197ace authored almost 3 years ago by Kleis Auke Wolthuizen <[email protected]>
nsgifload: Fix gif decoding issue. (#2702)

The nsgif_data_scan() call returns an error code that says
if anything was wrong with the sourc...

ac35124f590d7cfff927a161da723fa9e9c0d351 authored almost 3 years ago by Michael Drake <[email protected]>
minor nsgifload revisions

- add note to changelog
- remove dead code
- improve debug output
- track current page number

s...

f65b615a1738f053923650e46ec6dbf4c846b7da authored almost 3 years ago by John Cupitt <[email protected]>