James Jackson-South
2766a48e67
Clean up and refactor transforms
Former-commit-id: a271439562519bf789b9921757f7104ff36f48d4
Former-commit-id: 278c182399dc0dad003820a7d0add538fe9bd79b
Former-commit-id: 3485efba5a8e001e0015bc435a1052494167deb2
10 years ago
James Jackson-South
6fa05c7ce1
Slight optimisations to resampler.
Former-commit-id: 8ca7320ea4085135ca385414051a4ca1dcebf538
Former-commit-id: 5bdba06ea65837fbdcacca8314490d92cd8db6c8
Former-commit-id: 6bf9240e05069092ca50bddeb29f997a833ee039
10 years ago
James Jackson-South
792b76f607
Optimize color transforms
Former-commit-id: b83e9583552ecf37fd352756e9de926f7b0179f9
Former-commit-id: 6121e75909714430aa9b4b0d6ec97e6c13cc969e
Former-commit-id: 0bb0f32ab256914beaa9181bb8d8a4c741d35fdc
10 years ago
christopherbauer
6a40452a15
Fix the partial struct issue in #298
Former-commit-id: 5633cbc801b1f69ce97aac5e2c768eb9b24ae798
Former-commit-id: aceef6262bc1372ae91581633e5f106633b5f2af
Former-commit-id: aad7fa159b413aec0fd153857ac7068a9f0a7221
10 years ago
James Jackson-South
e7cde69b84
Use vectors for gaussian blur/sharpen.
Former-commit-id: 9e4f5229abe9f2589802628787a34ff66e63b29f
Former-commit-id: 792bb44a20e76fe1ae47be3f597d5967935a24ac
Former-commit-id: 281e94a6f0c4d30625f1c5be42103de494f6b080
10 years ago
James Jackson-South
6e4d7abae7
Tweak resampler, allow unsafe
Former-commit-id: 1fb5ea424210b30b00733a7a3a241b5655e6d830
Former-commit-id: dcbef8a1b6b01d4b142b75f3c1738173e8436856
Former-commit-id: 0747fa709231401ea60953d8f7a4243a1961dafe
10 years ago
James Jackson-South
4881b6d0d9
Fix poor quality resampling.
Former-commit-id: 573f5458ecbc40e33daa2175417aa512b0d7dba7
Former-commit-id: def82e693cdce3e3dbda59533175ef921bb14ff2
Former-commit-id: ed217a700941f13d7757419d48ac6a1e53cb768c
10 years ago
James Jackson-South
35b65f362f
Update dependencies
Former-commit-id: 30f79b9825992c94691f426be0edf8496ccf07eb
Former-commit-id: bf5c9844c2ec13a7586268a447d0650d7a615b25
Former-commit-id: e3f742b80201453c124b2e5f1101db0d22ecdfc9
10 years ago
James Jackson-South
5a730047f4
Doco
Former-commit-id: c6a23770933cc5f87792116d91df7908869ae7be
Former-commit-id: 18d801b034a1e834bf484efc4a8af2cf3ddc427c
Former-commit-id: 242f273b5063c5b9b9a5edd668658230cf808047
10 years ago
James Jackson-South
b5dce7c93d
SIMD optimisations
Former-commit-id: 84d7baf1143adab15d23d4bbc5011ac2e70364c1
Former-commit-id: 8510f8d406386e97d26b5e4a28044cfb61e9ff88
Former-commit-id: a2ae716d4495a9c2a1d6334838c5103ec4f0190e
10 years ago
James Jackson-South
f2665d1b8d
Fix weight count
Helps mitigate halo bug with gifs.
Former-commit-id: 3a23d972fbb8fa09977e2303065ca61d96f6f1d6
Former-commit-id: 4ec8909f0aef656426ef5d0a3d88f41a51b5a308
Former-commit-id: fe652e796cb6d052deb7c682cde01522c43c0631
10 years ago
James Jackson-South
b027133503
Add Color.Transparent
Former-commit-id: d18d0ef6b152c19270e54157e1026490040a6cab
Former-commit-id: 1d1d7bda80c783f9cb1e8c8b1ebfeca2de750d53
Former-commit-id: 421d0caa589e3609c75e01d21b48e15c54fe7aae
10 years ago
James Jackson-South
a5966b24e8
Inline methods for perf
Former-commit-id: e899dbeb1b67c44cb17cc1e73aca7241a19f1555
Former-commit-id: b0a8ab76cc5caa54b8c9646ac6999b3d1b26dd82
Former-commit-id: eb027298759c1c3be00ce2820ccbf5191a393883
10 years ago
James Jackson-South
fd67dead74
Minor optimisations
Former-commit-id: 732ec6eb4f12e9d029f60e7a8149ae353828e3c7
Former-commit-id: e5c071029115af00af8b7f61932de5acbb860bdc
Former-commit-id: c298b38efe3ddcfb3038c1177affa2e139a47149
10 years ago
James Jackson-South
52418782b5
Optimise resampler
Former-commit-id: ad35dab25a0bbab6a1a409426ca4de7e547d9a62
Former-commit-id: cdd9a974507a9daa37ff378d99bf59023ded0f40
Former-commit-id: ba7c2080d55a9064f2c146c0affa73863245c8ef
10 years ago
James Jackson-South
22f4b065f7
Tweak polaroid filter
Former-commit-id: 1012b7630f18dbec37037c20e19a493855520156
Former-commit-id: 87de6ed021c02b86c3e4079c4231fb5557ba8dfe
Former-commit-id: 0dbcb7508fca5a7b9fa959985255a4c64d0abde5
10 years ago
James Jackson-South
c5ff7aa243
Fix glow/vignette
Former-commit-id: 5543167383314e5d387a526a69fe2215a547d323
Former-commit-id: 4f587f2840c6658cb89e11e11fc3be8b7f06d060
Former-commit-id: d449169fc6db36b9d08bad258a5ed005b0a3fa56
10 years ago
James Jackson-South
2500f78ca5
Another attempt at fixing Lerp.
Former-commit-id: 78db70bb872f472dacc4a796327f850a960cccd8
Former-commit-id: b2dafc5639de3428cae03cdb0af0b4787046e70e
Former-commit-id: e0e2e48957c3ed209524478b4678fc6125b54496
10 years ago
James Jackson-South
e8f6157023
Better transparency handling
Former-commit-id: a1d0f5d52b21aa76531f86ee63f75973311e1837
Former-commit-id: b3f3963a089a4c99ae8ceda8b4ad019b19e32ec2
Former-commit-id: eb5b4e013f56035cd961b03e213cea128ee5e88b
10 years ago
James Jackson-South
77b1de7eec
Use SIMD for matrix filters
Former-commit-id: 761f7f956b7028c72747cc454aa4a2928065192c
Former-commit-id: 2f8c22d90f290696f1141d3a7887d5d096a2f724
Former-commit-id: 91e457aea0f50327acc3d08eade1d359297b514b
10 years ago
James Jackson-South
756f5b6a93
Clean up primitives
Former-commit-id: 5cf1ec2ba4cf646e94524fb425951760724b3eae
Former-commit-id: cc0f2177a28de32d6df34b0d23bfcba3ec898c0c
Former-commit-id: 8f2227320a0891bc824fb7256b97d536f381a76a
10 years ago
James Jackson-South
d34fe1281f
More lenient colour space equality checkers
Former-commit-id: 1c88a93699ffa6f2bceb33cefe86cdf631209847
Former-commit-id: a12c96eaacba895e7f3eda8dbd7fd0c5a6cf61b8
Former-commit-id: c463e27fdc0a66c5425294313642baaf6fa0959e
10 years ago
James Jackson-South
d0206d840f
Much better Vignette
Former-commit-id: bf66ade8e91b57cb482edc2bf7454d2a1152f756
Former-commit-id: 79ac4517af9f7bdc2ca57c3f3ec4fbe652354806
Former-commit-id: c872366e83395265eb0046a1ae798e42a5d3b7f6
10 years ago
Rubens Fernandes
ea9a94380f
XYZ code updated, tests working against ColorMine.org.
Former-commit-id: ecae28a9750c0c723a532d9ccf69144485078c3a
Former-commit-id: 6ccc3bf53c4fcc21f5f9dd06e7d53a4df682112d
Former-commit-id: 2e296778ce0c04cead45461ae6a7d4251cfc0031
10 years ago
James Jackson-South
c0a0424fce
Can now choose colors on binary thresholder.
Former-commit-id: c25d6d2128a807c0980e021f3b735b8c6309f264
Former-commit-id: cc03c980479f3c5182bf98f660edcd340d66221c
Former-commit-id: 47c7edace51bd78a97d7eee020a2200196d07f8c
10 years ago
James Jackson-South
b8eb5f8273
Double Task count
Former-commit-id: 39ac5b695b07eb39c7e26e34b24f854f85b92570
Former-commit-id: 20073516225c65cbec7e2b4ae4f69eff6f0dbdfd
Former-commit-id: 34b5405cd80ce9c44e92abaf122b53e9caf5110c
10 years ago
James Jackson-South
c7e148ac3d
Ensure Image properties are copied across.
Former-commit-id: 78c547a9cfa9fa51e03cff64ddbad742377a63e7
Former-commit-id: a41fc55bbf46bb40920613b8ec6c05d6bd7380dc
Former-commit-id: 79fad1b63998aff21d2a4cccdf9171957fa940e2
10 years ago
James Jackson-South
f57d66223e
Clean up file headers
Former-commit-id: e157be949169ea3db7a4bd34ca568044fe74f753
Former-commit-id: 05e02799c27fd0a4050756c40f8a3138d20b2787
Former-commit-id: adcf0727bf4c5cf711d9d686f41bf25fa2118dcf
10 years ago
James Jackson-South
d1c1d8bc87
A few Color tweaks
Perf improvements + API clarity improvements.
Former-commit-id: 23e6a036da892f79806c032023c5ebf38a5f868b
Former-commit-id: 36fbc42b2acee9cc1480dcade6d250161f41ea1a
Former-commit-id: 6a108bdb9c56a07967c7089f2b0adfcc45bf05c9
10 years ago
Rubens Fernandes
60e7351cb7
Now tests match ColorMine.
Former-commit-id: c7d55f44c558d6d77df183a3e8bdc2c9a0fcc94a
Former-commit-id: 59d24dd0b4440b6067dc6630dc453b06fa70184d
Former-commit-id: 4d0025941b7d5617a8b5c8bebcb37cfec8f13415
10 years ago
Rubens Fernandes
f02afa93fc
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: 8f8231221d36e7e525c0353b7f906a8363b05d0e
Former-commit-id: 73f3a7688ab2d7840a025c8abc00d00c8efb641f
Former-commit-id: d5c59acaf4dcb0acec1803264c969c8dcb4260c1
10 years ago
Rubens Fernandes
c36a2cc4f0
Not finished.
Former-commit-id: e750623f68a59d5ce646aae196f82b15d4beccf3
Former-commit-id: bbe62d934e4987b5aa9e6959e86cce4773e762da
Former-commit-id: 34e990b2c4c5b61ffa90892dac615a57e17f82c1
10 years ago
Rubens Fernandes
2f42f3595e
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: 68b9296ec70653abc61a7b7914079cd7fbabfe93
Former-commit-id: 73884c27747ebffa01cc729d09d43cf13a67eaa9
Former-commit-id: 1920f76c843de69d2b21fda9676607088a47ac78
10 years ago
Rubens Fernandes
08abb2584e
Adding simple decode for jpeg grayscale colorspaces. Also added test image
Former-commit-id: c61158051fdd8deddde279ed03c79dcbd996a355
Former-commit-id: c85e9c5d0b383b60ed1fcfb4c2657d8f19890b6a
Former-commit-id: 5d34af5d81eb5fae48a1fe5db466b7ef6abc74c9
10 years ago
Damiaan
70e8c4224f
CieXyz color space: add transform CieXyzToColor
Former-commit-id: 443e4165941ac4de303c983a84e99721c533e34f
Former-commit-id: 540d751f3c78e57ba07fc70437680822d77cf73e
Former-commit-id: 2c25af1e056e30c0233878f3b0d8c4c1dd54c9ca
11 years ago
Damiaan
648dd3bae0
Implement Color to CieXyz
Former-commit-id: 30d11dfcf3694d2bcab810593f043fee37268bb0
Former-commit-id: a0d32bef8e42a9d220b14a923d5127ff2ed43237
Former-commit-id: a31bf557f48688a92af1f6ddad3b9288f0792ff2
11 years ago
James Jackson-South
cd6c429857
Begin Vignette.
Former-commit-id: 1bae9d492217e4e619e411a4cec66ea0304d4b23
Former-commit-id: 4187c0b386870c403a370473af50f44ec5388f03
Former-commit-id: 18bce83c1ec1a0c1b18a78ba10a9f26b5c5a905d
11 years ago
James Jackson-South
9204920750
Fix decoder scope issue
Former-commit-id: 2af59fd59accf07b10c3d0d0d618336783fd93b0
Former-commit-id: a400a82f238ce53c4fefbe5d4ccc446656d31685
Former-commit-id: 42525e35c1de995b2b453cfff2b82d05294516ad
11 years ago
James Jackson-South
a25a289278
Perf improvements for gifs.
Former-commit-id: 32a200caf1414859cf79e12f212196591a388bbf
Former-commit-id: 4278b74ecfbb233f5770477585d2fba83eb6ce53
Former-commit-id: 945f94750695542293210df6e32a654c7dd8f0d6
11 years ago
James Jackson-South
8a58cb23be
Add HSL touch #260
Former-commit-id: 8596939ae841cee506be5327c7bba085d28c0453
Former-commit-id: 9e70e88253d02d7ffec313b8182c1d4ad2d3f6bc
Former-commit-id: 805a8600f0577b4572533d44841e8c7b9079fc82
11 years ago
James Jackson-South
aba0dcee5e
Add RotateFlip Fix #261
Also add ClonePixel method to ImageBase
Former-commit-id: e25004eacf2aec54273a98f02a208c0fb60e12ae
Former-commit-id: 6bacacf8cb0bd8315961485b640809e1931e7388
Former-commit-id: f91314805b2aac54b3bab50a9bce782d15d854b1
11 years ago
James Jackson-South
907674ce6f
Add box blur. Fix #263
Former-commit-id: 707887e2ad313309ea96cbe335ed5115b9e5f5f8
Former-commit-id: 6036303173ed93b3fb5d589fcbf82ba3d27e3fed
Former-commit-id: 46cdbf01e8be3b039392c8aa79e7fb296d275484
11 years ago
James Jackson-South
e1379cb6f2
Fix format conversion output.
Former-commit-id: 8ae3e66a843e57054180b1433b0fca3e9f5e1205
Former-commit-id: 6613571207f92916dd31e60bfbfd29820c194663
Former-commit-id: 865d3eda06966a5a3a1c08744aad6b25cc73e62e
11 years ago
James Jackson-South
5c1a9d3641
Add Hue Fixes #262
Also fix sepia to conform to SVG spec
Former-commit-id: 9008d1d7849dc03c16877066b4e1d77fb944fce9
Former-commit-id: 5e70101c6ee320f0525021d4b42c8b7febc982f1
Former-commit-id: b36f5d0afa5baa727682012c395a0729b62c1419
11 years ago
James Jackson-South
0a587bdc37
Fix comparable extensions + jpeg detection.
Former-commit-id: 005178271abc8bc67664313b7aa3de98025f3be1
Former-commit-id: fb2134f50172b7e91876f9500b35d897cb089c30
Former-commit-id: 580bce2bcbcfd38c11902e9975ccc99bdc73e582
11 years ago
James Jackson-South
5f4ddea739
Better color definition headers
Former-commit-id: e85f90056e0ae5dff2056af0ca0ba3d79ba928bc
Former-commit-id: 3fc761744a5638b7cfdab0a49b939fdd9d079b17
Former-commit-id: 11bc9da17b66f3e902c33f35caa63f5494dcc051
11 years ago
James Jackson-South
5347ee42f4
Add nearest neighbour resampler #257
Former-commit-id: 00082be425529e9216e445e9da255dfad11894c0
Former-commit-id: 9c3b0b3308eb443edf3365f62ba8f4c5c51305fb
Former-commit-id: b42ef3cfe4ff9cdc94aeb465f456adf46b0451d0
11 years ago
James Jackson-South
c63859054d
Fix broken tests and cleanup.
Former-commit-id: 0a49ce0850cd56b7709f0dab8e401c0eef370e9f
Former-commit-id: 283107cc1988b9405da88fd40e39f3390f3a111d
Former-commit-id: f13026b7d2237fe624432fa9f8b2b4fdc147a89b
11 years ago
James Jackson-South
9b41224ebc
Fix floating point comparison.
Former-commit-id: 07e46b47420a5f8d951fa42d67e8773d37e3ca6c
Former-commit-id: 759ab68a95a18a31a5a53458a21a7b3cc24b5f40
Former-commit-id: ba4905924bac7bd9ac751eafc4c2322a96c88d05
11 years ago
James Jackson-South
077dc165d4
Moar updates
- EntopyCrop
- Color definitions
- Pixelate
Former-commit-id: 5605d078e59f63faf9354f1d80093e6c26096bff
Former-commit-id: c0ca96e94e189a760fe3d77f69d3470efc8d385f
Former-commit-id: ae7c743d17bde56511d6b312b9fbf9163f99da9c
11 years ago