Viktor Sokolov
b3fe2a6b68
preserve_hdr processing option
2026-04-15 17:52:28 +02:00
DarthSim
e237f45dcd
Utilize integration testing in processing package
2026-03-23 23:39:27 +06:00
DarthSim
76e1de9cfe
Move tests to _test packages
2026-03-23 22:35:07 +06:00
Viktor Sokolov
f439bf6d71
Fix linting errors
2026-03-06 15:24:00 +01:00
Viktor Sokolov
2c423c5654
DCT hash
2026-03-05 23:01:35 +01:00
DarthSim
a261a04f54
Fix transforming BW images to standard profiles; Don't export standard profiles
2026-03-03 21:50:10 +06:00
DarthSim
f76f136975
Set quality to options in saveImageToFitBytes
2026-03-01 02:01:26 +03:00
DarthSim
d9c70784ce
Add predefined colors to vips/color
2026-03-01 00:34:48 +03:00
Victor Sokolov
5e81f5dab3
IMG-98: fixes flatten ( #1610 )
2026-02-03 13:10:28 +01:00
Victor Sokolov
a259b5b113
IMG-95: watermark checkImageSize ( #1605 )
2026-01-19 17:30:20 +01:00
DarthSim
7a42255b01
Merge branch 'master' into version/4
2026-01-15 18:40:48 +03:00
Victor Sokolov
a000749198
IMG-86: preserve BPP/colorspace if possible ( #1597 )
2026-01-14 15:33:32 +01:00
Victor Sokolov
a82a2a4717
IMG-86: base processing options test ( #1595 )
2025-12-25 16:04:13 +01:00
Victor Sokolov
30c323f6cd
IMG-90: check IMGPROXY_FORMAT_QUALITY ( #1593 )
2025-12-18 09:46:42 +01:00
Victor Sokolov
aadead21d9
IMG-83: typed env vars ( #1591 )
...
* IMG-83: typed env vars
* Removed CLI flag, fixed FormatQuality&Presets logic
* URLReplacements, updated bind logic
2025-12-15 09:06:41 +01:00
Victor Sokolov
69c7d2f117
IMG-76: new linter config & fixes ( #1587 )
...
* IMG-76: new linter config & fixes
* Upgrade golangci-lint to 2.7.2
2025-12-10 13:46:22 +01:00
DarthSim
213cd8d700
xmlparser: Make tokens writeable
2025-12-09 23:50:04 +06:00
Sergei Aleksandrovich
98feb29e57
Use homegrown XML parser ( #1559 )
...
* Use XML parser based on encoding/xml
* Implement raw XML parser
* Speed-up xml parser
* Add line number to XML parser syntax errors
* Add svgparser.StartElement.SelfClosing
* Utilize bufio.Reader.ReadSlice in XML parser
* Polish XML parser tests; Add XML parser benchmark
* Move XML parser to ./xmlparser
* Use all XML parser tokens as pointers
* Add xmlparser.Document.ReplaceEntities method
* Combine xmlparser.Text and xmlparset.CData
* Optimize entities replacement in xmlparser
* xmlparser.parseEntityMap: ignore comments
* xmlparser: add document parsing benchmark
* xmlparser: Refactor attributes
* xmlparser: simplify Attributes.Filter
* xmlparser: add Attributes.Has, Node.FilterChildren, and Node.FilterChildNodes
* xmlparser: add Node.ChildNodes
2025-11-27 01:43:04 +06:00
Sergei Aleksandrovich
e33254005d
Refactored errors ( #1578 )
...
* Refactored errors
* Make monitoring and errorreport accept `errctx.Error` instead of `error`
* Add server.Error; Remove category from errctx; Make HTTP handlers respond with *server.Error
* Remove stackSkip from errctx.Wrap; Add errctx.WrapWithStackSkip
2025-11-20 01:26:21 +06:00
DarthSim
b858535d22
Open image downloading tracing spans inside imagedata.Factory.Download* methods
2025-11-14 14:59:18 +06:00
DarthSim
3f2b019721
Get rid of security.Options. Use security.Checker directly with options.Options
2025-11-14 14:09:43 +06:00
DarthSim
2675eb293b
Merge branch 'master' into version/4
2025-11-06 23:25:46 +03:00
DarthSim
05e8dd7e12
Add flip processing option
2025-11-07 01:50:01 +06:00
Victor Sokolov
ce2bc83ce7
SVG instance ( #1551 )
2025-10-03 16:48:37 +02:00
Victor Sokolov
f55d1da1f4
env package introduced ( #1538 )
2025-09-30 13:24:23 +02:00
DarthSim
6c884f42f1
Standartize loading functions; Refactor processing.scaleOnLoad
2025-09-29 17:00:37 +06:00
DarthSim
cc535a5214
Standartize saving functions
2025-09-29 17:00:37 +06:00
DarthSim
64cdf914f9
Add vips.Config; Move WebpPreset to vips
2025-09-29 17:00:37 +06:00
DarthSim
45229596e0
Decouple optopns parser from options
2025-09-25 23:37:28 +06:00
DarthSim
da1eb3e242
Pass options.Options to processing.NewGravityOptions
2025-09-25 17:29:22 +03:00
DarthSim
c3786dbec0
Pass Context to processing.extendImage
2025-09-25 17:28:09 +03:00
DarthSim
af63aba7a4
Fix watermarks
2025-09-25 15:47:00 +03:00
DarthSim
0426e97e3f
Universal options
2025-09-24 00:41:12 +06:00
DarthSim
a0942b2368
Define processing.CalcCropSize globally
2025-09-23 19:07:40 +03:00
DarthSim
b9cbc0f97b
Don't rely on global config in processing
2025-09-23 19:07:08 +03:00
Victor Sokolov
ba73b16c39
IMG-59: processing instance ( #1533 )
...
* lazy processing test
* Processor instance
* Fixes to prepare.go
2025-09-23 15:55:04 +02:00
Victor Sokolov
30a5122d08
IMG-59: processing_test.go became lazy, added test image hash calculation ( #1532 )
...
* lazy processing test
* VHS
* ImageHashMatcher
2025-09-22 19:32:34 +02:00
DarthSim
89821daa9f
Migrate from logrus to log/slog
2025-09-21 20:13:27 +06:00
DarthSim
a63778e3cf
Add a huge comment on DPR compenation in calcScale
2025-09-20 00:27:01 +03:00
DarthSim
5ac82cec34
Fix enlarge protection when image data is not provided
2025-09-19 23:07:02 +03:00
DarthSim
521df55ad5
Fix cyrillic c
2025-09-18 21:07:38 +03:00
DarthSim
7ebf913f98
Expose runner from pipeline context
2025-09-18 20:48:22 +03:00
DarthSim
b5d2cce37a
Fix cyrillic C
2025-09-18 20:32:35 +03:00
Viktor Sokolov
833f2bb082
pipeline context changes, Runner
2025-09-18 23:24:23 +06:00
Victor Sokolov
4b05e87274
IMG-57: introduce processing options factory ( #1526 )
...
* Intoduced options.Factory
* ProcessingOptionsFactory in processing and watermark
* Clone with testutil.Helper
2025-09-16 17:04:21 +02:00
Victor Sokolov
355e3c506e
IMG-56: Security instance ( #1524 )
...
* Security instance
* Security -> Checker
2025-09-12 13:52:47 +02:00
Victor Sokolov
01327c1cce
integration.Suite ( #1518 )
2025-09-09 16:25:45 +02:00
DarthSim
ac03563506
NewDefaultConfig returns value, not pointer; Nested configs are defined as value
2025-09-06 01:56:53 +03:00
DarthSim
11a17aea33
Provide actual ctx and processing options to watermark.Get in applyWatermark
2025-09-05 18:22:56 +03:00
Victor Sokolov
37a6ea2bf7
IMG-49: Get rid of global watermark image and fetcher ( #1515 )
...
* Get rid of global watermark image
* imagedata.Factory, removed global Fetcher
2025-09-05 16:22:57 +02:00