James Jackson-South
2577046429
Fix #3000
3 months ago
James Jackson-South
c579547a4f
Separate transform spaces
2 years ago
James Jackson-South
0103d81d96
Fix off-by-one error when centering a transform.
2 years ago
Scott Williams
d8857023be
Sync 3.1 DrawImage fixes ( #2612 )
* Handle dedup of local palette of 256 length
* handle when foreground overhangs bottom of background
* prevent potential overflow
* reduce to a single par of clamping operations
* correctly calculate Rect when negative target set
---------
Co-authored-by: James Jackson-South <james_south@hotmail.com>
2 years ago
Scott Williams
9906ee5ad7
correctly calculate Rect when negative target set
2 years ago
Scott Williams
7ab7b226d9
handle when foreground overhangs bottom of background
2 years ago
James Jackson-South
42336ba7f9
Fix #2447
3 years ago
James Jackson-South
8a291f61fe
Add test + references
3 years ago
James Jackson-South
dc0982f186
Faster Linear Transforms ( #1591 )
* Attempt to use same weight generation algorithm as resize.
* tests pass
* Identical output
* Update LinearTransformKernelFactory{TResampler}.cs
* Use new low allocation iterator
* Migrate projective transforms.
* Optimizations
* Smaller kernel
* Fix sampling accuracy
* Finalize and update refs
* Revert unnecessary changes
* Remove enumerator
* Actually save output for debugging.
* Use custom test png encoder for reduced memory environments
* Convolution should use scaled vectors
* Update TestEnvironmentTests.cs
* Try using doubles
* Moar double precision
* Fix radius calculation
* Test if issue is SIMD related.
* Detect runtime to determine pipeline.
* Fix stack overflow
* fix condition
* Try simplified scalar run
* Simplify unpremultiply scalar
* Update Numerics.cs
* Fix runtime environment
* Update ImageSharp.csproj
* Duplicate the caller with scalar versions
* Update method name, exclude from coverage.
* Don't save output during coverage tests for perf.
* Update src/ImageSharp/Common/Helpers/RuntimeEnvironment.cs
Co-authored-by: Anton Firszov <antonfir@gmail.com>
Co-authored-by: Anton Firszov <antonfir@gmail.com>
5 years ago
James Jackson-South
d183091ac4
Add output reference images
5 years ago