James Jackson-South
d51529e40e
Slight optimisations to resampler.
Former-commit-id: 8ca7320ea4085135ca385414051a4ca1dcebf538
Former-commit-id: 5bdba06ea65837fbdcacca8314490d92cd8db6c8
Former-commit-id: 6bf9240e05069092ca50bddeb29f997a833ee039
10 years ago
James Jackson-South
4250fe94ea
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
1f425e945d
Add Color.Transparent
Former-commit-id: d18d0ef6b152c19270e54157e1026490040a6cab
Former-commit-id: 1d1d7bda80c783f9cb1e8c8b1ebfeca2de750d53
Former-commit-id: 421d0caa589e3609c75e01d21b48e15c54fe7aae
10 years ago
James Jackson-South
09176be63f
Better transparency handling
Former-commit-id: a1d0f5d52b21aa76531f86ee63f75973311e1837
Former-commit-id: b3f3963a089a4c99ae8ceda8b4ad019b19e32ec2
Former-commit-id: eb5b4e013f56035cd961b03e213cea128ee5e88b
10 years ago
James Jackson-South
a7d6c055fb
Clean up primitives
Former-commit-id: 5cf1ec2ba4cf646e94524fb425951760724b3eae
Former-commit-id: cc0f2177a28de32d6df34b0d23bfcba3ec898c0c
Former-commit-id: 8f2227320a0891bc824fb7256b97d536f381a76a
10 years ago
James Jackson-South
e1379e549d
More lenient colour space equality checkers
Former-commit-id: 1c88a93699ffa6f2bceb33cefe86cdf631209847
Former-commit-id: a12c96eaacba895e7f3eda8dbd7fd0c5a6cf61b8
Former-commit-id: c463e27fdc0a66c5425294313642baaf6fa0959e
10 years ago
Rubens Fernandes
c94547caac
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
James Jackson-South
285019cb2b
Add RotateFlip Fix #261
Also add ClonePixel method to ImageBase
Former-commit-id: e25004eacf2aec54273a98f02a208c0fb60e12ae
Former-commit-id: 6bacacf8cb0bd8315961485b640809e1931e7388
Former-commit-id: f91314805b2aac54b3bab50a9bce782d15d854b1
10 years ago
James Jackson-South
012856780f
Fix issue links on readme.
Former-commit-id: a21745821192ec08c14b6ec50f209d008617e42b
Former-commit-id: d84a73ba541c7621460e2c97aae952fb7e2f54df
Former-commit-id: ef32ac856e590be47cbe234076246aec0cb79610
10 years ago
James Jackson-South
c65f9da778
Add nearest neighbour resampler #257
Former-commit-id: 00082be425529e9216e445e9da255dfad11894c0
Former-commit-id: 9c3b0b3308eb443edf3365f62ba8f4c5c51305fb
Former-commit-id: b42ef3cfe4ff9cdc94aeb465f456adf46b0451d0
10 years ago
James Jackson-South
d9c5e808cf
Moar updates
- EntopyCrop
- Color definitions
- Pixelate
Former-commit-id: 5605d078e59f63faf9354f1d80093e6c26096bff
Former-commit-id: c0ca96e94e189a760fe3d77f69d3470efc8d385f
Former-commit-id: ae7c743d17bde56511d6b312b9fbf9163f99da9c
10 years ago
James Jackson-South
6bc831957d
A few updates
- Some predefined colors
- Source image should not get overwritten
- Begin EntropyCrop - unfinished.
Former-commit-id: 15096078a8c4c81e5c38b07111496b9382e98583
Former-commit-id: 1525d80b8094e74ee0b1a64a291e9fdc606b0438
Former-commit-id: 7ca269955bd18bb8c1793b3038c95f8f976694a1
10 years ago
James Jackson-South
bee627f004
More rotation improvements/tweaks.
Former-commit-id: f70a282d078d1fee3858ab7cd10952d5613cfe6c
Former-commit-id: 07e613cc7879308b9475ee3a8582a9b5db3ff121
Former-commit-id: 73fdea9a14385d10b74a0abea0ece717170ec960
10 years ago
James Jackson-South
3df30431dd
Better transparency handling in encoders
Former-commit-id: 4ac66346af234c105628b588a84a4cb746c3e6ad
Former-commit-id: 3c249d1fb3e2860e3df77b1cb8e30bd60fda1db4
Former-commit-id: fb192a7e2fdaedf1b75173c8283b44642614d81d
10 years ago
James Jackson-South
56584d9656
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
10 years ago
James Jackson-South
389f347dd0
Add premultiplied alpha
Former-commit-id: 19e9707988c7eea57137289d395c61a3c64dfcbc
Former-commit-id: 7345f59fdb18429fd71d617c493ef6b9a2e006fa
Former-commit-id: 2f7b5f2b751c0c26fc588d7fddcb93f67844d5a5
10 years ago
James Jackson-South
dbe45506fe
Fix broken tests, update dependencies
Former-commit-id: 7234f3f88396822fe1ee691565d44fec1619070f
Former-commit-id: 4075e16ff21cf16977772d65008a8d2f02e9459f
Former-commit-id: 3e1183fdce171ed2af6eb270e9a05ca2f42c7b7c
10 years ago
James Jackson-South
1fc25ae5dd
Add rectangular crop.
Also add overloads to Gaussian blur and sharpen.
Former-commit-id: ff18410aefbdb605d7177dfcc0e98dadf9d85e47
Former-commit-id: 71993046259e4fbc6734345cab961c2741ccb9d6
Former-commit-id: 5a3f8b071b8e4948544db58aa1280c0df451efe2
10 years ago
James Jackson-South
4caf79aa72
Remove multiplication
Former-commit-id: 7b7f17333d4c1ac4c7efa21ba2f71316586afc9c
Former-commit-id: af588192816b5c06b1c636167268d679c57c36ac
Former-commit-id: 22430e8d68049503c81d8e0ad84e41ce12ec2bff
10 years ago
James Jackson-South
8a3155d086
Reshuffle colors, improve accuracy of cspace conversion
Former-commit-id: 3c378bc93b0edd73d1c8f07fab33b1943b9d4411
Former-commit-id: 2fa968ca7c3535ab92251d55afba20e64c574089
Former-commit-id: 12065bfba7ce14e175d99d15d2f0a937665fa395
10 years ago
James Jackson-South
e7bb84d597
Cleanup plus perf
Former-commit-id: 63f72c2f2fe3fcc93bc33dc34d53fd510c8b303f
Former-commit-id: 62ee31e766620df396d7155a7b30bf09ce7ba4c3
Former-commit-id: ba93e7236c32f9b633c2d754781a641da27cc3c0
10 years ago
James Jackson-South
65bb422a03
Fix rounding.
Former-commit-id: 24e1ec9e1df29e3885756dd126fd6da2590b1476
Former-commit-id: 92c20b66787ce9498b1f3c00e0c24e2c947af06b
Former-commit-id: 76604e21bb8ae94dbec01b8849919d4b6ae2a27c
10 years ago
James Jackson-South
995aa12688
Add Alpha, enhance Contrast
Former-commit-id: 57c546555c9af90fd97358838f80be8e5c626348
Former-commit-id: 18db123214cd0db20881fcc080f7757a8ef3f415
Former-commit-id: cc39b7eb626807151ead4b5f74270b0f8098a4d5
10 years ago
James Jackson-South
f48724c2ad
Add Lanczos5
Former-commit-id: dd83c793aea242e533c04f1ed0526319e3608c7b
Former-commit-id: 27cfda9e96a3148eb9345992050880cfa830dbd5
Former-commit-id: 4d4eb638fed3de06a05eca59d161acdd2d389b7f
10 years ago
James Jackson-South
8dc6c6abbd
Fixed resize. 😄
Former-commit-id: b76ea5a37afec493edc37fa84af3f2e7407498a4
Former-commit-id: 1e557c3c26bd777ba0f16f2d2b87fe10b3aa1073
Former-commit-id: 53e49322bc6608b6d2dbb4a9a54473c093c69a5c
10 years ago
James Jackson-South
e3a2334ede
Resizer updates
Getting closer but still not quite right.
Former-commit-id: 7df2d4c45591ba8e71e073c29d61b73e25c38cf0
Former-commit-id: cb63ea1d1341f15a3b6d82fb6b0a6c842107bcf9
Former-commit-id: e3a69acf2949c0081381ca71214c673581712e93
10 years ago
James Jackson-South
31d123bbf2
Cleanup for debugging.
If Parallelism > 1 then something goes wrong with the pixel sampling. It
could be as simple as a rounding error but I'm struggling to see what
the bug cause is.
Former-commit-id: ca308abcc60e0d64011ddb3e72b3ed5f7770a407
Former-commit-id: 188f7fedb0df78efc518d896747cfe605df44ff5
Former-commit-id: 35d77eb073dadfa0a7abcfebe6f858ece0efdf09
10 years ago
James Jackson-South
0c209fb50b
Experimental resampler. Need y-axis fix
Former-commit-id: 2ba617c37ac8e40daee881ac11e3451f49bc753a
Former-commit-id: 3ef1ba6940ef32cbc16b3b9656419c737925a2a1
Former-commit-id: 8ef77f95ee83c86f478c6249f52ad2f89ca92b65
10 years ago
James Jackson-South
a4986afc31
Add new test image for rewrite
Former-commit-id: 9ddf97eb0300834d945db627e4c500e67fbf1fb7
Former-commit-id: c9a893530a085724596af1054492d125dc0355ea
Former-commit-id: 3266f3ce095fd3f865d0e540e6096f794de70c4f
10 years ago
James Jackson-South
31e50252ee
Cleanup
Former-commit-id: 11abc62aa78af1d7377948b757e8dac5dab49aaf
Former-commit-id: ad449d9635135872d0b2a15dc6eb29c771665c2f
Former-commit-id: c4672260a9f7f6aa066fe8c73568c00603260be8
10 years ago
James Jackson-South
8fe32cb1d6
Adding some resamplers
Former-commit-id: 173de39596036ccb0970ae195d47874cb5610db6
Former-commit-id: 156b60bd82d6e2d49c0733aa5954206417d63501
Former-commit-id: 6639ef8d33a006707c408193122d001189eec15d
10 years ago
James Jackson-South
6e1639314e
One method to rule them all.
Former-commit-id: 5e10ac72eb889229640d206db43a0a741449cfa8
Former-commit-id: b63d6e63487a412929054f985adb5b4fd32d3e55
Former-commit-id: 5ab11c7dab763ab3ca3e1ab2244e50aa08f63fdd
11 years ago