James Jackson-South
7aa7c40d38
True Generic Image?
Former-commit-id: 5b08411e203ba38ad40a1892f599cf67af7c513f
Former-commit-id: 64f7bf7a94fc878e8fb8b4a19f049b55bca5dea6
Former-commit-id: d183d15ce5ebefc2f8b9dc86ac8a9d7bb5c27714
10 years ago
James Jackson-South
ffaddb984c
Begin switching to generics
Former-commit-id: 88d16159717d23208e4e151e5434aca3a27ff3b2
Former-commit-id: 2a7d97bb9c9a42b3e6ce720bd0da36d0b3fea5d8
Former-commit-id: d6db3166d72eb48c18e2fc0c093ba42462e2a208
10 years ago
James Jackson-South
3dbad0c44a
Use PixelAccessor
Former-commit-id: 9b7174022ac6745534acff3ed69718d143e91e6f
Former-commit-id: f8d1e182dec104b3c77fec79cd4d7c00a299a70f
Former-commit-id: 98f22a9d62b5133aeba4b4525a71b2e6c2b18133
10 years ago
James Jackson-South
941cea90e5
Clean up formats.
Former-commit-id: 531da397b90ec92c74fff08bf070c9647c4498d3
Former-commit-id: 8fe224b456b8fd940f5eae1944df9e641a0c2a25
Former-commit-id: 7b75d81db72c566c483964701a4da6274b63e9b6
10 years ago
James Jackson-South
2742c7841c
Correctly dispose of frames.
Former-commit-id: b3432bab210ef6349acdcfaa74c5db3f29428bca
Former-commit-id: 00acbc726a0fb28d244d9fdb2eb79048d54cc744
Former-commit-id: 8ada24a491c596f5f563daab396d84be59f7433e
10 years ago
James Jackson-South
3234c421c2
Use initialisers
Former-commit-id: a5eb29bea83d28d3c9bc92de5a1d4b8470056080
Former-commit-id: 21d12461725dc1843f9b25f5b0ec3a17da4c8206
Former-commit-id: c71bd070ad88c4b41c7fe6bd44f2c54b1b5d1724
10 years ago
James Jackson-South
e46266737b
Add Bootstrapper
Former-commit-id: 3697a99fa9f1578be79fe7c25ab0c80621284486
Former-commit-id: dff38d2a7517949e251371504082ec4d767f257e
Former-commit-id: daa364a34287743b2bc6cf667268c7059a9aa9f4
10 years ago
James Jackson-South
ad03cd5390
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
d12eedb9fe
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
acb5a66f66
Add 32bit bitmap support plus cleanup.
Former-commit-id: 398e93818c9c9e901b125b7daa7a345fcc8d2787
Former-commit-id: 9aba9f2e190fc8a986e16d632a58ebc94fda2d5b
Former-commit-id: fd99bf7129eb85360cae9484cccac3241af0681e
10 years ago
Masoud
2699bbfe45
Update Image.cs
Before reading stream for header , position should be changed to 0 if the passed stream were read before
Former-commit-id: 39b39e2f2ff275215cccf4d55ed65652abf62109
Former-commit-id: 7ef123922caef2f00577b2262313e9f2d6228fff
Former-commit-id: 98be9a262b460d79f04206b53c8ed83f307b3948
10 years ago
James Jackson-South
f5e8014d3b
Image should not dispose of stream. Fix #316
Former-commit-id: 7818c6866549f63bd8964f1c6650b5deb938f25c
Former-commit-id: dfa8dfabf96353a6cde86386d87fd57360eb1df0
Former-commit-id: 3739eafa2260dc0e6ab9f292c7905a5f04e6765e
10 years ago
James Jackson-South
f2d1c8ad5d
Rename to Core
Former-commit-id: c18f0149c93be6a2b8f196bd9265d293071f303b
Former-commit-id: ec96e4fa102a05b541bee1dc6be583ad9676a664
Former-commit-id: af407d177b01792436a266deecb16925f1c22981
10 years ago
James Jackson-South
f401a21eff
Rename to Core
Former-commit-id: d67ccae22dd0be392237738f05abc778f5f37bca
Former-commit-id: b2cd4c7535080da11a3710d8e4a6dc4cba934512
Former-commit-id: 491167f89f2e9487a1956a33cf75616d3b4789c6
10 years ago
James Jackson-South
fae7ac90f7
Ensure Image properties are copied across.
Former-commit-id: 78c547a9cfa9fa51e03cff64ddbad742377a63e7
Former-commit-id: a41fc55bbf46bb40920613b8ec6c05d6bd7380dc
Former-commit-id: 79fad1b63998aff21d2a4cccdf9171957fa940e2
10 years ago
James Jackson-South
9587f94ecb
Ensure Image properties are copied across.
Former-commit-id: 7706883fed3cc6f5b3ce345eefdada7ccb619507
Former-commit-id: e55f9230ce9b27bb80ef64493d0fc8296e78465b
Former-commit-id: 0e3f906270e93e8d58bbca63ddaa6bfb68fb1904
10 years ago
James Jackson-South
e1a1059358
Fix broken tests and cleanup.
Former-commit-id: 0a49ce0850cd56b7709f0dab8e401c0eef370e9f
Former-commit-id: 283107cc1988b9405da88fd40e39f3390f3a111d
Former-commit-id: f13026b7d2237fe624432fa9f8b2b4fdc147a89b
10 years ago
James Jackson-South
0d707dd6f3
Fix broken tests and cleanup.
Former-commit-id: 8ffd61fd16ba32d300ae6cb0bd4a1f4d40915097
Former-commit-id: 2d3f52bf43aaaf8dec769b5f8d537523ad27769f
Former-commit-id: 91c3011b36fc412d8a17ec6102357e7108160813
10 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
10 years ago
James Jackson-South
33876ba193
Switch out List for ImmutableArray
Use my full name.
Former-commit-id: 68931f6382eb2988fb29b31ea82ea03c48f967a3
Former-commit-id: 07b72753f259aae27c2eeea8d8ade919ab11fd98
Former-commit-id: c564a2e6328096acf051af9def4656e75ad2547c
10 years ago
James Jackson-South
4910a825de
Update to NET 4.6 etc
Former-commit-id: 13504b6bd87f681d061848d19c5f3cb607e96dc6
Former-commit-id: eff308eb2d06484cbe38ef3a808f29584233ac6e
Former-commit-id: fc96b270e55c0ed1d7dd47e2769402c348bf298e
10 years ago
James Jackson-South
d3e310f358
Update to NET 4.6 etc
Former-commit-id: 507fcf53a7df87e203954e187fbb61bec515ddbb
Former-commit-id: ce1d96184a059188a0f1040350c7da84764c294a
Former-commit-id: 7cd451ad1df8bcf080bfb01d3b6c4a89f10c8d78
10 years ago
James Jackson-South
152b18c109
Simplify base API.
Former-commit-id: fa3e308c24fe7f25fe55573397c16bb8d98bb9d7
Former-commit-id: 31697ba859fab7faa06642f42bf9032ad84cab6f
Former-commit-id: 2c3cc280c73dd1c4d7976e57f7c3eca9fc17d194
11 years ago
James Jackson-South
be1ca0de80
Simplify base API.
Former-commit-id: 1f97479c4fd7a60da0674d4b29f5d5518001b2ea
Former-commit-id: b8b07a469002f9a1675b35bab35d64750aae32be
Former-commit-id: b975e8eebb39e125358987fb866a4d1980689604
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
3d3d74f673
First rough filter API attempt
Former-commit-id: e355d9dc0b3efaee0c8c54435090041dac447c45
Former-commit-id: 7ef69bb6c4f28b1e6ae704d84963c4aa7bd53073
Former-commit-id: 6a152f3985346d0b61a2f654f7eebbda8f46f265
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
75988a66c5
Make things more testable.
Former-commit-id: 142f31a69261e477697279e56fb06dd15e08eb9f
Former-commit-id: 0e18308fb1b8daeb77dc672ee1eec0ee0955f9b7
Former-commit-id: b71bc558faae8d35bff2bdfd08116c725b14239e
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
6f57f00688
Working Gif Encoder 🎉
Former-commit-id: a86f973bd831b712a93459bdb82d374f626cc79e
Former-commit-id: 9e6cea1e0f73bb14c9857e8c8af21c1dee23d656
Former-commit-id: d9d8f6e9f6d4cbe4e1b290c67b42ec4d6760d2a3
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
e52339afae
Base logic for debugging. Encoder does not work. 😢
Former-commit-id: f4011b1a76358ca6e82f5cb9a5930f2b276cbad7
Former-commit-id: 86b649f22f929f06e8b924424f4bfea959744149
Former-commit-id: aa711e684902cbbe5f9329ba3d3b760506a2ba56
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
79c4d59d5d
Cleanup lzw encoder add more encoding functions
Former-commit-id: 906a47f0606c8831f526bab4d0408651e9052a9e
Former-commit-id: 4c760c7eb123df7ea1d2dd5d15a5b6b4a6d8383c
Former-commit-id: 4c431f1e32cd5aa5304c7da88a68fc4a850d860b
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
30c3c59b6c
Moar gif updates
Former-commit-id: 40454c7dbf848e389d6566b83308aad3fa7e8e1d
Former-commit-id: d35c141b9e7174b30d51459069918471a85fe36c
Former-commit-id: d026c277ae32c95b96105c7e6a9244a88aadab6e
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
James Jackson-South
586f3be179
More work on the gif decoder/encoder
Former-commit-id: 780d7b2478cbafd42d2230fc245d8ab5320dc245
Former-commit-id: 16c380a0287b7b1822b617eae826554c4109c4d8
Former-commit-id: 81a821fdd7bf09f715fb956c4486468ddce2e92e
11 years ago
James South
655c885140
Enable jpeg
Former-commit-id: cf9da933af92eb4a4d461778e14774aa0fe17f1f
Former-commit-id: 607f049c7e81cca8305b334955cc9189cc6558fd
Former-commit-id: 60ce8be67e4e654dde7c263b6c4070513063ed67
11 years ago
James South
96d824ec5f
Enable jpeg
Former-commit-id: 40d6b11321e75d800299ed93368cc629411692af
Former-commit-id: fe1ce463f33c93ef092b9bb9652128851e4130bf
Former-commit-id: 1420fe512ea88a7b4f02cf5cbc327e6ddc04a2bd
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
9f3603ffd3
Update to c#6 syntax, make structs immutable
Former-commit-id: 422cca4d32fcde728b090058088408d56fd4cbb0
Former-commit-id: 8d29aadde9a6b84d9d873b14142907e8228da4cc
Former-commit-id: 79aba44ef77760b6d58bfa7cdaf59060c6041be5
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
45898e9827
Import and cleanup bitmap format.
Former-commit-id: 3695394604ca491864f134a6f0e95d288ec9eb12
Former-commit-id: bd3dcffd03c9ff0c75f231cba67fb07375fd0ca0
Former-commit-id: 584a931185b0f4d0d86f33d9a14018381599d62b
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
4950a4a594
Add YCbCrColor and intial encoder tests
Former-commit-id: 8311678740ba5aa9850bd6a997064a035d547621
Former-commit-id: 8da6d5c16f7cbf24b0455bae6647eab2b36c2c9d
Former-commit-id: 2724d1676d465cd523808232690e4e3035721e7c
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
James South
c99c827b68
Import png encoder and begin gif
Former-commit-id: 28605ca292741e3de1e36caef5a4a14b5b425618
Former-commit-id: 45c538d36742adbd6487910e0fba74da1cccf30a
Former-commit-id: 2d524bbb0d9835d5688c762b215a612cc8d9d530
11 years ago