James Jackson-South
db425844e5
A little sanitation
9 years ago
Scott Williams
6ead567a4c
split formats into there own projects/packages
10 years ago
Dirk Lemstra
8f048cc965
Removed usePool overloads and added a Length property that can be used when the pool is rented.
10 years ago
James Jackson-South
6e3e358ec8
Replace ToBytes()
This replaces IPackedPixel.ToBytes(bytes, offset, ComponentOrder) with
explicit implementations. By doing this we remove the overhead of a
switch statement for all IPackedPixel implementations.
Benefits are also to be found within all the quantizer implementations.
10 years ago
James Jackson-South
99fed3ff36
Merging into master
10 years ago
James Jackson-South
3863f69bff
Remove TPacked from generic signature
10 years ago
James Jackson-South
77f9bdecae
Update TPacked signature
Removes boxing allocation when comparing generic packed value.
10 years ago
Dirk Lemstra
cb089ba2fa
Changed PixelRow into a PixelArea.
10 years ago
James Jackson-South
b5c4256b93
Clean up PixelRow
10 years ago
James Jackson-South
037a27302a
Make ComponentOrder agnostic
Many color formats don't know what RGBA means.
10 years ago
dirk
7b316333db
Used the new pixel code to optimize the BMP encoder.
10 years ago
dirk
4f08406452
Changed PixelAccessor to use IPackedPixel<TPacked>.
10 years ago
dirk
3de77ca163
Comment fixes.
10 years ago
James Jackson-South
2b2ec84e9c
Rename to ImageSharp
10 years ago
dirk
cf542ef1ec
Enforce struct on TColor
Former-commit-id: c22a93c67274e1ab495ffa6a85d6c7cb95688974
Former-commit-id: 12a03f05c3c0137240006e978a573e5ff0746ce4
Former-commit-id: 78b186b3d54015644377e55314c070c84debfb25
10 years ago
James Jackson-South
d949ab0f26
Revert "Enforce struct on TColor"
This reverts commit c6a36c9427 [formerly 1e48873bd7609b2ecd1b33158ae1f7d3f9d517e0] [formerly 5ee53a5681d546619d3fabaf65d343e20d025b58] [formerly 0de461016f83628673d07d18a2f2a402082f47b2].
Former-commit-id: d0b4d2efc7bae39501eb4d0ed8f130f0185d0b1c
Former-commit-id: 6cb6f17122c793f01a7ea53f9dbe24d10fd02970
Former-commit-id: 1006885854cb5e74f5b53eddd803a531327a872c
10 years ago
James Jackson-South
c6a36c9427
Enforce struct on TColor
Former-commit-id: 0de461016f83628673d07d18a2f2a402082f47b2
Former-commit-id: 5ee53a5681d546619d3fabaf65d343e20d025b58
Former-commit-id: 1e48873bd7609b2ecd1b33158ae1f7d3f9d517e0
10 years ago
James Jackson-South
ccc13bbac3
Revert Unsafe.Copy and cleanup
Former-commit-id: 401fa40681eb231eabcfe11f5115c05404c84498
Former-commit-id: 160012def06309092c8ee00cba8fa99a53f83ebf
Former-commit-id: bf644e6660e40cb25e20de9058bc181284730409
10 years ago
James Jackson-South
693cf0df5a
Remove bytes functions
Former-commit-id: 153a5f985339b738d1cf15e10a3d42a6613ef729
Former-commit-id: ece59225c4bd1e6afad22fcf7a18d5cb60189228
Former-commit-id: 9d9fe57bb80e756284f496373c630b9ea09f3058
10 years ago
James Jackson-South
5e9ce77841
Use PixelAcessor<TColor, TPacked> #457
Former-commit-id: 38a4a37351b55ae4027064c96983460a440140b8
Former-commit-id: db9a4f0f2ce7930ae633e3a7ceee0fab7f5db464
Former-commit-id: 34289d7967ca5c8cdbb0949ed8bf0f65586fa297
10 years ago
James Jackson-South
39153debab
Cleanup bmp encoder
Former-commit-id: e6ae6c39ce5d83da0762fde1a2bd2c6428dced97
Former-commit-id: f81b2f43de2696e18fe5399fbb456f0f9a9b0cda
Former-commit-id: 849e263b02fbb25a317a732da50f94172af719ff
10 years ago
dirk
49b0a504f6
Fixed calculation of sizes in the Bmp header and did some minor refactoring.
Former-commit-id: b005ef6d302b74a96d06b8bf7f2eb0b0811b1ad2
Former-commit-id: 048fce9ddd7f17fce74c193ca798767324646658
Former-commit-id: dc9db4faab79dbfeb0360c8e0e5727c723ba0036
10 years ago
James Jackson-South
87018d0c99
Remove new() type constraint
Former-commit-id: 60b0e004f0517fe6ffd7b0f2aef1d196ed3ef9fd
Former-commit-id: e42b121f44034c0d82ffdeac627cd0d214eb6780
Former-commit-id: 792ae7427d0028d2a012b100259e7ee72e1fc224
10 years ago
James Jackson-South
20c65011ac
Now Color
Former-commit-id: df0c84ebe32444c8e2bf964f839af8fd6b80d196
Former-commit-id: af528ad7c73c8c20f1f1fb5f0e4864bc00dfc4ee
Former-commit-id: e62c836d6621e86a03386c83867d4dbcb668dc5e
10 years ago
James Jackson-South
33497d5250
No need for second type param
Former-commit-id: 19180d2962371ebdbe77b1e08a1867b8630abf43
Former-commit-id: 84da094533206cb0c1a859a438fe6a937af9fa77
Former-commit-id: 3094f56fbf68569748a6b31f3874cf716ed673b6
10 years ago
James Jackson-South
dc80f36e76
Faster... Much Faster...
Former-commit-id: 72030d1552aad7da681b03900ffe614bb8fee3d2
Former-commit-id: 13219f66ec6a6f6e3d61eddd8102810ab4b948f7
Former-commit-id: 356cddebc1dd634474e0b5ddc450318d5b21bff3
10 years ago
James Jackson-South
db714b9767
Getting there....
Former-commit-id: 52d18a5b7db2755316ced3502b012186b6eebf96
Former-commit-id: c03f4bd0c6cf3701e9cd9244b43425c1d5e7c32b
Former-commit-id: 794deb40b750df545be1aacff66677ea4443190b
10 years ago
James Jackson-South
9f25784c04
Moar T
Former-commit-id: 53f37fb68f78c602df15d87f6c9086f75eed1cfc
Former-commit-id: 79ee79b98b686595c4e5d6054365884a7dbf5b7a
Former-commit-id: afc91142ccd716afb271b29bdbf736d779ef4d84
10 years ago
James Jackson-South
b04b6298e0
IPixelAcessor<TPacked>
Former-commit-id: 5b04e85fc18ebe98bd122766c58379a1666d0cbb
Former-commit-id: 6e626d6a6e55aa75922a3c1aeeb4094390b4e185
Former-commit-id: f5293704eec3ece4aceaebff57218bce383d02e8
10 years ago
James Jackson-South
4608c5c87d
F**ck me it works!
Former-commit-id: 5349fc67232b2863c8e5d6fa880ffd1bd415efa3
Former-commit-id: 5e92562e0c7131b65d41ff81ba48bbc0f83b60d8
Former-commit-id: 79570635457be4888019984092c73105a159848d
10 years ago
James Jackson-South
c1cea3b06e
Trim back to basics
Former-commit-id: 3cca13c49abcf0e9a5a394794153406084d2e19e
Former-commit-id: 767a3db69cf4adecac58c58a84891b736ada79eb
Former-commit-id: db1a5b695cc73951becdff9b31535b8f7b03e75b
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
efa26b42cf
Add usage comments
Former-commit-id: 0555309a2862e24dbcfbce54f2b692de10c155f4
Former-commit-id: 168cc16706190b0067e1db06e912500284a8b24d
Former-commit-id: 1bb43330a521100642bfbab85f3c052941b297c7
10 years ago
Patrick Ammann
52c5ea07e8
#395 fix
Former-commit-id: 9de97d7ab9a146c4d54d2f972942ec9d3c848da3
Former-commit-id: 9427516f117b7104e65de06196e4ab7e2a98be4e
Former-commit-id: 760cf311cd50c0c83b38a3226e1869b184d248f2
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
James Jackson-South
9cb1219e9a
Add palette quantizer.
Former-commit-id: 69da68a4a3d8b6a1b0e0ea0f980b90c1f76a5c27
Former-commit-id: 7d3352f72d9aeae1e9a6a37366ef87af6809f3cf
Former-commit-id: df1f8fe540d0cdf3548133acd57693bbda7a9dbc
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
b2791eaa48
Fix memory leak in BitmapEncoder
Former-commit-id: a64b965aef7ff28b675e858aa26dfdae6312a9f2
Former-commit-id: df2197d0e4fac1983ad20db07df4b9207dc1a3f0
Former-commit-id: 76331f4ca8bf74412456de842b6fbc86533b8203
10 years ago
James Jackson-South
8244c52b07
Fix memory leak in BitmapEncoder
Former-commit-id: 064795cce7107001df5fd8adc610b7d8d19ef7dc
Former-commit-id: d142c5bd63ad62e9307f80d42765d21d3a37e5e3
Former-commit-id: 9448861fae461c940d7fb493a44960c1f6238f13
10 years ago
James Jackson-South
2801fd6ff4
Perf improvements + fix memory leak
Former-commit-id: 20e073d2b951f20450b55df9d78dc6966a48f4a1
Former-commit-id: a8927a2352e8803cde9c7cf887d5c64e061f7726
Former-commit-id: 5e630441e640043b0840b486d00bc8d868838502
10 years ago
James Jackson-South
1f067a5293
Perf improvements + fix memory leak
Former-commit-id: bb96701051c666af3638470fa92759e0df489785
Former-commit-id: eec30b08f3cb99649838ca554df0b2a86f966343
Former-commit-id: 092eda4459781bf417ab92680d5679ad6407e94b
10 years ago
James Jackson-South
e8d505ecbc
Revert "Color is now linear by default."
This reverts commit c4114b2ef1 [formerly 144be0509d7ce2e2702b13b1ea60f708083e4912] [formerly 549f0ac778eb8b1a12d7b7e38280f360aa71ad59] [formerly 3869ebe4d426df2fba1e2996c2fed464a0a55357].
Former-commit-id: a6e0888c25d48a7982a297bfda0ecbc90e20a3d0
Former-commit-id: e404d156c276660e88d0524cce840205c0bb7214
Former-commit-id: ea32434d8dc919a710f521f358ad939a98ada9fe
10 years ago
James Jackson-South
4469d68889
Revert "Color is now linear by default."
This reverts commit c4114b2ef1 [formerly 144be0509d7ce2e2702b13b1ea60f708083e4912] [formerly 549f0ac778eb8b1a12d7b7e38280f360aa71ad59] [formerly 3869ebe4d426df2fba1e2996c2fed464a0a55357].
Former-commit-id: 553ca901ac3a2f4ba2c285a8e5c74083aac77587
Former-commit-id: 5f9463a2211e2a95e1efcd74855a327d360bf84e
Former-commit-id: 1391abd216c1b82010d41d729f480dc603731af1
10 years ago
James Jackson-South
c4114b2ef1
Color is now linear by default.
Former-commit-id: 3869ebe4d426df2fba1e2996c2fed464a0a55357
Former-commit-id: 549f0ac778eb8b1a12d7b7e38280f360aa71ad59
Former-commit-id: 144be0509d7ce2e2702b13b1ea60f708083e4912
10 years ago
James Jackson-South
f4edf43b16
Color is now linear by default.
Former-commit-id: b0fd6546f0419bf458402dfb8f7d4769320b0793
Former-commit-id: c19266c3e808fe90eb3523c51b0f9dcfb06a7baa
Former-commit-id: e24b61b5c05f5647c4ae5dd0a664665e4d0e479c
10 years ago
James Jackson-South
09176be63f
Better transparency handling
Former-commit-id: a1d0f5d52b21aa76531f86ee63f75973311e1837
Former-commit-id: b3f3963a089a4c99ae8ceda8b4ad019b19e32ec2
Former-commit-id: eb5b4e013f56035cd961b03e213cea128ee5e88b
11 years ago
James Jackson-South
c216ba2214
Better transparency handling
Former-commit-id: ac22e88250f0f22a76df995e48aaa1b57b4eaf32
Former-commit-id: e50bfc7cfdfab49c7b1214d82608571f05ee725d
Former-commit-id: 37bc9f8b39875633915092c6e1351450b3d93fbe
11 years ago
James Jackson-South
c72d286c04
Fix format conversion output.
Former-commit-id: 8ae3e66a843e57054180b1433b0fca3e9f5e1205
Former-commit-id: 6613571207f92916dd31e60bfbfd29820c194663
Former-commit-id: 865d3eda06966a5a3a1c08744aad6b25cc73e62e
11 years ago
James Jackson-South
8ee5b4245c
Fix format conversion output.
Former-commit-id: 2936205e13fa5329caf84d98691898c1f312cd02
Former-commit-id: dbfc0b5e29033f3357511c71c298940ff0ff9f5d
Former-commit-id: e996c20ff4b2cc6a2a76953b532dd7560f0cf735
11 years ago