Scott Williams
7f9a32b80a
removed extension method
9 years ago
James Jackson-South
88d379fb0a
Add size overload to Resize
9 years ago
Scott Williams
11236a55f6
Put processors folder/namespace back
9 years ago
Scott Williams
7570c3a278
migrate processors
9 years ago
James Jackson-South
7e048ed506
Merging into master
10 years ago
James Jackson-South
a404a3646d
Remove TPacked from generic signature
10 years ago
James Jackson-South
9afc73d2b4
Update TPacked signature
Removes boxing allocation when comparing generic packed value.
10 years ago
James Jackson-South
d59e569ce8
Move Resize and fix tests.
10 years ago
James Jackson-South
e4d76533ea
Normalize naming and organize locations
10 years ago
James Jackson-South
a57c90d94b
Rename to ImageSharp
10 years ago
dirk
a27f4b953b
Enforce struct on TColor
Former-commit-id: c22a93c67274e1ab495ffa6a85d6c7cb95688974
Former-commit-id: 12a03f05c3c0137240006e978a573e5ff0746ce4
Former-commit-id: 78b186b3d54015644377e55314c070c84debfb25
10 years ago
dirk
7cc5398365
Added extra interface IPackedPixel so we can easier add extra interfaces.
Former-commit-id: 6fbacd8b3fc9f85f4fd8571c20ff5fd12e5057b8
Former-commit-id: 44b521a163f472068e0dea15334c9361c8bc5a28
Former-commit-id: d53a1519d6bc0573a50bbf397ebde59e61873957
10 years ago
James Jackson-South
654af81258
Revert "Enforce struct on TColor"
This reverts commit c6a36c9427 [formerly 1e48873bd7609b2ecd1b33158ae1f7d3f9d517e0] [formerly 5ee53a5681d546619d3fabaf65d343e20d025b58] [formerly 0de461016f83628673d07d18a2f2a402082f47b2].
Former-commit-id: d0b4d2efc7bae39501eb4d0ed8f130f0185d0b1c
Former-commit-id: 6cb6f17122c793f01a7ea53f9dbe24d10fd02970
Former-commit-id: 1006885854cb5e74f5b53eddd803a531327a872c
10 years ago
James Jackson-South
13c865ca18
Enforce struct on TColor
Former-commit-id: 0de461016f83628673d07d18a2f2a402082f47b2
Former-commit-id: 5ee53a5681d546619d3fabaf65d343e20d025b58
Former-commit-id: 1e48873bd7609b2ecd1b33158ae1f7d3f9d517e0
10 years ago
James Jackson-South
5cd6d2de08
Remove progress event handler.
It was useless once multiple processors were combined and also hurt
performance.
Former-commit-id: 639ea64d56094dbaed1cfb94cdc154d5439fc446
Former-commit-id: 9cf0ff1d972ff903bc14c8121c2feb15fcbcd690
Former-commit-id: 04da60830efe9a6d774e0f80431592c9c53f1841
10 years ago
James Jackson-South
ab270643ba
Add resize overload
Former-commit-id: f4c7cb3a87ffdf88a55339c10967c8b35225c37a
Former-commit-id: 538c2a48e661b6563fbd9f3be82237b6552f793b
Former-commit-id: 7bdd802e524bd1480e22c09da91499ea21f80ea4
10 years ago
James Jackson-South
7c624d0b27
Use PixelAcessor<TColor, TPacked> #457
Former-commit-id: 38a4a37351b55ae4027064c96983460a440140b8
Former-commit-id: db9a4f0f2ce7930ae633e3a7ceee0fab7f5db464
Former-commit-id: 34289d7967ca5c8cdbb0949ed8bf0f65586fa297
10 years ago
James Jackson-South
98ad93304d
Split out resizers to improve performance.
Former-commit-id: 1871483f9d145b59268bc94f9acac00db152fe05
Former-commit-id: f09e24bcae7cc31550084e20e843f53f77c2045a
Former-commit-id: ac0732d1617f74808c6680ad4e52d7f9ba916b49
10 years ago
James Jackson-South
731138f379
Add format tests
Former-commit-id: 05ae692a75c4b11f2e4474f84412f432f93e8753
Former-commit-id: 782629c7d712f5496c6ff4cdeea242eef0896e31
Former-commit-id: da773565a12c5de9186d546542b2b8f976903567
10 years ago
James Jackson-South
24b5764b98
Add all samplers.
Former-commit-id: c60883d765b1372be2a9ab88f8494dfa3283d8a6
Former-commit-id: 9fbcdac0c826d57eaa2bafdc5c72ff90079e5f51
Former-commit-id: 2e8a4fba64de7233e5ea741122188eb86612a060
10 years ago
James Jackson-South
ac6a2e1f21
Add Crop
Former-commit-id: 63386b63ab93e14d3c50383739c042a656efab9f
Former-commit-id: 0a1b7a7367d9ea360cc4cf0a821c788bd468b607
Former-commit-id: 8430af726048214b3820969d1dfe31b9df72a695
10 years ago
James Jackson-South
2ab08b54a2
Remove new() type constraint
Former-commit-id: 60b0e004f0517fe6ffd7b0f2aef1d196ed3ef9fd
Former-commit-id: e42b121f44034c0d82ffdeac627cd0d214eb6780
Former-commit-id: 792ae7427d0028d2a012b100259e7ee72e1fc224
10 years ago
James Jackson-South
c11751e6c5
No need for second type param
Former-commit-id: 19180d2962371ebdbe77b1e08a1867b8630abf43
Former-commit-id: 84da094533206cb0c1a859a438fe6a937af9fa77
Former-commit-id: 3094f56fbf68569748a6b31f3874cf716ed673b6
10 years ago
James Jackson-South
7a6e17d5c0
Faster... Much Faster...
Former-commit-id: 72030d1552aad7da681b03900ffe614bb8fee3d2
Former-commit-id: 13219f66ec6a6f6e3d61eddd8102810ab4b948f7
Former-commit-id: 356cddebc1dd634474e0b5ddc450318d5b21bff3
10 years ago
James Jackson-South
abe4412c79
Getting there....
Former-commit-id: 52d18a5b7db2755316ced3502b012186b6eebf96
Former-commit-id: c03f4bd0c6cf3701e9cd9244b43425c1d5e7c32b
Former-commit-id: 794deb40b750df545be1aacff66677ea4443190b
10 years ago
James Jackson-South
ff9bca00f7
Moar T
Former-commit-id: 53f37fb68f78c602df15d87f6c9086f75eed1cfc
Former-commit-id: 79ee79b98b686595c4e5d6054365884a7dbf5b7a
Former-commit-id: afc91142ccd716afb271b29bdbf736d779ef4d84
10 years ago
James Jackson-South
20f34563ef
Trim back to basics
Former-commit-id: 3cca13c49abcf0e9a5a394794153406084d2e19e
Former-commit-id: 767a3db69cf4adecac58c58a84891b736ada79eb
Former-commit-id: db1a5b695cc73951becdff9b31535b8f7b03e75b
10 years ago
James Jackson-South
c332cd8a1e
Fix namespaces
Former-commit-id: 5e9d8e0d98e6bed499d71b0cab005c2c253ec917
Former-commit-id: 87cc61833ac266b0795f93a8c3a46ba84796e726
Former-commit-id: 2d3e58fe24556ae5701d00236b10125f878b4b63
10 years ago
James Jackson-South
7835f9eaaa
Flatten namespace [skip ci]
Former-commit-id: 16779a3ac82e4d9ca67d4b9dd318b443c12e0949
Former-commit-id: fd491dea8ad3366ca25c6f7cf0760addadb6f2d4
Former-commit-id: 1c04febd3c3b9e84f4ea724707caacca73237b40
10 years ago
James Jackson-South
8cda9e0996
Refactor samplers namespaces
Former-commit-id: 01e9ff7cd68ee13a29e9b8f574ab9bf4c4190c0d
Former-commit-id: be5c2dc437493de0e9a77a49ab367816f6030baa
Former-commit-id: adb5ccf166b13bf8d88431f61ce77a155c469f82
10 years ago
James Jackson-South
b495c6bbef
Clean up after resize.
Former-commit-id: ecde7b51da9a00e7b83a6cd3be0f17bc4809ce66
Former-commit-id: 7972863246f8a461e065f0fd53938c734f42df4d
Former-commit-id: b266214b444bc204f552ebba19f03a9aca791ac3
10 years ago
James Jackson-South
2771f593f6
Fix Resizer
Fix #394
Former-commit-id: 490723c7f33cbab80264901ad252541a44b1dc73
Former-commit-id: 60edb602bc6236d29495081697e2f385aaa84320
Former-commit-id: abf91473873cfad473325c0af36a7026f5e40709
10 years ago
James Jackson-South
afe23fc305
Finish ResizeModes proper
Former-commit-id: 4582848b6fb5eee5c57c3a087ebd754015afe7b0
Former-commit-id: 79bf4fed23de01d328004558b9d1389ededc6192
Former-commit-id: 0ffc0e8c7fb9b123b251123f1aeb66612a09d089
10 years ago
James Jackson-South
1f32cace7e
Finish resize modes [skip ci]
Former-commit-id: 7f2b4f6be701e280da5697663ecfb33daead5c8f
Former-commit-id: 3a71ce1ae1387d1647a2fefc3f53122a5b717c3b
Former-commit-id: 6b203558a57cd9623a67982213e004f5d068763f
10 years ago
James Jackson-South
b1156feb3e
Begin add ResizeMode [skip ci]
Former-commit-id: 7d28a87716e4b7c2dea73bc0fb804873d30372f6
Former-commit-id: 433c2d3c310ed0e361c42601ae4432d97a074fcf
Former-commit-id: abf2e280afbcc9bc0d02cdfe74921f2763ce0f8d
10 years ago
James South
73939baad2
Improve Resize and Rotate
Resize is more accurate + should be faster for larger images.
Rotate is now faster.
Former-commit-id: 3048d78e60fe62e826fe0b6fcb13a83ed6cf38eb
Former-commit-id: dc9eacc4bc7a9c9c33c155bdaa871b15b62816ff
Former-commit-id: dd17b2b62035f8bf3af68167e8e2cb72ac2dfcb3
10 years ago
James Jackson-South
cdaa7b99ec
Resize experiments.
Former-commit-id: 9d1f60a253be59b797be35618a0159dd6ca3b13b
Former-commit-id: c36b547bcc7372a0961397c20fdcdb6fee96070d
Former-commit-id: 4e5618575a0a923629e85880dd75f358d8bfe6eb
10 years ago
James South
370550555a
No need for bounds check.
Former-commit-id: 6004db66d17f9fc01328774b9a15e2876ae6e57a
Former-commit-id: badb280bc5a2206643bf403856e98335f63c410b
Former-commit-id: fd532c37d6ed95609736410b30e6b4037e1ec795
10 years ago
James South
2aabf49b56
Image now IDisposable
This appears to have injected some voom into things. Not benchmarked
though and needs double checking for memory leaks.
touch #360
Former-commit-id: 0707a36781e3a5fa4d273d933d1bd1b04b022092
Former-commit-id: f7ec165c3d10d9e1e35b8eec3545ca75cf302cf9
Former-commit-id: d5bc57ce1cde9f1486a954d3453040514dc4d629
10 years ago
James Jackson-South
b59fa63a1d
Companding now off by default when resampling.
This doubles the resizer speed.
Former-commit-id: abbf63f863635d4df1a04d322eccd425db7e82db
Former-commit-id: 63b218a375e80832a49c4575d341febe08cb48ca
Former-commit-id: 1327e6da18486c8a3b97d20cc4dead0b77e1f82b
10 years ago
James Jackson-South
a9ad947885
Rename to Core
Former-commit-id: c18f0149c93be6a2b8f196bd9265d293071f303b
Former-commit-id: ec96e4fa102a05b541bee1dc6be583ad9676a664
Former-commit-id: af407d177b01792436a266deecb16925f1c22981
10 years ago
James Jackson-South
f7d04925d7
Rename to Core
Former-commit-id: d67ccae22dd0be392237738f05abc778f5f37bca
Former-commit-id: b2cd4c7535080da11a3710d8e4a6dc4cba934512
Former-commit-id: 491167f89f2e9487a1956a33cf75616d3b4789c6
10 years ago
voidstar69
e734e31bff
Updated every filter and sampler to call ParallelImageProcessor.OnRowProcessed to enabled progress notifications for client code
Former-commit-id: 457a0ef5953ccea0c83d4a3c67c4d276eb9172f0
Former-commit-id: 9a6824f576f5c18db44cf8e535676deaae3dc70a
Former-commit-id: 9a90ccef99351f7f19c75041f05f9f2cd0e080a6
10 years ago
voidstar69
39684e9fa0
Updated every filter and sampler to call ParallelImageProcessor.OnRowProcessed to enabled progress notifications for client code
Former-commit-id: 3669c36371f1e113f64c927c352cffd8d083b2b9
Former-commit-id: 3a338140eca0b31f75389c82b6a87c6b74a98db8
Former-commit-id: b2e9b8dcc8bd8706056c8a23302b940de21bf1f6
10 years ago
James Jackson-South
ecf90be3d5
Resizer is now a 2-Pass 1D process.
Former-commit-id: f7dddf44418638397c4d3639a08fc1058d720470
Former-commit-id: 5a08b1e1bdedc910a00f66917bf1ac3eadaa7a31
Former-commit-id: f3be022b70d7e2edf4c1741566008abe7b034a1e
10 years ago
James Jackson-South
6aaca12252
Resizer is now a 2-Pass 1D process.
Former-commit-id: dfeacbdc5bcbcbfa58e4f7b0b731552017ccf562
Former-commit-id: b6d6133d665001a134b387c332ce83f423e53ada
Former-commit-id: 1ad3ae7a746f4e4036fcd09b723a763a19bfb4b6
10 years ago
James Jackson-South
198dfb1d01
Add rotation to resampler
- TODO: Better edge handling.
Former-commit-id: 074f57e3bf0136519ffceccbe360ae94445a7893
Former-commit-id: 3165e549493652f7557c0e23f84dd03d89b06320
Former-commit-id: 8046adb8f1013885223deca6283cb1cde0a58f18
11 years ago
James Jackson-South
53a7d2768d
Add rotation to resampler
- TODO: Better edge handling.
Former-commit-id: c4c65b5dd47357ff419119ddf1f3d4f0e3a5c5e4
Former-commit-id: 22ecdf450bc106f6b1c3e0f3c4cb2cd5a2a010ab
Former-commit-id: 95089f4cd166de28c8133aa873ae4195b1b8ffbf
11 years ago
James Jackson-South
b8760a8693
Various fixes
- Fix alpha clamping on Resize to prevent bleed.
- Finish Color premultiplication updates
Former-commit-id: e0cc8e3c08b0626fe1a1a7ce4c2f1246c1b912ca
Former-commit-id: 503f9fa8137a2ff561d697bb2a4cdd2071f1728d
Former-commit-id: 51ee649dbfec8fc8cc4db412ac6b743ba2ce991c
11 years ago
James Jackson-South
8a9210f579
Various fixes
- Fix alpha clamping on Resize to prevent bleed.
- Finish Color premultiplication updates
Former-commit-id: 52998716848b710dad059ce767ac5c14e6f3cac7
Former-commit-id: b63167e01bb7ab827438cf3cdd4e39bbff9c5249
Former-commit-id: a3dfdeaae32f9fd0463cd9da76cf0b7ef1c93571
11 years ago