Brian Popow
8b0eaf8dfd
Code review changes
6 years ago
Brian Popow
7db0caaedd
Throw ImageFormatException when width or height is 0
6 years ago
Brian Popow
862018228d
Add tests for bmp and tga header to throw UnknownImageFormatException when there is insufficient data
6 years ago
Brian Popow
f1a021b065
Using tolerant comparer for 16 and 8 bit
6 years ago
Anton Firszov
53bb11a236
expose ParallelExecutionSettings and ParallelHelper, fix MaxDegreeOfParallelism
6 years ago
Anton Firszov
d758d49f1f
expose limited Buffer2D internals, smplify API surface
6 years ago
Brian Popow
2e034af05c
Set expected default configuration count to 5
6 years ago
Brian Popow
f612fabf79
Add CompareToOriginal at the end of Issue1014 test
6 years ago
Brian Popow
3b5af03f5f
Add test for the tga encoder
6 years ago
Brian Popow
7b3018c3e1
Add support for encoding rle 8, 16 and bit tga images
6 years ago
Brian Popow
deb1bf5284
Add support for images with top left origin
6 years ago
Brian Popow
e12873c115
Add tests for topleft origin
6 years ago
Brian Popow
296e75bb3f
Change test images, add additional tests
6 years ago
Brian Popow
7a8a132558
Add RLE test images
6 years ago
Brian Popow
3b48dc39dc
Add tga decoder tests
6 years ago
Brian Popow
c3d5f4bd29
Add unit test for issue #1014
6 years ago
James Jackson-South
ccaaf402e4
Fix up code and tests
6 years ago
Brian Popow
2bd1df92ba
Change test images for Issue984 to be non transparent
6 years ago
Brian Popow
9942e1f64b
Change the default value of clipLimit
6 years ago
ip75
e880e63df2
fix test values
6 years ago
ip75
e76ebb84ef
Filters test
6 years ago
James Jackson-South
40b69d7e95
Refactor cloning processors and tests
6 years ago
James Jackson-South
d62fa6929b
Make processors public, refactor cloning.
6 years ago
ip75
dd4570ea6e
Value 1.5 must be greater than or equal to 0 and less than or equal to 1
6 years ago
ip75
0dfc761427
LightnessTest
6 years ago
Xavier Cho
7e06b63420
Accept points instead of line segments as constructor argument
Note that this is a breaking change.
7 years ago
Turnerj
fa1d9efaa2
Use local CreateFont method
7 years ago
Turnerj
6a0ce745e8
Updated font used for test
7 years ago
Turnerj
ad56a756ce
Fix horizontally out-of-bounds error when drawing text
7 years ago
James Jackson-South
ee8ea55e31
revert preenumeration rule
7 years ago
James Jackson-South
cab9d4d76b
Fix #999 and add tests
7 years ago
James Jackson-South
58eb198468
Fix #997
7 years ago
Anton Firszov
895d51559a
delete GuardTests
7 years ago
James Jackson-South
cf0bb2540f
Fix #1004
7 years ago
James Jackson-South
54aea38d78
revert preenumeration rule
7 years ago
James Jackson-South
2a5dd6bc76
Fix #999 and add tests
7 years ago
James Jackson-South
34c5b5a16c
Fix #997
7 years ago
Anton Firszov
cca018dd0c
delete GuardTests
7 years ago
Anton Firszov
1845f5e142
debug save the output for Issue984
7 years ago
Xavier Cho
da44dcf1f3
Implement gradient brush similar to PathGradientBrush ( #969 ) ( #989 )
* Implement gradient brush similar to PathGradientBrush (#969 )
A gradient brush implementation that works similar to
System.Drawing.Drawing2D.PathGradientBrush.
This fixes #969 , but only convex paths are supported for now.
* Update submodule to add test fixtures for #989
* Performance optimization
Use LengthSquared() instead of Length() when it's possible.
Avoid unnecessary ordering of elements.
* Avoid using LINQ in a hotspot
* Validate arguments for the public constructor
7 years ago
James Jackson-South
b173a70a00
Implement IDisposable in IImageProcessor<TPixel> instances. ( #990 )
* Implement IDisposable and ensure inheritance calls base
* add ImageProcessingContextTests and move some other test classes
* loosen up tests and leave TODO notes
7 years ago
Sergio Pedri
f25c68304d
Processors refactoring ( #983 )
* Added new properties to ImageProcessor<TPixel>
* Fixed constructors for convolution processors
* Fixed constructors for binarization processors
* Fixed constructor for dithering processor
* Fixed constructors for effects processors
* Fixed constructor for filter processor
* Fixed constructor for normalization processor
* Fixed constructors for overlay processors
* Fixed constructor for quantization processor
* Fixed constructors for transforms processors
* Updated CreatePixelSpecificProcessor<TPixel> definition
* Fixed convolution processors creation
* Fixed leftover dithering processor constructor
* Fixed another leftover dithering processor constructor
* Fixed dithering processors creation
* Fixed effects processors creation
* Fixed filters processor
* Fixed normalization processors creation
* Fixed overlays processors creation
* Fixed quantizer processor creation
* Fixed constructors for some remaining processors
* Fixed transform processors creation
* ImageProcessor class refactored
* Renamed some parameters
* Convolution processors refactored
* Refactored filters and dithering processors
* Refactored normalization processors
* Overlays processors refactored
* Renamed some parameters
* CloningImageProcessor class refactored
* Transforms processors refactored
* Updated DefaultImageProcessingContext class
* Src builds, tests still require updating.
* Fix tests
* Removed unnecessary local variable
7 years ago
Brian Popow
d15022007f
Add regression test for Issue984
7 years ago
Simon Cropp
fd6a03af15
remove some redundant usings ( #976 )
7 years ago
Simon Cropp
bcbd4726a6
use var where apparent ( #972 )
* use var where apparent
* use var where apparent
* should use Rgb24
7 years ago
Simon Cropp
e23d8df485
remove some redundant variables and type params ( #971 )
* remove redundant variable init
* redundant variables
* remove redundant tileY variable
* remove redundant sum variable
* redundant mcu variable
* redundant type params
* Revert "remove redundant sum variable"
This reverts commit 21de86c82f .
7 years ago
Anton Firsov
c992db17fe
Throw ObjectDisposedException when trying to operate on a disposed image ( #968 )
* disable multitargeting + TreatWarningsAsErrors to for fast development
* Check if image is disposed
in significant Image and Image<T> methods
* Mutate / Clone: ensure image is not disposed
* Revert "disable multitargeting + TreatWarningsAsErrors to for fast development"
This reverts commit 9ad74f76f6 .
7 years ago
Simon Cropp
270a073fc6
Cleanup ( #965 )
* redundant ()
* redundant stirng interpolation
* use method groups
* redundant unsafe
* redundant qualifiers
* redundant ()
* redundant init
* redundant init
* redundant casts
* redundant casts
7 years ago
Simon Cropp
30804cfefd
remove unused variables and methods ( #963 )
* remove unused variables and methods
* remove some redundant variables
* remove some redundant variables
* redundant variables
* Update DrawTextOnImageTests.cs
* Minor optimizations
* cleanup
7 years ago
Jason Heard
4f65fd1d1e
Add test from issue #928
7 years ago