James Jackson-South
3f648cdfb6
Color is now linear by default.
Former-commit-id: b0fd6546f0419bf458402dfb8f7d4769320b0793
Former-commit-id: c19266c3e808fe90eb3523c51b0f9dcfb06a7baa
Former-commit-id: e24b61b5c05f5647c4ae5dd0a664665e4d0e479c
10 years ago
James Jackson-South
bc8e045e1c
Fix Hue to match MS docs
TODO: Convert to linear
Former-commit-id: af898d45d09caa596459983cc3f2dc0440898468
Former-commit-id: a86f85f3b188efe209db49a75d3d0c20582cd611
Former-commit-id: b6615c2a90fc62ca9b4f1980fb95832aef80b8b4
10 years ago
James Jackson-South
a15aa3bbce
Clean up and refactor transforms
Former-commit-id: df1b7725ae6c1a34fa27f800dc920f47c43f4c7b
Former-commit-id: 4355ac5c25c7ece5743f3f27b1eeed69f1f58fb2
Former-commit-id: 9af3c6b11ebd6e22750676e82bd2041b6665db2e
10 years ago
James Jackson-South
965c27a2dd
Slight optimisations to resampler.
Former-commit-id: b3130ed0f4ba51d538e36ee6cab79e9258d3edc6
Former-commit-id: 1c6c4fdc66ce7aca48330b2649933ff111243322
Former-commit-id: d74265804147e84e4646388b4a16038085c80a29
10 years ago
James Jackson-South
af3ad14a11
Optimize color transforms
Former-commit-id: 1a4e60efcbbd808458de430eb0c9c97c3c43d3e3
Former-commit-id: 873233f36b1496b8d4dfa05785db88e63eff7bf7
Former-commit-id: 6958707f80b777c1daa04047b14480da56d1d73c
10 years ago
christopherbauer
9d8e037972
Fix the partial struct issue in #298
Former-commit-id: 1115e78624113394b0f522c69ceedf616bd525ec
Former-commit-id: 68d0059211d610e1c589899b9d6f0c15b97aa3b7
Former-commit-id: 0912a58e2c372467a6a89a76d70db81a68f45202
10 years ago
James Jackson-South
e5954b9c99
Use vectors for gaussian blur/sharpen.
Former-commit-id: 7daa8a1a37b5aa793b0273a097e8d08cf21a381d
Former-commit-id: 7f213693822645fe4922140b9bd81d15d2efccd1
Former-commit-id: ed5dbdb6e13eb3fe066808d9cb8ba8b5d039bcf9
10 years ago
James Jackson-South
dc0f75e03e
Tweak resampler, allow unsafe
Former-commit-id: e77ade827376c5b8391c43f4279e1f49c75d93d1
Former-commit-id: b72fe8bb4e2d417ff6b3a3301a8b7804e6897e8d
Former-commit-id: a79d8c18a2584944f2ee68faf629e9f06d3dba7a
10 years ago
James Jackson-South
5fd8f011bb
Fix poor quality resampling.
Former-commit-id: 7c2cc88d5c9d1aa4743d2e722221b1f1918a003d
Former-commit-id: ca98fb8d2188645f32cb858487da272927bac425
Former-commit-id: 6d015b5e054a3b2065c3b998e63a5f7c1603217a
10 years ago
James Jackson-South
904b1ca61d
Update dependencies
Former-commit-id: 0725e4f7cdd245458d2c70c4ddff901fe562303b
Former-commit-id: f2a270133fed41045d0fb3782b57a6cda510f103
Former-commit-id: 4fab0538617019c8fb883a4c6fcc918fa03fb67e
10 years ago
James Jackson-South
f50c5049fe
Doco
Former-commit-id: 39516599ebeb5bed02ee72e9af8c7499a425ae86
Former-commit-id: 29b0d23da84597bcfb9f33d7c2123d8955a161b7
Former-commit-id: 91ebd1d34173fbce2ecac84b244b704b4e2497c2
11 years ago
James Jackson-South
d26210912a
SIMD optimisations
Former-commit-id: 30dca08470d0e771bbc18bb717d05443fcf404b5
Former-commit-id: 75095f939b10143f2bef62096f9ab40e4aeeec9b
Former-commit-id: 9b8f804b79ec99a32915123a41553009d1bd1af8
11 years ago
James Jackson-South
2ea3c2bc3f
Fix weight count
Helps mitigate halo bug with gifs.
Former-commit-id: 9307909acd7eb38e5a6c722c2f1ce2c949ca4a9c
Former-commit-id: 7e53310efb4390de53880066e1798c5e77cdd649
Former-commit-id: 4bd4a70b5a3c64f39dd95203d8ad8bf31a394b11
11 years ago
James Jackson-South
54572ed872
Add Color.Transparent
Former-commit-id: 31fbe36a607bbc21956354fac41f527fa2aa7d26
Former-commit-id: f4d97e3a888019144089249ff2a4729c9751273c
Former-commit-id: b11090548ebfeb1eb4377a8dfa139f154a9f82a7
11 years ago
James Jackson-South
fb8b0f8575
Inline methods for perf
Former-commit-id: 74f419b4df37488676902624f09ba160c1974f7f
Former-commit-id: bdf812eb8dd5746ba204ba70ba938cce33dcae7f
Former-commit-id: ccd1ba3f85cf3b4fb101e1ea78f61b836fda3fe1
11 years ago
James Jackson-South
78d3abe208
Minor optimisations
Former-commit-id: 29042a39cda4cf3e8b50d66292c877db2fda8c2d
Former-commit-id: b133abc88402677d2b65df54be481f9d8197c32c
Former-commit-id: 7edec27867e0850ccd5bd8d3537c6479b694ada4
11 years ago
James Jackson-South
dc8135bd14
Optimise resampler
Former-commit-id: a8ff4bd48c3dd227beeebda998ca455c93cca173
Former-commit-id: c54775fc21c5f076cc644a991f6f7f70a903f819
Former-commit-id: dc8aabfcd64975ff08526c6c08c766614c1fa87b
11 years ago
James Jackson-South
7ddf8db6eb
Tweak polaroid filter
Former-commit-id: cbda7503fd2aab39b3b0f4d6c9e55410cfdfce75
Former-commit-id: 4d6485b0f3af32114c0ebe48e95e39009cd76a70
Former-commit-id: 7962ca9a58b3e5dcd36792ff6e5f01abb6d07785
11 years ago
James Jackson-South
7ed3079e8b
Fix glow/vignette
Former-commit-id: a54034b7230609232a91bb6e9c59d184b26c69dc
Former-commit-id: 23ad01e51ee979e6ce4d571b34624175c1305e0a
Former-commit-id: 61bded86dc05bc1718e67222fa423b2c1be3721d
11 years ago
James Jackson-South
260ce02a4d
Another attempt at fixing Lerp.
Former-commit-id: 48f5e84d6b95756a125ec0ff3adce66530f8a277
Former-commit-id: cc600e84bb3e3a5ae3038811bc466f9b161e6ee8
Former-commit-id: ef0a7b1b98de88cb1ab51634aac379d0132039a2
11 years ago
James Jackson-South
34298d4bd5
Better transparency handling
Former-commit-id: ac22e88250f0f22a76df995e48aaa1b57b4eaf32
Former-commit-id: e50bfc7cfdfab49c7b1214d82608571f05ee725d
Former-commit-id: 37bc9f8b39875633915092c6e1351450b3d93fbe
11 years ago
James Jackson-South
8e918d04c6
Use SIMD for matrix filters
Former-commit-id: 75fc9259aed26110275e51f57140e961ff3572c3
Former-commit-id: 73dad04c7b7739bbe3bae4b6c96dca1416390b9d
Former-commit-id: c8cd1934d89c20babbc74547706c162056dea904
11 years ago
James Jackson-South
a567287df5
Clean up primitives
Former-commit-id: 48d938725895d56593d7adb1b0b9874c3453de1a
Former-commit-id: c35e8557e3c481befce4d4b2c2dbd6bf5afe9c24
Former-commit-id: 0dffd360cd78c7570182448ddb60f872d27284fe
11 years ago
James Jackson-South
4cf90ab5da
More lenient colour space equality checkers
Former-commit-id: 08196563e8da8dfe3435a6ea5d5f3807a0eca551
Former-commit-id: c5cd8218355a0e8f360de31ef8845048b4d7eb79
Former-commit-id: c6634395502aac589bc984097eabe5d0da6cee60
11 years ago
James Jackson-South
76baf0bcc2
Much better Vignette
Former-commit-id: d70717994e390056d03b55f1c3f6b5ececd97bc0
Former-commit-id: 92ab616c4b25d03512c764da0bf54916dc0c4c6d
Former-commit-id: 8696473ce6f0867755004503b936e76953c63859
11 years ago
Rubens Fernandes
0cc5dffccf
XYZ code updated, tests working against ColorMine.org.
Former-commit-id: 1b9ed01c6022685784f4aa8ab01b4bb21698766c
Former-commit-id: 658ffd5b7236a35b42c5e1bbc5974010b62b29c8
Former-commit-id: 16db1f4ad352154405762f8300f58d1b47bb0b7f
11 years ago
James Jackson-South
ff43644621
Can now choose colors on binary thresholder.
Former-commit-id: cacf1bcb98556979645ffa1d15a1d58f953888dd
Former-commit-id: 5122386fe60369744a707190dc9c4bd41301f9b7
Former-commit-id: 8969755a4338cf934f5a64a281a7343b6bc04ccb
11 years ago
James Jackson-South
fc5a15e9e0
Double Task count
Former-commit-id: 2bf6e18e8d0655a3c23255f54725789de3e98a88
Former-commit-id: 6c8046a897ff67908dd22a3466844cdb43c5669e
Former-commit-id: 17b1f360f150fecf1417de10e97040ed4ccf5999
11 years ago
James Jackson-South
d3a76368ad
Ensure Image properties are copied across.
Former-commit-id: 7706883fed3cc6f5b3ce345eefdada7ccb619507
Former-commit-id: e55f9230ce9b27bb80ef64493d0fc8296e78465b
Former-commit-id: 0e3f906270e93e8d58bbca63ddaa6bfb68fb1904
11 years ago
James Jackson-South
0ca0fadde8
Clean up file headers
Former-commit-id: 09be554162b819fcbe2652ed79ba2022cdb3e528
Former-commit-id: 14b2f4eee4cd31bedfc16aec8ec00eb3dfbefcb8
Former-commit-id: e733e616035e21b5ff4cdb2b22a184391716ad3f
11 years ago
James Jackson-South
77d07694e6
A few Color tweaks
Perf improvements + API clarity improvements.
Former-commit-id: 219c3e9ea9c2b53b77a4d4ee3455a20bccc07e56
Former-commit-id: 43460627a23abbaccb4d094de9d87a87b83d5752
Former-commit-id: cfcae0b8648bf971cd3ffc93c9cf7e56f8f520b8
11 years ago
Rubens Fernandes
1104a43bf6
Now tests match ColorMine.
Former-commit-id: 230fc9b5be97d89cd2192a142d6b6d3f0292db1c
Former-commit-id: bbf2282ee1f10635708894b4fbc6623f77d6d62d
Former-commit-id: 6b394493a6b33248d6cd63ee55fa8b1200f85b3f
11 years ago
Rubens Fernandes
1438ca76f6
Tests included. Having a hard time making the unit test results match any web converter to a high degree. I am using the Colormine coefs, but since their calculations use double and I am using float, I am still in trouble with a few values.
Former-commit-id: e70cd5f9e2ca95e8c7f349fd7eed8669eb64a169
Former-commit-id: 75df1cb3a3c8bf5915cc7d29bf053d9b3b82a42b
Former-commit-id: b0582b9a280ccd32912e14b7df7f99063589b27e
11 years ago
Rubens Fernandes
b6fab0a14b
Not finished.
Former-commit-id: 72ffa4557a16eb5fecc2eff4a0877304c760eb89
Former-commit-id: 884424c2d761c372c4bc720474fb5268c0fc7ed3
Former-commit-id: 3a228da3c7a44aa86c5a030a6be873c55ffe4bf6
11 years ago
Rubens Fernandes
8e28fac19e
Simple change to emulate the V2 resize behaviour - if either width or height is zero, then the image is scaled keeping its aspect ratio.
Former-commit-id: 624a5693a4bbc9181a113f64e126e70233cacdd9
Former-commit-id: 9741756887b97eb777904afb0782a1a0d481f7c1
Former-commit-id: 43d8122ac4ed7e214f704812f5614b701ed4a81b
11 years ago
Rubens Fernandes
35be517c4c
Adding simple decode for jpeg grayscale colorspaces. Also added test image
Former-commit-id: 6ef0bffcb0a08b3876373392f3d67572273cea1b
Former-commit-id: db74e4cf38bbb992fc3b88de30f6b7e79cf9ac19
Former-commit-id: c51e5e8718dd52306a6656c4f9d85be76e9ecdb8
11 years ago
Damiaan
0468ac6e38
CieXyz color space: add transform CieXyzToColor
Former-commit-id: e596ceb45d6865499a639cf69302a6e493a68d43
Former-commit-id: 489871ee81e15cb14b8a9abf4a2de3edbf479aa4
Former-commit-id: 3f99cab909be147d8de52b98eddb016ccdbc08ff
11 years ago
Damiaan
83b858459a
Implement Color to CieXyz
Former-commit-id: e9f3a4c56744f7ac8cf5dca76b56b12674855897
Former-commit-id: 3c1f69241e551983af4d922acd8e70f346931c17
Former-commit-id: e99c077f2782b167c1fc56f4a9679f5dd309f7ea
11 years ago
James Jackson-South
08016244a8
Begin Vignette.
Former-commit-id: c5e1903acb354e047d73223867a04ae29f301354
Former-commit-id: a86e30bf71e3eab130a4cc8d9879aa2d55db440b
Former-commit-id: 272754ac9ccd2c97cfeb320d3e25ff431ac43de4
11 years ago
James Jackson-South
3cdbd7e4b8
Fix decoder scope issue
Former-commit-id: ca50cdd8efb68d5d312dfd8e53852d4f00c1671f
Former-commit-id: e9698d8e7c43a772280f46aabf2098897a06c871
Former-commit-id: 6ea60a611bcfca0858972a09ed43d2909b242303
11 years ago
James Jackson-South
63104c5f82
Perf improvements for gifs.
Former-commit-id: a27a0e1430a517c1c8e7eaae36683b1bf570ec35
Former-commit-id: f80be4bfdc25ff9a36ec0fac3dc25c118f0b6750
Former-commit-id: 25f58830f4b4b7969b340c28faf3943afb107536
11 years ago
James Jackson-South
0e11709aa8
Add HSL touch #260
Former-commit-id: 0a0ca798962992d41de153521c152ad580196b5d
Former-commit-id: 4d62a056ed53003d7cd7b27afe1223b1ffbd3112
Former-commit-id: 0ad895da812baacd7daf7f85d4bb8138d3834905
11 years ago
James Jackson-South
147323b957
Add RotateFlip Fix #261
Also add ClonePixel method to ImageBase
Former-commit-id: 02d6a5907cab2d7b6676d1adb1a08f008019ba6c
Former-commit-id: d08034c48be2dd64b949fdcdd76192c6b9558f5e
Former-commit-id: 92f3d2bafb4cf97d360aa99183a177d52cbe4cca
11 years ago
James Jackson-South
e4cd645e92
Add box blur. Fix #263
Former-commit-id: f8adc1e633f948b24cee0113681133b075603183
Former-commit-id: 1917069ba119db6ecddc34581c258e050ab40e3d
Former-commit-id: 4d1a9fefc9f2767a66fc236ddb25d14b3c600c9f
11 years ago
James Jackson-South
d481dcc201
Fix format conversion output.
Former-commit-id: 2936205e13fa5329caf84d98691898c1f312cd02
Former-commit-id: dbfc0b5e29033f3357511c71c298940ff0ff9f5d
Former-commit-id: e996c20ff4b2cc6a2a76953b532dd7560f0cf735
11 years ago
James Jackson-South
b999aa9dc3
Add Hue Fixes #262
Also fix sepia to conform to SVG spec
Former-commit-id: ecdfb651ab5de60599c6284bf020e088be77864d
Former-commit-id: ce0eed68bb7ee1d7a13be8f8f78bbdc70b723964
Former-commit-id: 5021d51170f93ce260b2454071809968be629ecf
11 years ago
James Jackson-South
5be395c693
Fix comparable extensions + jpeg detection.
Former-commit-id: b9463717e58f82f1e0c1376f118f0766153865e1
Former-commit-id: ca1000563f9d202238a5419ce895a05bc23c77a5
Former-commit-id: 43e57c1110fb6add4aefd24f820c519b8ae9a644
11 years ago
James Jackson-South
e76b8ec652
Better color definition headers
Former-commit-id: 6173b3d76a30a9a16035626e1dae8b788f721ab1
Former-commit-id: 0f2be4da3228acb844f32610c32b325696b398cb
Former-commit-id: 8f05cb1234520fb78820fd465d16bb61cf1adcb8
11 years ago
James Jackson-South
bab6350aaa
Add nearest neighbour resampler #257
Former-commit-id: 8e6ac4bf4ee07615c7bb707aedc12afccd1647af
Former-commit-id: 40db8d0882d4974b675fd0cd7531eabb7c701210
Former-commit-id: 99fdd9fb8851e2e23510f3682f671acf06620a31
11 years ago
James Jackson-South
8a79e364cf
Fix broken tests and cleanup.
Former-commit-id: 8ffd61fd16ba32d300ae6cb0bd4a1f4d40915097
Former-commit-id: 2d3f52bf43aaaf8dec769b5f8d537523ad27769f
Former-commit-id: 91c3011b36fc412d8a17ec6102357e7108160813
11 years ago