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 |
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 |
Jason Heard
|
ba07fc22ba
|
Add possible fix
|
7 years ago |
Anton Firszov
|
17a4d91b82
|
clean-up drawing processors
|
7 years ago |
Anton Firszov
|
0e2c53e5ed
|
Pen, Brush & Processors refactored
|
7 years ago |
Curtis Wensley
|
26b2b3d310
|
Check for solid brush outside of loops
|
7 years ago |
Curtis Wensley
|
b31db43b11
|
Optimize filling a region with a solid brush when antialias is off
|
7 years ago |
Peter Amrehn
|
54b279983a
|
fix typos in comments
|
7 years ago |
Vicente Penades
|
c95ead7baf
|
reverted some changes from using DebugGuard
replaced *Vector with *ScaledVector conversion methods
|
8 years ago |
Vicente Penades
|
e0a056782f
|
expanding blocks...
|
8 years ago |
Vicente Penades
|
681df46c2d
|
trying to improve Opacity out of range propagation.
For some reason, FillRegionProcessor and DrawTextProcessor where overshooting opacity over 1
|
8 years ago |
Anton Firszov
|
9e856a23cc
|
Move ImageSharp-specific memory primitives and utils to SixLabors.ImageSharp.Memory
|
8 years ago |
Anton Firszov
|
12bcdbb49a
|
replace IBuffer<T> with IMemoryOwner<T>
|
8 years ago |
James Jackson-South
|
0a6913e0c6
|
Simplify drawing namespaces.
|
8 years ago |
Anton Firszov
|
ecf160e5bb
|
refactor QuickSort to a common utility class
|
8 years ago |
Scott Williams
|
c13fb2cd1d
|
make processors immutable again
|
8 years ago |
Scott Williams
|
9cc4fd683d
|
add optermised drawing path with cached glyph rendering
|
8 years ago |
Anton Firszov
|
85d7548049
|
rename namespace: SixLabors.ImageSharp.Memory -> SixLabors.Memory
|
8 years ago |
Anton Firszov
|
6585f9551f
|
RENAME: MemoryManager -> MemoryAllocator
|
8 years ago |
Anton Firszov
|
259f9736f3
|
refactor FillRegionProcessor, drop MemoryManager.AllocateFake
|
8 years ago |
Anton Firszov
|
85d0295f44
|
refactor SixLabors.ImageSharp.Primitives.Region
|
8 years ago |
Anton Firszov
|
e610fd0f7a
|
Change IBuffer<T>.Span to IBuffer<T>.GetSpan() to match System.Buffers.MemoryManager<T> API
|
8 years ago |
woutware
|
8fc424a38a
|
Minor performance refactorings.
Moved the division out of the loop, division is expensive.
|
8 years ago |
James Jackson-South
|
6ec2a26982
|
Overlays => Drawing
|
8 years ago |
James Jackson-South
|
4573913520
|
Move drawing files into structured folders
|
8 years ago |
James Jackson-South
|
4bc09cf794
|
Quantizer
|
8 years ago |
James Jackson-South
|
13fa40874e
|
Binarization, Convolution, DIthering, Effects & Filters
|
8 years ago |
Anton Firszov
|
8e7aef62a7
|
MemoryManager-s should provide their own IBuffer<T> implementations
|
8 years ago |
Anton Firszov
|
7881fdd341
|
Hide Buffer<T> indexer + !! WuQuantizer review in comments !!
|
8 years ago |
Anton Firszov
|
6a2bd3d617
|
introducing FakeBuffer<T> workaround
|
8 years ago |
Lauri Kotilainen
|
3562d9bd8f
|
- Removing more usages of ArrayPool
|
8 years ago |
Lauri Kotilainen
|
8d44ae346e
|
- Explicitly pass MemoryManager to the places that
need it (aside from a few exceptions)
|
8 years ago |
Lauri Kotilainen
|
61b61709a9
|
- Allocate Buffers from memory manager
|
8 years ago |
Scott Williams
|
48c2a91336
|
Ensure extact half full renders a pixel
It can end up missing some pixels if they happen to fill exactly half the pixel
|
8 years ago |
Scott Williams
|
1ab5511439
|
Offset pixel grid when rendering with anti-aliasing turned off
Fixes #412
|
8 years ago |
Scott Williams
|
41b92dbde4
|
remove dubug if
|
9 years ago |
Scott Williams
|
888e1f93c7
|
update shapes package to fix broken tests
|
9 years ago |
Scott Williams
|
70e734a2d4
|
remove usage of Span<T> from public api surface
|
9 years ago |
Scott Williams
|
b289ce752a
|
pass configuation into processors
|
9 years ago |
Scott Williams
|
ec2503c2e4
|
wip - pixel data only on image frames
|
9 years ago |
Scott Williams
|
bc6f6d61a6
|
cleanup drawing namespace
|
9 years ago |
Scott Williams
|
872ca973de
|
inital rename packages and namespaces
|
9 years ago |
Scott Williams
|
7f8d10c89a
|
migrate to use primitives from SixLabors.Core
|
9 years ago |
Scott Williams
|
15dffecfc1
|
ensure we fill pixels even if start is smaller then minX
fixes #237
|
9 years ago |
Scott Williams
|
4ab9228508
|
replace outlineing logic with path generation.
|
9 years ago |
James Jackson-South
|
e768b09198
|
Internalize PixelAccessor
|
9 years ago |
James Jackson-South
|
9984ffa348
|
Replace BufferSpan<T> with Span<T>
- Add System.Memory
- Update System.Runtime.CompilerServices.Unsafe
- Move memory classes/structs to ImageSharp.Memory
- Replace BufferSpan<T> with Span<T> and adjust methods accordingly
|
9 years ago |
Scott Williams
|
0d8eb2032c
|
initial blender implementations
|
9 years ago |
James Jackson-South
|
7d2fe2c7e5
|
Move IPixel types to PixelFormat namespace
|
9 years ago |
James Jackson-South
|
fff223ef07
|
Rename TColor to TPixel
|
9 years ago |