DarthSim
b43c6a7db7
Fix watermark replication across animation frames
2024-04-24 21:55:16 +03:00
DarthSim
aeb2c087d4
Ensure that the watermark is always centered when replicated
2024-04-24 21:41:20 +03:00
DarthSim
09e542517a
Extract finalizing to a separate pipeline; Fix watermark colors on non-sRGB images
2024-04-18 19:51:40 +03:00
DarthSim
c56e9e64b9
Add IMGPROXY_PNG_UNLIMITED
and IMGPROXY_SVG_UNLIMITED
configs
2024-04-15 20:28:05 +03:00
DarthSim
880d16f457
Reduce memory usage when scaling down animated images
2024-01-27 18:34:21 +03:00
DarthSim
54313eb207
Add AWS Lambda adapter to the Docker image; Set workers and vips concurrency when running in AWS Lambda
2024-01-22 18:47:48 +03:00
DarthSim
22e16ebe56
Fix loading animated images with a huge number of frames
2023-12-20 19:34:29 +03:00
DarthSim
ed6050dcce
Use VIPS_META_PALETTE for palette detection if available
2023-11-22 20:22:55 +03:00
DarthSim
b897a63203
Remove explicit vips_vector_set_enabled
2023-11-22 11:45:55 +03:00
DarthSim
37f4332cae
Drop support of vips prior to 8.13
2023-11-18 21:03:18 +03:00
DarthSim
f79946905d
Remove scRGB alpha tiff warning for vips 8.15+
2023-11-18 21:03:18 +03:00
DarthSim
707a24e59d
HEIC saving support
2023-11-18 21:03:17 +03:00
DarthSim
949c71dbf1
Fix build with libvips <8.15
2023-11-13 20:32:36 +03:00
DarthSim
07528dbecf
Use palette-bit-depth for palette bitdepth instead of VIPS_META_BITS_PER_SAMPLE
2023-11-13 20:26:58 +03:00
DarthSim
33bbfd0ed9
Use vips_addalpha instead of vips_bandjoin_const1
2023-11-13 19:57:06 +03:00
DarthSim
dc86a5e3a2
Fix vips_allocs OTel metric unit
2023-10-06 01:31:59 +03:00
DarthSim
4c82ec28e2
Better detect image loading errors
2023-09-14 20:07:01 +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
a020a7603e
Fix reporting image loading errors
2023-08-01 19:48:10 +03:00
DarthSim
136a5d093f
Fix saving to JPEG when using linear colorspace
2023-07-02 22:58:32 +03:00
DarthSim
9b6074094a
Fix return value from vips_resize_go
2023-06-06 21:09:42 +03:00
DarthSim
b3905c0cd3
Respond with 422 on error during image loading
2023-05-28 19:59:51 +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
aad0186b0a
Enable vector optimizations in vips
2023-05-17 13:42:30 +03:00
DarthSim
85f790fb4b
Optimize watermark application
2023-05-10 17:46:41 +03:00
DarthSim
723666ea1a
Strip watermark meta and remove its palette depth
2023-04-26 18:24:20 +03:00
DarthSim
2c28252966
Fix the way the dpr
processing option affects offsets and paddings
2023-04-16 20:56:17 +03:00
DarthSim
cae8af9ac5
Always import ICC if image is not RGB
2023-03-07 00:21:16 +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
Sasha Melentyev
4685e4e222
chore: Changing fmt.Errorf to errors.New when there is no formatting required ( #1044 )
...
Co-authored-by: Sergey Alexandrovich <DarthSim@users.noreply.github.com>
2022-12-15 21:03:08 +06:00
DarthSim
79e473798d
Add CloudWatch metrics
2022-12-04 21:01:37 +06:00
DarthSim
fb330da045
Use adaptive filter for full-color PNGs
2022-11-22 18:50:33 +06:00
Sergey Alexandrovich
36f67a6f96
OpenTelemetry support ( #995 )
2022-10-06 15:08:23 +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
2661db1000
Additional metrics for New Relic
2022-07-26 14:23:21 +06:00
DarthSim
c4801761db
Additional metrics for Datadog
2022-07-26 14:22:17 +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