James Jackson-South
3df30431dd
Better transparency handling in encoders
Former-commit-id: 4ac66346af234c105628b588a84a4cb746c3e6ad
Former-commit-id: 3c249d1fb3e2860e3df77b1cb8e30bd60fda1db4
Former-commit-id: fb192a7e2fdaedf1b75173c8283b44642614d81d
11 years ago
James Jackson-South
62a8feb050
Bump up png max chunk value
Former-commit-id: 620f6398ecdab9471559bce7336da4f1e04e28dc
Former-commit-id: ffd8b8022220d5a2fd6cbb31e634b757ad7fac0e
Former-commit-id: fdbd060401915bc64fcf268263cdb0ffcb4dc647
11 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
11 years ago
James Jackson-South
389f347dd0
Add premultiplied alpha
Former-commit-id: 19e9707988c7eea57137289d395c61a3c64dfcbc
Former-commit-id: 7345f59fdb18429fd71d617c493ef6b9a2e006fa
Former-commit-id: 2f7b5f2b751c0c26fc588d7fddcb93f67844d5a5
11 years ago
James Jackson-South
dbe45506fe
Fix broken tests, update dependencies
Former-commit-id: 7234f3f88396822fe1ee691565d44fec1619070f
Former-commit-id: 4075e16ff21cf16977772d65008a8d2f02e9459f
Former-commit-id: 3e1183fdce171ed2af6eb270e9a05ca2f42c7b7c
11 years ago
James Jackson-South
23defe59c4
Missed a few files
Former-commit-id: 484dcb25c7e99f9ffc1cb0570709ff7d7d2b8878
Former-commit-id: 9a4ddf0dbded0a2a5a92b716f0c106d581ed3898
Former-commit-id: 359304ffd939bc6771d72cdb401f8360db46774e
11 years ago
James Jackson-South
54860af472
Switch out List for ImmutableArray
Use my full name.
Former-commit-id: 329d5d6ae345d28b6c120966b77641cec4dce101
Former-commit-id: 121cd1a695ad5d3da170725385a3e555b5536798
Former-commit-id: c34c57087a21e44a404066329e2512d678eef567
11 years ago
James Jackson-South
b3e7e35799
Stylecop fixes
Former-commit-id: fc76d9c8cba162b8df67dc1f5f3d74747d72d099
Former-commit-id: 2ff5a55b83f7470e51273ddd6bb2dca7f33e01b6
Former-commit-id: 606d237e0b442997f0da2f2064882753c497daa3
11 years ago
James Jackson-South
cdc539b13e
Refactor edge detection to streamline API
Former-commit-id: 7c34c72499a47b2d9e11f86d4b995bacfc02a585
Former-commit-id: 2d1151dc50f27a25c41b88f2882330602ebbf6d8
Former-commit-id: 25600ca90a236389fb2b1418465f01945755df17
11 years ago
James Jackson-South
d8f19a095e
Fix transparency issues caused by rounding.
Former-commit-id: 54a03e11c23470c8f6f195c5b403eff2b7b6bf42
Former-commit-id: bed20d51eb17f0855cc1c122af34af1226f3b1f1
Former-commit-id: f04832c77a4b550059acfd716f766be278bf510a
11 years ago
James Jackson-South
4e38b7c359
Add more filter methods to API
Former-commit-id: d6ae1aee8613ad004d76fba528cd1bc7a2ca3054
Former-commit-id: 77bb86b4723c5074860e3fd8574115dc21380c04
Former-commit-id: dca053caa530602fd33a3805192e7060df900515
11 years ago
James Jackson-South
bd268809ef
Wire up Bgra32 to match others
Former-commit-id: 6df70bbcb522e8463342caf7c4bc19236ccd1977
Former-commit-id: dbf66da49cbb9c7de53421015fcb221a8f05a22b
Former-commit-id: cf4e7e4e2046a257d27661c57f2bb23a1a940123
11 years ago
James Jackson-South
ce5f235e5f
Switch over to new Color struct as default.
Former-commit-id: 1cb78f9723ddcdd4bcf45c27d7571423629ad0c6
Former-commit-id: 727c1b5eeaec657fa541ef64e118006c2b74911f
Former-commit-id: 7c9b65f6d71f10e9c3ce8193ae797f30b8c291f2
11 years ago
James Jackson-South
3f60ab1a99
Speed up Bitmap decoding
Former-commit-id: d1493f5c5d4010a53944bb6b03da2df1e874408e
Former-commit-id: 627893b33df8c4a90e4af5636f0823310071a5ca
Former-commit-id: a75c6527b6ae2296a12e45bdca66ec2a050ccf6f
11 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
11 years ago
James Jackson-South
e7bb84d597
Cleanup plus perf
Former-commit-id: 63f72c2f2fe3fcc93bc33dc34d53fd510c8b303f
Former-commit-id: 62ee31e766620df396d7155a7b30bf09ce7ba4c3
Former-commit-id: ba93e7236c32f9b633c2d754781a641da27cc3c0
11 years ago
James Jackson-South
4910a825de
Update to NET 4.6 etc
Former-commit-id: 13504b6bd87f681d061848d19c5f3cb607e96dc6
Former-commit-id: eff308eb2d06484cbe38ef3a808f29584233ac6e
Former-commit-id: fc96b270e55c0ed1d7dd47e2769402c348bf298e
11 years ago
James Jackson-South
dca5d6634b
Moar cleanup
Former-commit-id: 2768412a12ebae48de30635184a4e213d1033346
Former-commit-id: 033c6cc52ceec936e5c596f2dbe365d644d09a66
Former-commit-id: 7e94075a33f258c94fd9d1d06098c64f7ca7d783
11 years ago
James Jackson-South
fbed11da50
Remove SharpZipLib dependency
Removed dependency so we can shift to net 4.6 portable. Lot's of cleanup
of imported files to do.
Former-commit-id: 77369417c977d9583799e3877032caca852098e4
Former-commit-id: 6a026ca66d8a361156fb7152e1a76e9aa6c144ee
Former-commit-id: f7f2cdb88db2ee988162ddd2df926206bf21636c
11 years ago
James Jackson-South
0cef737078
Add ColorMatrix functionality
Former-commit-id: 741ed5325553c7e521375e2b6168cfd345fe69d5
Former-commit-id: f290ab071672406c5f3d846cedea2e7c280329c0
Former-commit-id: 1ca475830cd7732a17fb3f407418189aea692e8e
11 years ago
James Jackson-South
ed5f15135b
Github not catching up...
Former-commit-id: a24ec65acfa81b98d1ab80ae6417205a21144002
Former-commit-id: c8456eb3a9ce60f423cc9f12a21eff2a28e2b264
Former-commit-id: 193527198f426177251c251db91d5ce54b62525a
11 years ago
James Jackson-South
8541710e69
Cleanup implicit operators
Former-commit-id: 2b2b1bef44413972fcc80d6c35096ef99a81e261
Former-commit-id: aa808e49a13b2329bbe0b20711104219bfbb6c9b
Former-commit-id: 0b5728ab09e8f032ef02a68aa9ce3aec9dbc2b73
11 years ago
James Jackson-South
921bdd4719
Begin add resize
Not working correctly just now. Y calc is wrong.
Former-commit-id: 91ca743f8b8de21fe48028d6548da72588430233
Former-commit-id: 8df5d69b84b989886e496d03352a2c8f30737c00
Former-commit-id: 5305114affb9f21639df7b2fa87ef1ea597c5867
11 years ago
James Jackson-South
406b0f5852
First rough filter API attempt
Former-commit-id: 6941eb37bf679465857517bfd16ebd910801f430
Former-commit-id: b1fd2d8e4d90eb282201ed81a088e0f7b9c72278
Former-commit-id: 5d1db23e65e6c613a151b8afa3c6b30453206b0a
11 years ago
James Jackson-South
97b829a092
Make things more testable.
Former-commit-id: 53bdb09258dc39b852dda3679b991887e8204f98
Former-commit-id: 64f1fe6f18af8d8bb053c59e9fa999cf7c675524
Former-commit-id: b889f3dc5a64b8968a52d0a5cf7af2d9cf37579c
11 years ago
James Jackson-South
2322ab66be
Stylecop fixes
Former-commit-id: 7b8fc04d018b9909e6ecc8121c6922d1355a6c16
Former-commit-id: b97cade764cac6b18f519bb1fdb5fbb94e999e4a
Former-commit-id: 79a3910c2bcac489aebc9818dae4fe4aa1cc9ea8
11 years ago
James Jackson-South
de1dd39365
Cleanup.
Former-commit-id: c96c5ee495fd2463da4975f0899dedf252714889
Former-commit-id: 2f20c91f3d0624caa62f6f05fac4e5c4c8513e04
Former-commit-id: 190f609511a67d115c1fc481ad64dc07b2c831d0
11 years ago
James Jackson-South
d3377d5c6b
Paeth not path.
Former-commit-id: 5c2c29290830adcf780e277b98c8bc630916809a
Former-commit-id: 74f68b461a5f7e63f8aec37d842111cdeb2e1999
Former-commit-id: 49c02df29574979d58e64c4145bbfd1e027c18c3
11 years ago
James Jackson-South
f49bd78048
Optimizer png decoder
Former-commit-id: 0d011990d4ac6aa28101c3c60d3db7be65a02d88
Former-commit-id: ad8aa0af7751298478589185f897518be096c37b
Former-commit-id: 163e1c78990260fdd0cc1857a4c5971d6abe7e52
11 years ago
James Jackson-South
c4bd0aebb5
Working Gif Encoder 🎉
Former-commit-id: cbd69b2e1405f6ba4dd766177ce70f9f8bf08433
Former-commit-id: 18b60afa438ff00a9e4d03b10ee19876d0132563
Former-commit-id: 24c2a39bca3156adf35295a0a9bbeb5c01fd1cff
11 years ago
James Jackson-South
d603101d60
Base logic for debugging. Encoder does not work. 😢
Former-commit-id: 3a4712523a7dd856388f33240956748af6e55fad
Former-commit-id: ebf7949a65bacd1c289c4c2da49195f3f76db672
Former-commit-id: 7e44492e3bceea442348ddd88dd0af75df3279af
11 years ago
James Jackson-South
908c2b9a5e
Cleanup lzw encoder add more encoding functions
Former-commit-id: fecf25595d77e5eabe164856cbfcea1d0af203d7
Former-commit-id: 949143fff5a687a990a74aec42adc7febef1fcea
Former-commit-id: 17bb51348a1788f6cc94d58bf7dec072fb0db47f
11 years ago
James Jackson-South
82d65ea57f
Moar gif updates
Former-commit-id: e3548b3f5fb82d262a1054c6d2ff89c24f86206d
Former-commit-id: d9ba2a7a4c74231ba7b8f7c90a87567c41b0605a
Former-commit-id: a6b6bac2b10088c73838b5177636b5c9db6424c4
11 years ago
James Jackson-South
b2f2837343
Add Guard tests
Former-commit-id: f1812215d04e2f807ce9d0f5a7fd70e83eb01a9e
Former-commit-id: 471b311d8a3d5ffcf1e371ce9601fe267c04bde1
Former-commit-id: 25cfe58ad3f58536129eed66c0940b161cfcd21a
11 years ago
James Jackson-South
184f926143
Some light refactoring
Former-commit-id: 5c94066bc5e020d9fc34364573c62c049aa5103f
Former-commit-id: 5e618f18b708c8b32d8014c1edf557bb9c6ddd64
Former-commit-id: b4c99c5191e2b0353853d50d34cd1d74148a91c7
11 years ago
James Jackson-South
527b188c17
Import LzwEncoder
Former-commit-id: 6a339c295833f1992bb7be2dae9a2921cf7cc778
Former-commit-id: 833b40065d9686c5a942a259e2d6645086a011e7
Former-commit-id: 71ee9407b16516e2f5d2176b025457f45960e1f7
11 years ago
James Jackson-South
2b36bfd295
More work on the gif decoder/encoder
Former-commit-id: 1d14e87139860932bdfd5a8697ffcdae925d3308
Former-commit-id: f0e88ee281d201476810e3ebbac7df560c1bbdd7
Former-commit-id: deae6e613414fca011a68a49a324a1b49de8ea5d
11 years ago
Yufei Huang
1ee20f1687
Fix quantizer
Former-commit-id: 34ae097ff85b6d0a707b6509f2fad3883840c66e
Former-commit-id: 96600ea9faa442c35850c918ba39fcc32a59bcf6
Former-commit-id: e60095ab103c4ff8ff70699c78f8df9d48b70982
11 years ago
James Jackson-South
7fa4873204
Quantizer works. Encoding is the issue.
Former-commit-id: 6f7bfcd5302cf0ea9991dec53a4521906eaea4ea
Former-commit-id: 6144a66e2c92b9adb9a33f9f04572837fcd8226c
Former-commit-id: 853c19e80f3b000f62d913916dd9c35c0e3a3627
11 years ago
James South
655c885140
Enable jpeg
Former-commit-id: cf9da933af92eb4a4d461778e14774aa0fe17f1f
Former-commit-id: 607f049c7e81cca8305b334955cc9189cc6558fd
Former-commit-id: 60ce8be67e4e654dde7c263b6c4070513063ed67
11 years ago
Yufei Huang
5f0adfedb9
Implement the interface for the basic quantizer. The resulting image is not correct with this commit but we have a starting point to troubleshoot the quantizer.
Former-commit-id: 74e532e8d6ad562b73e18fbc661627f4673a93a8
Former-commit-id: 2cb747555c8e6572335fea7e511658cfcd84c270
Former-commit-id: 30c325aaf9daeab6bd13ee971034623ed80cf1bc
11 years ago
James South
6cacb4b6ed
*Almost* translated quantizer.
Former-commit-id: 16ad94ed8f9188a956711de2ca5b93d8c7f1297d
Former-commit-id: 92ef418daf57834f153546c3c7f8cbc52e75eb85
Former-commit-id: 7e0490816fb934c066fd9399659987b8c856f117
11 years ago
James South
67f3a2fb2d
A bit more gif encoder work
Not going well 😦
Former-commit-id: 0fc05546fcc3a29e61620da83b7421ee4601f18e
Former-commit-id: 13403576c1acfa541456e97568852d845e9a8a42
Former-commit-id: f81fa27c751ee3171e9e9f330133d2bfa671d081
11 years ago
James South
20336569c3
Update to c#6 syntax, make structs immutable
Former-commit-id: 16af1f16e57b4f2c9c2240ee862c942fd007c763
Former-commit-id: c44ca6ac1dd960b1969a3f41abc144997f0f377b
Former-commit-id: 85d69d6c73396d70248bd56101cf022d9eba2930
11 years ago
James South
4748225018
Rename Colors, Begin Gif encoder
Former-commit-id: be471a40a88a27591dcb4b64dcd55813c012c6b1
Former-commit-id: 74c1041b86f2dfab75f2151e5f453d2048a3a33e
Former-commit-id: 0d0240be9132a0e2508fb873320471285bb07bf8
11 years ago
James South
7089de9361
Begin import LibJpeg
Former-commit-id: 8442b333034f7875080f5f4ea03f1e7b00641bf6
Former-commit-id: 8484ce6c7090f50a43aa5b5a16b4140e7d0c4140
Former-commit-id: 84b0e2b0d1aca5501ae82f66814bbe35ce178abc
11 years ago
James South
ab8840bcb7
Import and cleanup bitmap format.
Former-commit-id: b068ba10fe3487ab7c2a50b3733f7b1d563451bf
Former-commit-id: c7b54a166c121a834289325fa94b33501a625e7e
Former-commit-id: 845101507ecbd543bd8de8ba0e0fdebb471444d8
11 years ago
James South
b0092f186b
Add YCbCrColor and intial encoder tests
Former-commit-id: 7240b4fba080dba719b8add3eebba027dd8c350d
Former-commit-id: 3129efd3d7f565fffd52e4ce970ad739e58cd636
Former-commit-id: dbaca5b79a4e4d023ee9d508a19a4e83f0f71aad
11 years ago
James South
f47e7c6701
Import png encoder and begin gif
Former-commit-id: da82a46559b9964bf02563bd0dd102bf68f8ff10
Former-commit-id: a71fb9608d926ad5fc48b6dc780a100641c00763
Former-commit-id: 4dabf320c3ef95ae3c27f437f7551c2a737c87cc
11 years ago