James Jackson-South
d0fcf65a0f
Couple o' style: 👮 fixes [skip ci]
Former-commit-id: ffea772aa1fc98e01aeb873806e446780624777d
Former-commit-id: b40ce1cbd460c91589c9e7f30df765c15b284a11
Former-commit-id: 4995ad28fb866a16bed880f80e399a1687d649f7
9 years ago
dirk
83582b8999
Added new interface to convert an IPackedPixel to and from a set of bytes.
Former-commit-id: 63481b92335c358cfeb10da5df3c4fb79abf7786
Former-commit-id: 2e9a02d7896340fbd9610c358ba4cd472ac124a1
Former-commit-id: bb5030a386fb749f779e5acddd462832d6412ee2
9 years ago
dirk
cf542ef1ec
Enforce struct on TColor
Former-commit-id: c22a93c67274e1ab495ffa6a85d6c7cb95688974
Former-commit-id: 12a03f05c3c0137240006e978a573e5ff0746ce4
Former-commit-id: 78b186b3d54015644377e55314c070c84debfb25
9 years ago
dirk
7b7ae9344c
Added extra interface IPackedPixel so we can easier add extra interfaces.
Former-commit-id: 6fbacd8b3fc9f85f4fd8571c20ff5fd12e5057b8
Former-commit-id: 44b521a163f472068e0dea15334c9361c8bc5a28
Former-commit-id: d53a1519d6bc0573a50bbf397ebde59e61873957
9 years ago
James Jackson-South
d949ab0f26
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
9 years ago
James Jackson-South
c6a36c9427
Enforce struct on TColor
Former-commit-id: 0de461016f83628673d07d18a2f2a402082f47b2
Former-commit-id: 5ee53a5681d546619d3fabaf65d343e20d025b58
Former-commit-id: 1e48873bd7609b2ecd1b33158ae1f7d3f9d517e0
9 years ago
James Jackson-South
436a105af7
Png stylecop
Former-commit-id: 7d13b3c396b75143108bb9e5df6b03bbc0085095
Former-commit-id: 40f802aea39d038f8908e50c364fe161b4978b44
Former-commit-id: af2b3ed36a98b84eea71484582b718dea2f240cb
9 years ago
James Jackson-South
a772712c93
Fix Image.ToString() to reduce debug workload.
Former-commit-id: d83a970fe376720fe4dccec41d1c61b485bc5766
Former-commit-id: eac38bb459abfb95817b1bd88519150eff1a21da
Former-commit-id: da1bce000ed52f03bbade5542e095bc206f38482
9 years ago
James Jackson-South
b6acde37a5
Use Jagged array for blur/sharpen.
Former-commit-id: 5f81ab7f9ce979eebccb5655ee29e105b7303806
Former-commit-id: 7de02600717df05b1dce161be06591f00d58f0e0
Former-commit-id: 60489cc8b8d44251df7357da80d30d6ea1a922fc
9 years ago
James Jackson-South
aa721c20a5
Use Jagged array for other edge detection filters.
Former-commit-id: 01b45cf5bc15f50c9e56d9e9ede8459ddda590cc
Former-commit-id: a8dee96f99b651b0513be43d1812c043818a3148
Former-commit-id: 1c4a5a0430cce0695d87fef840d82f637b72e391
9 years ago
James Jackson-South
2e7708e747
Color stylecop [skip ci]
Former-commit-id: 2da0a80a899dd840b6f172c4def833f36c8e7928
Former-commit-id: 0bca572f378a3e9ad03054405af9e055472c66cf
Former-commit-id: ea59bff3ab338a9b648b556761a7eb8cd01c15d4
9 years ago
dirk
21c5d434e8
Use Vector4 when packing the Color value.
Former-commit-id: d0ebca8ba70670843ea2d5cb483868a1595e6f62
Former-commit-id: b7d0dfd8102e0dbbf7e77842b881e8e4be8b3b1d
Former-commit-id: 8ee2ecfcc28e0c1699693af49a5c9454ef59b238
9 years ago
dirk
577ca7b436
Use jagged instead of multidimensional array as suggested in #462 .
Only create the kernels once in the filters.
Former-commit-id: 4df56763ba8b568b5880f85b2fe1147b39ecae4f
Former-commit-id: 609592f6cbd8bd084f05b3e510697edd204d2aec
Former-commit-id: 3f6ccfb3c69420d39b5bd62080e7be54fad17a97
9 years ago
dirk
d371ecfc7a
Added FromHex and ToHex to color.
Former-commit-id: 60166c603ecbab8d22260406a54e0df01f88fa4d
Former-commit-id: 15b01cc24864cba066426996a85710645f274afd
Former-commit-id: 1221f66d47521eaebe09ff5ad4e0ebd78abc1554
9 years ago
dirk
6dcd771c8c
Refactored color to store the value as RGBA.
Former-commit-id: 67fe6a6b6cbc6ad7de60d1a86de5e7d9de1e095a
Former-commit-id: 5432d1f65ec5109894a0a493063039aea539d41d
Former-commit-id: 7ac0932ca72ef00618a62eadfcd132a2a3c24a86
9 years ago
dirk
a2d3509dcb
Removed invalid format specifier.
Former-commit-id: 4cb6197383b783a42f1f792f186e5af43a104566
Former-commit-id: ebbe9a9164c3e9c73e999c55da1320e3c0befdef
Former-commit-id: d5f7e5afd0cdc19f0e1fb5fdeb57b23880620c57
9 years ago
dirk
7679fedb26
Removed invalid format specifier.
Former-commit-id: 0d711034d8854d6c1c23a377fdb1033182981468
Former-commit-id: 53d308be6aa2b18d0f5bb8ad2484ebccb96bf6cd
Former-commit-id: 0901d2559abaca309f19932e602df5671c6389a3
9 years ago
James Jackson-South
a926d4900c
Cleanup [skip ci]
Former-commit-id: bff8258988879560d70275e17138ea80c4fcaa17
Former-commit-id: f88a9c5dc94265442f0f52c2595125e316e6efb0
Former-commit-id: 375b12dc3e97e8e6893f0f03869e8b525de4b07c
9 years ago
James Jackson-South
c04a32ae4a
Fix #482
Former-commit-id: a0e895673c782f6e5a92d26beee40b51d41bfc38
Former-commit-id: 6e8acc83f0511b8d1d437209676ed62c649b32af
Former-commit-id: c5764b5a8c52fa943ae6db2d09bf2e83257fb8c9
10 years ago
James Jackson-South
4a8063c4a9
Style 👮 [skip ci]
Former-commit-id: dc90b57236779001f72e720f3ccc1837829e4f63
Former-commit-id: ed263148ecc7b126576da8e996c63414deb9d736
Former-commit-id: 7a4ed86f07f7d174a06681eea2d4acf8e3003598
10 years ago
James Jackson-South
173f2c0f59
Remove unused TotalRows
Former-commit-id: 0909b9c0c2bd72f8d9c967084eab7db0f87279df
Former-commit-id: b4cfbfdef322dec493c9cd80b2ed58d4f181dfa2
Former-commit-id: 2df0c1234c013988bbe3ec07757446727038d2a6
10 years ago
James Jackson-South
5d03d0b106
Slight improvement to indexed png
Premultiply partial alpha colors above threshold
Former-commit-id: e3180b0889327530c971611680ae34e71d24db79
Former-commit-id: 135d6264188a87e221d38e68e9c905782c4a5d7e
Former-commit-id: 546f847865693d9b0a72f73438cd9a1d83c3a669
10 years ago
James Jackson-South
59c39f2da7
Fix spacing
Former-commit-id: 54109ad6669530b4101bdbc2cffa7164d8f768a0
Former-commit-id: cf9e89328f261ddde264dcd0a00785104e4344ba
Former-commit-id: 2e5830ec3f13f47292f60da845d9875b6b8768ee
10 years ago
James Jackson-South
354af45815
Fix cross-format quantization
Png can now store more transparent pixels when indexed and work with all
quantizers.
Former-commit-id: 6a4724535829d2c73024b6b1f0235e94e25ccad1
Former-commit-id: 24e4cfff4583c97caef30369302340a3a75ea57a
Former-commit-id: 56ff119c5a2a2506f06b59a23e5e13ec0c3a4688
10 years ago
James Jackson-South
c44e185562
Don't use vector for size
Former-commit-id: a4b056b61f435be685095b94fb974d8d72bebabe
Former-commit-id: 864f967d8b120a0292172c867f2e07a2a39799e0
Former-commit-id: d79cddcc4b6280d8f95bbf1a629c38d7f272738d
10 years ago
James Jackson-South
3e3e7351e1
Make Conv2pass non-abstract
Former-commit-id: 9919e35aa1ace90a4a979ad258123a9d7d04be6a
Former-commit-id: e612077242f43084b942c8083b20d37de83af157
Former-commit-id: c3fcabaaf91d39e6a6174a4a0faad7bfccc951e2
10 years ago
James Jackson-South
2b5424327c
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
dfbbed6de5
Make point closer to Sys.Drawing [skip ci]
Former-commit-id: 342cd0c458ee461cfde3ea5200fc4d7690042377
Former-commit-id: 54a4021809ee6dfd54f1e653478e8a05aec92f27
Former-commit-id: 949a4411a89318d3aef13cbd272915d5b0e078c8
10 years ago
James Jackson-South
ea6ac37273
Clean up rationals [skip ci]
Former-commit-id: ad694de554cb1cbec984f5af7abde6885649b2cc
Former-commit-id: 7d411118b462d6451d386c6915c6d31ddc7289c8
Former-commit-id: dd60d42bb56b148f630bd1ad3d7af8e5e9bb5764
10 years ago
James Jackson-South
cf112f604d
Doh!
Former-commit-id: c75e1fb072d9913029e521deedc0e66f712eb9f2
Former-commit-id: cba95defab49a45b9e8f25e853a7ec016cc13504
Former-commit-id: e60d6ac43314c49677a6251d90d485f9638ff174
10 years ago
James Jackson-South
8674d63cfd
Streams are now better handled
Non-seekable streams are now copied rather than throwing exception.
Output stream position is set to 0 on save.
Former-commit-id: 78b65a6c5fc22922b238b813c7625b053ca605a3
Former-commit-id: 496b6a8cd2e972767a370bf5a5a04d99cdd8d4b2
Former-commit-id: 68c5dc773389a413282c6ebac2542784c6d26867
10 years ago
James Jackson-South
03d438d0de
Add Robinson edge detection operator
Former-commit-id: 1a1c53bdeb6a5a6040ea2da8202693689a8004a4
Former-commit-id: af63533f9f04e814c10bb41a456217fa569846f5
Former-commit-id: cfa93ef57fea2c3c24da41c9da4b7153c91c7d90
10 years ago
James Jackson-South
59d75438d3
Make edge detector classes abstract
Former-commit-id: 556855c2478d6f0e2fa55116bda4324d0f6ea25c
Former-commit-id: b44d0b9b2608563be8d958f692261928d5d4bf71
Former-commit-id: 4d554bf692a04b0107326530f8c5d57002d31220
10 years ago
James Jackson-South
f87d15efe2
Move adobe transforms to constants. [skip ci]
Former-commit-id: 9d3ce39703340dcc507fa395eae0888d2f239e47
Former-commit-id: 4cdf934c53f6addf88c7bb645804feea0b47c7e5
Former-commit-id: e29fcd94b179e8e377871eee0035d212145c5fe6
10 years ago
James Jackson-South
f1b2d2fce6
Fix convolution edge detection
Former-commit-id: 7893263bbe8ae48c4c9868d53b4b8d83dacffab4
Former-commit-id: 6eb44d572463eb4d21bf7c5b26ea3836bb4a922e
Former-commit-id: 0c17bfb0eef70231ed7f26bf5b7435ac5a895c88
10 years ago
James Jackson-South
80512c13de
Extract jpeg component classes [skip ci]
Former-commit-id: 89550ed1243331a85c00f315dc8cd4c06b14ae9c
Former-commit-id: 8d15dd77d84254cb59154322736904f05a434875
Former-commit-id: 219c0fd3b6925bde6cac1323b17bad9a857ec56d
10 years ago
James Jackson-South
643fbd7a00
A little more cleanup [skip ci]
Former-commit-id: ccf6f406bcc7b8211a8c39b500040225ccb01f1a
Former-commit-id: fb72a3de8a3acc7e9aa2e22f3d39ca0ac8b78973
Former-commit-id: 42eabe6a4fd7bc09b63d3e295910f733d5422467
10 years ago
James Jackson-South
cb8f3af130
More jpeg decoder cleanup [skip ci]
Former-commit-id: df794d25364ecf5d6a73a88a24dd5130a5a11bd4
Former-commit-id: 361ce0064659bf6657d44f65a891b84822875a9d
Former-commit-id: b0135dbd399bfbc1be614e5c91f5beb25d95f20f
10 years ago
James Jackson-South
1e366d3344
Begin jpeg decoder cleanup [skip ci]
Former-commit-id: 81c88cdd8b87bd41e9d19f3b0d7649ca78548ff6
Former-commit-id: 731cdd1368a9008e47aa9cd93630baa23b552cc8
Former-commit-id: 097844e7364c490330c73ba983011d9cef43c698
10 years ago
James Jackson-South
7c3563aca7
Add oil painting effect.
Former-commit-id: c9c4f16067cbca67fd055702fa15e71995e8ff35
Former-commit-id: 6ffebcceb66d94c8a7920cb02edfcd572db29ac3
Former-commit-id: 09721ad14a254868241f53d43095212ab20fefc8
10 years ago
James Jackson-South
4b95cac1bc
JpegDecoder now supports Cmyk Fix #444
Touch #446
Former-commit-id: c46493a2a08e77b870a0c1f9c5606c019c7f3a63
Former-commit-id: 4f7f58f1fa7d3e8f4f113c07236d7561f8d65f05
Former-commit-id: ead2c2298e2b056bc7b3785018c7e3cb29d7e47f
10 years ago
James Jackson-South
acbdcf05f4
Add resize overload
Former-commit-id: f4c7cb3a87ffdf88a55339c10967c8b35225c37a
Former-commit-id: 538c2a48e661b6563fbd9f3be82237b6552f793b
Former-commit-id: 7bdd802e524bd1480e22c09da91499ea21f80ea4
10 years ago
James Jackson-South
43e3f05c9f
Oops! Shouldn't be unsafe
Former-commit-id: fdc415962f7446c28020a7580f300d9b70802962
Former-commit-id: 025f9e682df7dbca03f7e8fca13a1a40b4945be1
Former-commit-id: d093f5c7d2a71fb23611719657fb20cb6e453f18
10 years ago
James Jackson-South
81ce967d67
Faster image copy.
Former-commit-id: 9d5d3ae4df90d8cd7d589fe02aa08c9d2e3f34e2
Former-commit-id: 148a1fea5caff3840c7b8f3e84a1dcff48c6928d
Former-commit-id: 3b8d0e35227541406142fd6829e1bdeddd771c4e
10 years ago
dirk
df891e651f
Added missing cast.
Former-commit-id: 844afef3817a1c28484c508c39d6063022a81a0a
Former-commit-id: 5a1b1459dffe8a9cc703d918d446f6d18d810517
Former-commit-id: 5e44fe7f00545221926886f9ce70665ca4869d50
10 years ago
James Jackson-South
cd97b2308e
Don't create a copy if you dont need to.
ImageFilter = NoCopy
ImageSampler = Copy
Former-commit-id: 530cc95d3b655175999dc78d95fea988f25416e6
Former-commit-id: 63650e982a0a2bb116a473816692187b186a4d0f
Former-commit-id: fe8e7020aa116899a2ae1620b4c78b446a3510e7
10 years ago
dirk
4b9e294386
Some more refactoring in the Guard class.
Former-commit-id: a13359d3b5bb3984fdd55804226e54f0e25e9626
Former-commit-id: 2efc5aa9f7e6badd2287ae70743909023c0fb92b
Former-commit-id: 049d5e9f2ff17f48f8f503cc6c34b900507a2ddc
10 years ago
dirk
7c0ae01d7b
Fixed check for message.
Former-commit-id: 60177850e28645374a56ba7da941663e46f5e872
Former-commit-id: 50fd3960da2e9396a51dd299da7c5f287b3624a1
Former-commit-id: 0d0a319ea55a40dcc451913cff14fccfa8df5d26
10 years ago
dirk
6849173a6f
Refactored the Rational type.
Former-commit-id: 1272c4c34838ae467fbe63050adb9b6a476fbcc2
Former-commit-id: a0510c5bea4432f5758af7c4058fa359794dc70b
Former-commit-id: 2f5006c4a70827e9f796698303cda409a2266ef2
10 years ago
dirk
59315259a1
Fixed check for message in Guard.IsTrue and Guard.IsFalse
Former-commit-id: ab939ab1a09d5e7452fba067ad3247bb6c56c2d3
Former-commit-id: 2a1278a2f53cc94353fe7260f017a2d0ca4caace
Former-commit-id: e7a7466c02934551c49820fcb04b8b781af2c4fc
10 years ago