James Jackson-South
9fba009363
Strip out dominant pixel methods.
The two methods added yesterday are too generic and not best placed in
core. Could be an extension method for the web version though. Replaced
with ToString() override.
Former-commit-id: fe3126102c16e1499536b13dfdfe705246f29869
Former-commit-id: 7f5b08ed913df21285b01d6ded3d7922203c050c
Former-commit-id: 70d8c9dc185b715402b6092be342755020ddcc70
10 years ago
James South
27e3baba0e
Add dominant pixel encoding.
Add functionality as described at
https://manu.ninja/dominant-colors-for-lazy-loading-images
Former-commit-id: 6877d52aec61a5cff850b8fc52b98fe4328db115
Former-commit-id: 231b6016c32e434d9699fd01b90662257c7edb59
Former-commit-id: 504ae4d40e60270d85797b646b659becd4303500
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 South
b4abafebc4
Add 32bit bitmap support plus cleanup.
Former-commit-id: 398e93818c9c9e901b125b7daa7a345fcc8d2787
Former-commit-id: 9aba9f2e190fc8a986e16d632a58ebc94fda2d5b
Former-commit-id: fd99bf7129eb85360cae9484cccac3241af0681e
10 years ago
James Jackson-South
63043fdc36
Palette Quantizer is now threadsafe.
Former-commit-id: 7e9f0265dd832ab739a0579deabae792f351efda
Former-commit-id: 8d60a4d0e34f89e2ef638da8c7b1873ac77aee03
Former-commit-id: 7bc7b4acc76f558796b3cf580446d0f517bb15fa
10 years ago
James Jackson-South
f1d5048731
Partial indexed png implementation.
Image renders but is skewed. Run ImageCanSaveIndexedPng test to see
progress.
Former-commit-id: f1d6faa94679bc7adb9cd20ea0b127504a61a33b
Former-commit-id: d5276cc71dad91c152082b5ab261157c9c0108e0
Former-commit-id: 1d5221d91b15cf6f0eb1f7988c32298d46b4e930
10 years ago
James Jackson-South
56b9d15017
Quantizers now implement threshold.
Former-commit-id: fb4a043db98f56ae1261cb3a7c3b1044798d5f16
Former-commit-id: 6abe27ce1f96183dbd6e1bcd76bb2af0654d21bd
Former-commit-id: 9f742e5ca28a2adb62976f9b73fed8b7d773da16
10 years ago
James Jackson-South
36b3f2742d
Interchangeable quantizers 🎈
Former-commit-id: d9c1d3a41b639781c0e44ac921a6de9de59321b2
Former-commit-id: 3b21b6cd0c539bf121d9f88fccf874793de71180
Former-commit-id: 4510bab7605f17c4c85d7793daaa7e24ea2dc55f
10 years ago
James Jackson-South
5e697a3ffc
Shift to new namespace
Former-commit-id: e196c8b9f6e869acc06059fa18c5af33dd02d537
Former-commit-id: 8763566c1d28c8606cbebe1d70fd35d17b880876
Former-commit-id: d44c34c382ab783f3f9b26906981970363f44b8f
10 years ago
James Jackson-South
77aa1d8fd8
It works.
Don't break it!
Former-commit-id: 569020216c8921de469c664f7e61454ab347579f
Former-commit-id: 9898b241446dd7ec5707821c0311d8aa42de2e09
Former-commit-id: 7bba69c1215a334bc83168ececcfe9948f296c33
10 years ago
James Jackson-South
67ad4ae21e
Add Wu Quantizer
R & B are reversed.
Former-commit-id: 92632679d9c7a1440e51e42bb23c264c2b8c4dad
Former-commit-id: 84f98b9f6124e93b61c43dafc28442f8fac92487
Former-commit-id: 043e6b98103678de70bc41857c52b81d22daca6d
10 years ago
James Jackson-South
627db5c8c5
Test pixel array is not reversed. #282
Former-commit-id: a5ca9ed2bb9b811dce1b53dbb7477264f6fcbef0
Former-commit-id: 27e7100347220ad5c7b943263cad5edd18957ad2
Former-commit-id: 861f55171351ecb0fa2c4f4d42e287291022214a
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
James Jackson-South
358307d06d
Replace Zip (de)compression with MS deflate stream.
Former-commit-id: 06d2d11922aa844dab91c857e540a6517eb88d45
Former-commit-id: 4aa397beff436e9fe6adb5640bad69230558cba8
Former-commit-id: 5ba4872f56b4db55b8c126ec9cefe5df19b28922
10 years ago
James Jackson-South
f9e84ac608
Replace Zip (de)compression with MS deflate stream.
Former-commit-id: fb71a2fb308b6ab0568866963256f595cb163fc2
Former-commit-id: ba43eef12c62d1c34cab0c8be42760344af3d522
Former-commit-id: 1496804db2c622c9de19da38034f1a363604a5a5
10 years ago
James Jackson-South
e1379cb6f2
Fix format conversion output.
Former-commit-id: 8ae3e66a843e57054180b1433b0fca3e9f5e1205
Former-commit-id: 6613571207f92916dd31e60bfbfd29820c194663
Former-commit-id: 865d3eda06966a5a3a1c08744aad6b25cc73e62e
10 years ago
James Jackson-South
d481dcc201
Fix format conversion output.
Former-commit-id: 2936205e13fa5329caf84d98691898c1f312cd02
Former-commit-id: dbfc0b5e29033f3357511c71c298940ff0ff9f5d
Former-commit-id: e996c20ff4b2cc6a2a76953b532dd7560f0cf735
10 years ago
James Jackson-South
26ad7f8612
Normalise test folders
Former-commit-id: 3b03b80e0263b9b7102160d74004c95994b5b7cf
Former-commit-id: 36840a6bda2df657dcefb6f94f2f5113134fee14
Former-commit-id: b09ab5327b108e25556d4a72b9f30d7fc690aa07
10 years ago
James Jackson-South
318d11958a
Normalise test folders
Former-commit-id: ef2f17d754dac3ba9a0323600b3c562ef5e1bac1
Former-commit-id: e58e910ef1541b11cf04065574672d20a736a0bc
Former-commit-id: 82654bb7dfc5c90e2660d4f8977d8c1e54aabb53
10 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
10 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
10 years ago
James Jackson-South
a914095dfb
Fix broken tests, update dependencies
Former-commit-id: 7234f3f88396822fe1ee691565d44fec1619070f
Former-commit-id: 4075e16ff21cf16977772d65008a8d2f02e9459f
Former-commit-id: 3e1183fdce171ed2af6eb270e9a05ca2f42c7b7c
10 years ago
James Jackson-South
4efbe87e73
Fix broken tests, update dependencies
Former-commit-id: eb4a57b4048f1f5eb04dfdb03bb3171c944634d1
Former-commit-id: 65a5bc657b616b0d66861ad3fa54de6eb5a0fd2d
Former-commit-id: 73e8ae25740bd9742744f5ffe7ff45e6ddbf0a0b
10 years ago
Jeavon
7125fff9e6
Re-enable failing tests
Former-commit-id: 49813c876fc245a691e2a18cfe6f1aa2a5b25ec7
Former-commit-id: 0556e911466fe8391cec8fc0dba8ed17dcaef6b8
Former-commit-id: d2961b1131d42d959acaa27ad4b388add1113fee
10 years ago
Jeavon
298ec3cb73
Re-enable failing tests
Former-commit-id: eb49da4b67fa7123480b486e8994b1868ee976da
Former-commit-id: 7096cd4dbd95ac916223a6d432ef6b23c36646a1
Former-commit-id: c6d9ce880547244d14678077c2e5d474f1b05347
10 years ago
Jeavon
dcdd381e24
Disabling failed tests to check AppVeyor artifacts
Former-commit-id: acb3811987344f434db37d2209953eb7c11abe5e
Former-commit-id: ef18a4865e8d55775499e10e93b55ee706d7b40d
Former-commit-id: 74c60dd4dff92ee8ffe78f8d5e45c027c6033ae7
10 years ago
Jeavon
56243be343
Disabling failed tests to check AppVeyor artifacts
Former-commit-id: 1fabb94ed14a9e18ab169707fce8025041cc3476
Former-commit-id: 8ee66ed2f82e9ffbe81e1d4b2fa6df13bdb8db70
Former-commit-id: 03fa93a60f09f3ab4768ae49f49f4940cccfdd8b
10 years ago
James Jackson-South
bf2ee4dd9b
Moar cleanup
Former-commit-id: 2768412a12ebae48de30635184a4e213d1033346
Former-commit-id: 033c6cc52ceec936e5c596f2dbe365d644d09a66
Former-commit-id: 7e94075a33f258c94fd9d1d06098c64f7ca7d783
10 years ago
James Jackson-South
e9e3e1bc17
Moar cleanup
Former-commit-id: 4fd3fa054cc3deb7e0e78f464ef7559c68124d5a
Former-commit-id: 54e9e03032ffd18c1b8f1eb6c10b851ec5feccb9
Former-commit-id: 3e37f1d55ef93fd17104973a67c19301503ac9f3
10 years ago
James Jackson-South
4c32c97042
One method to rule them all.
Former-commit-id: 5e10ac72eb889229640d206db43a0a741449cfa8
Former-commit-id: b63d6e63487a412929054f985adb5b4fd32d3e55
Former-commit-id: 5ab11c7dab763ab3ca3e1ab2244e50aa08f63fdd
10 years ago
James Jackson-South
9578ec979d
One method to rule them all.
Former-commit-id: 0410a102603bdf7911fc5f02a5b660540a45b525
Former-commit-id: c6d66869a91cd30afae4ae28993716fa67a9c1f4
Former-commit-id: 31b7fdd178103ba89133976d86788e5c4de6f20c
10 years ago