1264 Commits

Author SHA1 Message Date
Ashish Chopra
6642b1647a #526 Incorporating review comments
* moved the system-property-evaluation to static-block for more
  reliability
* updated impacted existing tests (which relied on external-resources) to
  leverage the new API
* set the value of system-property controlling external-resource-access
  to true in the test JVM for the sake of existing tests using
  SVGImageReader APIs not backed by SVRReadParams (.getWidth/.getHeight
  and such)
2020-03-30 18:29:34 +05:30
Ashish Chopra
5315caf830 #526 Fixed unnecessary 'overenginnering' in previous commit 🤦 2020-03-30 10:38:52 +05:30
Ashish Chopra
872523b0f0 #526 Incorporating review comments
* renaming accessors
* changing the default to disallow external resources
* introduced system-property for backwards compatibility
* honor system-property (if present) and SVGReadParams.isAllowExternalResources hasn't been called
  (as against ignoring system-property and reverting to 'block-by-default' if SVGReadParams.isAllowExternalResources invoked)
* added + updated test cases
2020-03-24 18:40:01 +05:30
Ashish Chopra
7bf99fb496 #526 Preventing SSRF due to external resource refs in SVGs 2020-02-25 11:26:16 +05:30
Harald Kuhr
a1047edddb
Merge pull request #522 from Schmidor/svg_size
#518 Parsing SVG width/height attributes
2020-01-31 15:50:24 +01:00
Oliver Schmidtmer
e956176872 #518 Fallbacks for aspect ratio, if only one dimension is given 2020-01-30 18:40:11 +01:00
Oliver Schmidtmer
6d2947b080 #518 Parsing SVG width/height attributes 2020-01-30 15:54:59 +01:00
Harald Kuhr
fb304d6c27 #520: Fix for incorrect serialization of single element arrays in metadata. 2020-01-29 20:58:34 +01:00
Harald Kuhr
903289caa4
Merge pull request #517 from KoenDG/small_cleanup
Minor code cleanup: Intellij suggested changes from static code analysis.
2020-01-29 09:38:57 +01:00
Koen De Groote
aff31ebd1b Intellij suggested changes from static code analysis. 2020-01-28 16:18:07 +01:00
Harald Kuhr
b6773f6983 Updated versions. 2020-01-22 22:43:42 +01:00
Harald Kuhr
0d28eb31d2 [maven-release-plugin] prepare for next development iteration 2020-01-22 21:47:25 +01:00
Harald Kuhr
4922ccf80b [maven-release-plugin] prepare release twelvemonkeys-3.5 twelvemonkeys-3.5 2020-01-22 21:47:17 +01:00
Harald Kuhr
f7ce772f84
Merge pull request #516 from haraldk/adobe-path-write
Adobe Path write support
2020-01-22 21:38:43 +01:00
Harald Kuhr
3d4bc0e69d #490: License. 2020-01-22 21:03:02 +01:00
Harald Kuhr
c721291a78 #490: Last minute API changes... 2020-01-22 20:51:39 +01:00
Harald Kuhr
5f9ea2e7c2 #490: Doc. 2020-01-22 20:49:18 +01:00
Harald Kuhr
c48af5acc7 #490: Minor API clean-up and documentation. 2020-01-22 20:35:41 +01:00
Harald Kuhr
8b86b57e63 #490: Fix for "incomplete" paths with implicit line back to start. 2020-01-22 20:06:30 +01:00
Harald Kuhr
420f78be88 #490: Fix for "incomplete" paths with implicit line back to start. 2020-01-17 16:44:42 +01:00
Harald Kuhr
d2b58ed20e #490: Now allows writing using standard TIFF writer in Java 9+ 2020-01-17 16:43:27 +01:00
Harald Kuhr
278ce6ef33 #490: Now allows writing paths in TIFF and JPEG. 2020-01-16 19:31:54 +01:00
Harald Kuhr
768bc30653 Merge branch 'master' into adobe-path-write 2020-01-15 15:11:31 +01:00
Harald Kuhr
d9d8419803 #514: Fix integer overflow in stripbytecounts computation. 2020-01-14 21:18:13 +01:00
Harald Kuhr
7a9523690c
Update LICENSE.txt 2020-01-14 20:40:38 +01:00
Harald Kuhr
e5c6832ec0 #490: Allow writing more TIFF fields. 2020-01-13 21:05:04 +01:00
Harald Kuhr
167686bdea #490: Minor debug cleanup. 2020-01-09 21:28:37 +01:00
Harald Kuhr
d3249dc3d5 #490: Refactorings. 2020-01-09 21:25:41 +01:00
Harald Kuhr
5c1f51f3ca #490: Fixed roundtrip tests and tuned collinearity threshold. 2020-01-09 21:23:20 +01:00
Harald Kuhr
fde3a5c2ab Updated version numbers. 2020-01-09 20:24:22 +01:00
Harald Kuhr
ae213dcf5e log4j removal 2020-01-09 19:18:15 +01:00
Harald Kuhr
51ace4ca7f #490: Refactorings, added initial detection of linked/unlinked segments, more tests. 2020-01-09 19:17:35 +01:00
Harald Kuhr
f15bcc7df9 log4j removal 2020-01-07 13:44:40 +01:00
Harald Kuhr
6be86affd6 #490: Fixed tests 2020-01-02 15:32:06 +01:00
Harald Kuhr
eec8268eb9 #490: Adobe Path PoC 2020-01-02 15:26:48 +01:00
Harald Kuhr
859b232f64 #490: Initial commit Adobe Path write. 2020-01-02 15:24:22 +01:00
Harald Kuhr
5501c0e709 #510: Fixes possible hang situation 2020-01-02 14:55:16 +01:00
Harald Kuhr
306d8ac5f6
Merge pull request #505 from KoenDG/intellij_performance_analysis
Changes suggested by Intellij in the category "Performance".
2019-11-04 08:43:22 +01:00
Koen De Groote
d41f6a4465
Update BMPImageReader.java
Not using this change for now
2019-11-02 21:09:25 +01:00
Koen De Groote
8ed5f06151 Changes suggested by Intellij in the category "Performance".
Updated.
2019-10-22 11:51:24 +02:00
Harald Kuhr
42e17f2063 #501: Fix for TYPE_USHORT_555/565_RGB, ColorModel now 16 bits 2019-10-11 16:56:00 +02:00
Harald Kuhr
f449a50d64 TIFF tile support. 2019-08-29 19:11:14 +02:00
Harald Kuhr
0c2433dc9f #289, #493: Finally implemented subsampling for < 8 bit samples 2019-08-29 19:11:14 +02:00
Harald Kuhr
a5def1ba3d
Merge pull request #495 from Schmidor/svg_rescale_viewbox
Svg scale by ViewBox
2019-08-22 19:59:07 +02:00
Oliver Schmidtmer
810b7197ab Test correction for ViewBox based svg sizes 2019-08-22 16:51:34 +02:00
Oliver Schmidtmer
24a0786d64 When rescaling SVGs use the ViewBox, if defined, for default sizes 2019-08-22 16:35:40 +02:00
Harald Kuhr
c1ce4b066d Updated version numbers. 2019-08-12 21:54:15 +02:00
Harald Kuhr
b6aec25f00 Stick to the git user, when using ssh 2019-08-12 21:12:17 +02:00
Harald Kuhr
c1834dc78d Switched Maven SCM to use ssh. 2019-08-12 20:40:50 +02:00
Harald Kuhr
9e23413456 Fixed JavaDoc errors to enable Java 8 build. 2019-08-10 00:41:36 +02:00