Commit Graph

40 Commits

Author SHA1 Message Date
DarthSim
33bbfd0ed9 Use vips_addalpha instead of vips_bandjoin_const1 2023-11-13 19:57:06 +03:00
DarthSim
1cd344cbb7 Use clang-format style in vips/vips.c 2023-09-08 17:08:46 +03:00
DarthSim
756958d2ca Fix crashes during processing of large animated WebPs 2023-09-08 17:07:09 +03:00
Marko Banusic
128b3c6f4c Update vips.c
When compiling from source on Ubuntu we get an error: 

# github.com/imgproxy/imgproxy/v3/vips
vips.c: In function ‘vips_fix_float_tiff’:
vips.c:247:3: warning: not enough variable arguments to fit a sentinel [-Wformat=]
  247 |   return vips_copy(in, out);
      |   ^~~~~~

vips_copy has more arguments and call needs to be terminated with null pointer.

This fixes that problem.
2023-09-07 16:51:50 +02:00
DarthSim
7111083649 Use clang-format style in C files 2023-08-30 17:09:56 +04:00
DarthSim
4e1d556458 Fix float TIFF opacity and linear BW TIFF colors 2023-08-30 15:09:31 +04:00
DarthSim
925dac28bb Create and destroy a tiny image during health check to check that vips is operational 2023-08-21 20:48:47 +03:00
DarthSim
9b6074094a Fix return value from vips_resize_go 2023-06-06 21:09:42 +03:00
DarthSim
39c436e527 Preserve GIF bit-per-sample 2023-05-23 19:09:30 +03:00
DarthSim
157843ccb3 Use VIPS_META_BITS_PER_SAMPLE image header instead of palette-bit-depth when available 2023-05-23 19:08:35 +03:00
DarthSim
3048c30e1e Cast to origin pixel format after premultiplication 2023-05-23 18:26:06 +03:00
DarthSim
85f790fb4b Optimize watermark application 2023-05-10 17:46:41 +03:00
DarthSim
2c28252966 Fix the way the dpr processing option affects offsets and paddings 2023-04-16 20:56:17 +03:00
DarthSim
a7e1b80ba9 Remove color-related EXIF data when stripping ICC profile 2023-01-30 17:13:39 +03:00
DarthSim
f89ced23e4 Speedup processing 2023-01-06 16:36:52 +03:00
DarthSim
fb330da045 Use adaptive filter for full-color PNGs 2022-11-22 18:50:33 +06:00
DarthSim
e233a60f6c Remove alpha after watermarking if image hadn't one before 2022-09-30 18:09:07 +06:00
DarthSim
dda20f1a1d Drop vips_ensure_alpha; Refactor vips_apply_watermark 2022-09-30 17:45:12 +06:00
DarthSim
cd5c30fa0d Make filters low-level 2022-07-28 15:32:36 +06:00
DarthSim
f2f1b127e0 Fix vips.c formatting 2022-07-22 21:48:03 +06:00
DarthSim
97e15c717d Fix sizes of GIF and ICO before save 2022-07-18 18:49:58 +06:00
Joe Cai
e7d1dde5ea Set the right png bitdepth (#915) 2022-07-12 18:46:35 +06:00
DarthSim
7a5074187e Fix trimming of CMYK images 2022-06-23 17:59:04 +06:00
DarthSim
8a536d69a3 Better animation detection 2022-06-10 15:27:25 +06:00
DarthSim
4d4a1d724f IMGPROXY_KEEP_COPYRIGHT config & keep_copyright option 2022-04-25 16:53:08 +06:00
DarthSim
9b146991c5 Use heic/avif embedded thumbnails 2022-04-14 22:33:09 +06:00
DarthSim
eaa1c038a2 Fix AVIF speed 2022-02-07 16:33:09 +06:00
DarthSim
cf884f860c Improved ICC profiles handling 2021-12-07 14:50:38 +06:00
DarthSim
a55776e561 Min libvips version is 8.10 2021-11-23 18:27:26 +06:00
DarthSim
6a2784e2a8 Use "effort" in vips_avifsave_go 2021-11-23 00:16:28 +06:00
DarthSim
9d2ba808ed Save GIF with vips_gifsave_buffer 2021-11-23 00:12:59 +06:00
DarthSim
8f7404ec27 Load/save BMP without ImageMagick 2021-11-11 13:43:06 +06:00
DarthSim
d016e26e2e Merge branch 'master' into version/3 2021-09-07 19:04:33 +06:00
DarthSim
493042a25d Merge branch 'master' into version/3 2021-07-08 16:48:40 +06:00
DarthSim
4434f40701 Merge branch 'version/3' into version/3-refactoring 2021-06-28 16:11:33 +06:00
DarthSim
89497fe3d3 Merge branch 'version/3' into version/3-refactoring 2021-06-23 16:09:04 +06:00
DarthSim
29e4188cd3 Merge branch 'version/3' into version/3-refactoring 2021-05-17 18:52:40 +06:00
DarthSim
8d4de23f6c Merge branch 'version/3' into version/3-refactoring 2021-05-17 18:43:56 +06:00
DarthSim
0b612da5fc Remove C from imagetype 2021-05-13 20:39:17 +06:00
DarthSim
2ea1466d96 Global refactoring 2021-05-07 17:10:21 +06:00