1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2024-11-24 08:12:38 +02:00
Commit Graph

33 Commits

Author SHA1 Message Date
DarthSim
a23737a90b Fix SVG detection when the root element has a namespace 2024-05-07 18:58:47 +03:00
DarthSim
9c8293a2a0 Add check for duplicated SOI markers in JPEG 2024-05-07 16:54:48 +03:00
DarthSim
e31b24931d Update linter and fix linting errors 2024-04-18 21:16:32 +03:00
DarthSim
ef77940062 Fix parsing byte TIFF tags 2023-09-30 21:31:04 +03:00
DarthSim
bf9e54620f Fix parsing of HEIF files with large boxes 2023-08-30 14:36:33 +04:00
DarthSim
b20b5ff768 Fix Photoshop metadata dump 2023-05-29 21:27:47 +03:00
DarthSim
2e6a3c6dd1 Separate Photoshop and IPTC metadata parsing/dumping 2023-05-29 19:48:39 +03:00
DarthSim
c105e66e39 Don't return error from imagemeta.isSVG 2022-11-28 22:38:17 +06:00
DarthSim
e719c9d39b Get rid of io/ioutil usage 2022-10-28 21:15:13 +06:00
DarthSim
d07a016b66 Fix false-positive SVG detections 2022-10-28 20:15:19 +06:00
DarthSim
9bdc72ba34 Handle peeking errors in imagemeta 2022-10-22 17:35:40 +06:00
DarthSim
05be115f38 Detect SVG using lexer instead of encoding/xml 2022-08-22 17:15:41 +06:00
DarthSim
d610afb48b Use require instead of assert in tests 2022-07-18 19:48:50 +06:00
Joe Cai
76897dbf1b
Support arithmetic encoded jpeg files (#909)
* Support arithmetic encoded jpeg files

* Skip special markers within the SOF markers range

* Refactor imagemeta.DecodeJpegMeta()
2022-07-12 18:53:03 +06:00
DarthSim
4d4a1d724f IMGPROXY_KEEP_COPYRIGHT config & keep_copyright option 2022-04-25 16:53:08 +06:00
DarthSim
175cb8c41b Fix transparrency in loaded ICO 2022-03-14 18:29:40 +06:00
DarthSim
7709b74a5e Bump version 2021-09-30 20:23:30 +06:00
DarthSim
4434f40701 Merge branch 'version/3' into version/3-refactoring 2021-06-28 16:11:33 +06:00
Joshua Banton
9a3feab9cc
Adds handling of negative height value for bmp files. (#644)
* Adds handling of negative height value for bmp files.

* Simplifies negative height check, and moves it down to include checking the OS/2 16-bit version.

* Adds int16 conversion to OS/2 height.
2021-06-23 15:52:25 +06:00
DarthSim
0af4720cfa Use imagetype and config in imagemeta 2021-05-13 20:39:13 +06:00
Joshua Banton
83c4ef1ea8
Removes checking for mdat box before meta box. (#585) 2021-03-22 20:03:13 +06:00
DarthSim
15010ad1b4 Optimize HEIF meta parsing a bit more 2021-01-22 22:19:29 +06:00
DarthSim
b0f3aefbf3 Optimize HEIF meta parsing 2021-01-22 21:14:53 +06:00
DarthSim
8d7009e9e4 Remove forgotten debug 2020-11-20 16:26:01 +06:00
DarthSim
3c9736ed8a Fix non-UTF8 SVG detection 2020-11-11 22:13:48 +06:00
DarthSim
8696be2b25 Fix dtection of non-strict SVGs 2020-09-22 18:03:05 +06:00
DarthSim
1bd789df4e Add AVIF support 2020-09-16 16:15:01 +06:00
DarthSim
07adcec559 Fix HEIF/HEIC header parsing bug 2020-07-09 18:24:28 +06:00
DarthSim
36ad0d31e2 Fix heic magic bytes 2020-02-27 18:31:38 +06:00
DarthSim
1d1caeb06a Fix loadind BMP stored in ICO 2020-02-14 19:33:14 +06:00
DarthSim
af8366139f Better SVG detection 2020-02-11 19:28:13 +06:00
DarthSim
6db5b8e90b Add <!-- as magic bytes for SVG detection 2020-02-03 18:01:17 +06:00
DarthSim
7c7ac56a48 Refactor subpackages 2019-12-25 15:18:51 +06:00