Dirk Lemstra
031da70a15
Implemented the IEncoderOptions inside the png encoder.
9 years ago
Dirk Lemstra
eb5e8a83af
Added options for the encoder.
9 years ago
Anton Firszov
be4c189533
IPixel
9 years ago
Dirk Lemstra
9306e531a8
Whitespace.
9 years ago
Scott Williams
6ead567a4c
split formats into there own projects/packages
9 years ago
James Jackson-South
99fed3ff36
Merging into master
10 years ago
James Jackson-South
3863f69bff
Remove TPacked from generic signature
10 years ago
Dirk Lemstra
6c69d339d1
Moved various properties from the encoder/decoder to the image format.
10 years ago
James Jackson-South
77f9bdecae
Update TPacked signature
Removes boxing allocation when comparing generic packed value.
10 years ago
dirk
7ad899a028
Removed trailing whitespace.
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
dirk
7b7ae9344c
Added extra interface IPackedPixel so we can easier add extra interfaces.
Former-commit-id: 6fbacd8b3fc9f85f4fd8571c20ff5fd12e5057b8
Former-commit-id: 44b521a163f472068e0dea15334c9361c8bc5a28
Former-commit-id: d53a1519d6bc0573a50bbf397ebde59e61873957
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
354af45815
Fix cross-format quantization
Png can now store more transparent pixels when indexed and work with all
quantizers.
Former-commit-id: 6a4724535829d2c73024b6b1f0235e94e25ccad1
Former-commit-id: 24e4cfff4583c97caef30369302340a3a75ea57a
Former-commit-id: 56ff119c5a2a2506f06b59a23e5e13ec0c3a4688
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
5e9ce77841
Use PixelAcessor<TColor, TPacked> #457
Former-commit-id: 38a4a37351b55ae4027064c96983460a440140b8
Former-commit-id: db9a4f0f2ce7930ae633e3a7ceee0fab7f5db464
Former-commit-id: 34289d7967ca5c8cdbb0949ed8bf0f65586fa297
10 years ago
James Jackson-South
6b6dec39da
Begin greater png color format support. [skip ci]
Former-commit-id: ee12a350d066acd2580895f89d852ef3c579237b
Former-commit-id: cdce687f7966c694d232e7591667106fb9358918
Former-commit-id: 92ed20377ae53847bb43b2f1f8a6d88f74653f6f
10 years ago
dirk
d3adbcde9d
Change encoder to use Image instead of ImageBase.
Former-commit-id: ea33041f9da15556cebdc8470ef47dc727509514
Former-commit-id: 92ed3f17d0beaa3addbe7c5e8f7a6b99a54b8e3f
Former-commit-id: 97adf8ab7b503f943a6b616a678fe1b1df088fed
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
ef65706d96
Add png encoder
Former-commit-id: b222f96370adf0a3f87d3e2d762e270fac829a5a
Former-commit-id: eecf02f023c9d43ff3e54dd4fcfbfbfdde22f543
Former-commit-id: 03bf7ed3356ee33b96e8dcff9b7a53b26e8f919f
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 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
60f58b1d85
Supports indexed png when quality is set to <= 256
Former-commit-id: 83d6dd94b5db6de3a05d02e5e2884ba2740556ee
Former-commit-id: c41912b1e3b1a957ea9482e7b21de18bae85785c
Former-commit-id: 2504d8cd469282a5e24e0ecc730e391685486519
10 years ago
James Jackson-South
a73738e312
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
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
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
fc829fe3d2
Build fixes.
Former-commit-id: 8ac15c0d0641c76a18f468f7477569655a7f8f63
Former-commit-id: e4b2b6b3cc933fd4d6b7471d1856f21ea4b58cdd
Former-commit-id: 25af02845e2ca3d08b34c1638fb5566c17fbd082
10 years ago
James Jackson-South
a0850baf42
Build fixes.
Former-commit-id: b90234a91ed66539ed5fba8a062987fc614af70c
Former-commit-id: d35839e652f9d25d3622e73da84503f9abd4607a
Former-commit-id: c47972b479f83e5c6cc7bbab30ca5522a355b573
10 years ago
James Jackson-South
2df59a18d4
Png perf improvements + cleanup
Former-commit-id: 9740b3d3fd1d5f1a98b7947e172fdd5450869519
Former-commit-id: e32ccab23a0c811911a5fe64e5f07102db570401
Former-commit-id: aba09391590892aef49d4e37e463504a5b18928d
10 years ago
James Jackson-South
37d29cdf57
Png perf improvements + cleanup
Former-commit-id: ff6ee98a500cab9af4419b6bdcf2aecaaa24e380
Former-commit-id: 0c00eb6ac7ba50eca5e1ee3340c779d8626ae9fe
Former-commit-id: 17ff53ba48bb59112609d4efc1ed2c2edd0ede97
10 years ago
James Jackson-South
ec68d40997
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
7772c44450
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
1f0affd732
Png now decodes using MS Deflate stream
Former-commit-id: d753c8b0bdb066f56e4e48423e7a58dc3702c03d
Former-commit-id: 019e60e30b144148b895910791ddd807f6e637d3
Former-commit-id: 68825fd0d9534498cf2ff589854e01e518e9d246
10 years ago
James Jackson-South
399c903131
Png now decodes using MS Deflate stream
Former-commit-id: 64744c95528689e18644710cd9a24a059a32443f
Former-commit-id: 636824adefcbcbb2a7b224f0bd7561533e13eed8
Former-commit-id: 7f02811df7bedb52ee408aa00a7504eb4261626c
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
c216ba2214
Better transparency handling
Former-commit-id: ac22e88250f0f22a76df995e48aaa1b57b4eaf32
Former-commit-id: e50bfc7cfdfab49c7b1214d82608571f05ee725d
Former-commit-id: 37bc9f8b39875633915092c6e1351450b3d93fbe
10 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
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
c0997492a1
Better transparency handling in encoders
Former-commit-id: f270c42392da5923b647c9a020b2cab5f0d8246a
Former-commit-id: c4aff598526059b09d4c1e4ee7a782e317c686b6
Former-commit-id: 7e6cb00b0ece0f5968d6f69262f3c0c576b6d750
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
c443346068
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
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
1b6a0035d1
Add premultiplied alpha
Former-commit-id: 346fe4d5a27014ff153447113eee4406c9b9d07e
Former-commit-id: fd5c29c65e88e8ba292879950f70ea072848753a
Former-commit-id: 8c2da3d64065b5884117016885a26c5913b932de
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
33876ba193
Switch out List for ImmutableArray
Use my full name.
Former-commit-id: 68931f6382eb2988fb29b31ea82ea03c48f967a3
Former-commit-id: 07b72753f259aae27c2eeea8d8ade919ab11fd98
Former-commit-id: c564a2e6328096acf051af9def4656e75ad2547c
11 years ago