Dirk Lemstra
35fb2974dc
Refactored the Create method for the encoder/decoder options.
9 years ago
Dirk Lemstra
ce2e129287
Implemented the IEncoderOptions inside the png encoder.
10 years ago
Dirk Lemstra
68ac211269
Added options for the encoder.
10 years ago
Anton Firszov
1125edcef8
IPixel
10 years ago
Dirk Lemstra
f137b8bc14
Whitespace.
10 years ago
Scott Williams
de9c49b122
split formats into there own projects/packages
10 years ago
James Jackson-South
7e048ed506
Merging into master
10 years ago
James Jackson-South
a404a3646d
Remove TPacked from generic signature
10 years ago
Dirk Lemstra
7914848786
Moved various properties from the encoder/decoder to the image format.
10 years ago
James Jackson-South
9afc73d2b4
Update TPacked signature
Removes boxing allocation when comparing generic packed value.
10 years ago
dirk
ecddda19bf
Removed trailing whitespace.
10 years ago
James Jackson-South
a57c90d94b
Rename to ImageSharp
10 years ago
dirk
a27f4b953b
Enforce struct on TColor
Former-commit-id: c22a93c67274e1ab495ffa6a85d6c7cb95688974
Former-commit-id: 12a03f05c3c0137240006e978a573e5ff0746ce4
Former-commit-id: 78b186b3d54015644377e55314c070c84debfb25
10 years ago
dirk
7cc5398365
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
654af81258
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
13c865ca18
Enforce struct on TColor
Former-commit-id: 0de461016f83628673d07d18a2f2a402082f47b2
Former-commit-id: 5ee53a5681d546619d3fabaf65d343e20d025b58
Former-commit-id: 1e48873bd7609b2ecd1b33158ae1f7d3f9d517e0
10 years ago
James Jackson-South
15b989561c
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
b57677b16c
Revert Unsafe.Copy and cleanup
Former-commit-id: 401fa40681eb231eabcfe11f5115c05404c84498
Former-commit-id: 160012def06309092c8ee00cba8fa99a53f83ebf
Former-commit-id: bf644e6660e40cb25e20de9058bc181284730409
10 years ago
James Jackson-South
7c624d0b27
Use PixelAcessor<TColor, TPacked> #457
Former-commit-id: 38a4a37351b55ae4027064c96983460a440140b8
Former-commit-id: db9a4f0f2ce7930ae633e3a7ceee0fab7f5db464
Former-commit-id: 34289d7967ca5c8cdbb0949ed8bf0f65586fa297
10 years ago
James Jackson-South
fca9b4d0b5
Begin greater png color format support. [skip ci]
Former-commit-id: ee12a350d066acd2580895f89d852ef3c579237b
Former-commit-id: cdce687f7966c694d232e7591667106fb9358918
Former-commit-id: 92ed20377ae53847bb43b2f1f8a6d88f74653f6f
10 years ago
dirk
198fe6193f
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
2ab08b54a2
Remove new() type constraint
Former-commit-id: 60b0e004f0517fe6ffd7b0f2aef1d196ed3ef9fd
Former-commit-id: e42b121f44034c0d82ffdeac627cd0d214eb6780
Former-commit-id: 792ae7427d0028d2a012b100259e7ee72e1fc224
10 years ago
James Jackson-South
8187f2ad82
Add png encoder
Former-commit-id: b222f96370adf0a3f87d3e2d762e270fac829a5a
Former-commit-id: eecf02f023c9d43ff3e54dd4fcfbfbfdde22f543
Former-commit-id: 03bf7ed3356ee33b96e8dcff9b7a53b26e8f919f
10 years ago
James Jackson-South
20f34563ef
Trim back to basics
Former-commit-id: 3cca13c49abcf0e9a5a394794153406084d2e19e
Former-commit-id: 767a3db69cf4adecac58c58a84891b736ada79eb
Former-commit-id: db1a5b695cc73951becdff9b31535b8f7b03e75b
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
68ff5669c0
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
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
a9ad947885
Rename to Core
Former-commit-id: c18f0149c93be6a2b8f196bd9265d293071f303b
Former-commit-id: ec96e4fa102a05b541bee1dc6be583ad9676a664
Former-commit-id: af407d177b01792436a266deecb16925f1c22981
11 years ago
James Jackson-South
f7d04925d7
Rename to Core
Former-commit-id: d67ccae22dd0be392237738f05abc778f5f37bca
Former-commit-id: b2cd4c7535080da11a3710d8e4a6dc4cba934512
Former-commit-id: 491167f89f2e9487a1956a33cf75616d3b4789c6
11 years ago
James Jackson-South
b768b69857
Perf improvements + fix memory leak
Former-commit-id: 20e073d2b951f20450b55df9d78dc6966a48f4a1
Former-commit-id: a8927a2352e8803cde9c7cf887d5c64e061f7726
Former-commit-id: 5e630441e640043b0840b486d00bc8d868838502
11 years ago
James Jackson-South
869f8ae5d0
Perf improvements + fix memory leak
Former-commit-id: bb96701051c666af3638470fa92759e0df489785
Former-commit-id: eec30b08f3cb99649838ca554df0b2a86f966343
Former-commit-id: 092eda4459781bf417ab92680d5679ad6407e94b
11 years ago
James Jackson-South
c2c16d3399
Build fixes.
Former-commit-id: 8ac15c0d0641c76a18f468f7477569655a7f8f63
Former-commit-id: e4b2b6b3cc933fd4d6b7471d1856f21ea4b58cdd
Former-commit-id: 25af02845e2ca3d08b34c1638fb5566c17fbd082
11 years ago
James Jackson-South
4c6cbc9996
Build fixes.
Former-commit-id: b90234a91ed66539ed5fba8a062987fc614af70c
Former-commit-id: d35839e652f9d25d3622e73da84503f9abd4607a
Former-commit-id: c47972b479f83e5c6cc7bbab30ca5522a355b573
11 years ago
James Jackson-South
24e20a2562
Png perf improvements + cleanup
Former-commit-id: 9740b3d3fd1d5f1a98b7947e172fdd5450869519
Former-commit-id: e32ccab23a0c811911a5fe64e5f07102db570401
Former-commit-id: aba09391590892aef49d4e37e463504a5b18928d
11 years ago
James Jackson-South
c8acc89ad6
Png perf improvements + cleanup
Former-commit-id: ff6ee98a500cab9af4419b6bdcf2aecaaa24e380
Former-commit-id: 0c00eb6ac7ba50eca5e1ee3340c779d8626ae9fe
Former-commit-id: 17ff53ba48bb59112609d4efc1ed2c2edd0ede97
11 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
11 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
11 years ago
James Jackson-South
39864c689f
Png now decodes using MS Deflate stream
Former-commit-id: d753c8b0bdb066f56e4e48423e7a58dc3702c03d
Former-commit-id: 019e60e30b144148b895910791ddd807f6e637d3
Former-commit-id: 68825fd0d9534498cf2ff589854e01e518e9d246
11 years ago
James Jackson-South
f2c12d0e87
Png now decodes using MS Deflate stream
Former-commit-id: 64744c95528689e18644710cd9a24a059a32443f
Former-commit-id: 636824adefcbcbb2a7b224f0bd7561533e13eed8
Former-commit-id: 7f02811df7bedb52ee408aa00a7504eb4261626c
11 years ago
James Jackson-South
e8f6157023
Better transparency handling
Former-commit-id: a1d0f5d52b21aa76531f86ee63f75973311e1837
Former-commit-id: b3f3963a089a4c99ae8ceda8b4ad019b19e32ec2
Former-commit-id: eb5b4e013f56035cd961b03e213cea128ee5e88b
11 years ago
James Jackson-South
34298d4bd5
Better transparency handling
Former-commit-id: ac22e88250f0f22a76df995e48aaa1b57b4eaf32
Former-commit-id: e50bfc7cfdfab49c7b1214d82608571f05ee725d
Former-commit-id: 37bc9f8b39875633915092c6e1351450b3d93fbe
11 years ago
James Jackson-South
e1379cb6f2
Fix format conversion output.
Former-commit-id: 8ae3e66a843e57054180b1433b0fca3e9f5e1205
Former-commit-id: 6613571207f92916dd31e60bfbfd29820c194663
Former-commit-id: 865d3eda06966a5a3a1c08744aad6b25cc73e62e
11 years ago
James Jackson-South
d481dcc201
Fix format conversion output.
Former-commit-id: 2936205e13fa5329caf84d98691898c1f312cd02
Former-commit-id: dbfc0b5e29033f3357511c71c298940ff0ff9f5d
Former-commit-id: e996c20ff4b2cc6a2a76953b532dd7560f0cf735
11 years ago
James Jackson-South
47e4f66d9e
Better transparency handling in encoders
Former-commit-id: 4ac66346af234c105628b588a84a4cb746c3e6ad
Former-commit-id: 3c249d1fb3e2860e3df77b1cb8e30bd60fda1db4
Former-commit-id: fb192a7e2fdaedf1b75173c8283b44642614d81d
11 years ago
James Jackson-South
375a21e954
Better transparency handling in encoders
Former-commit-id: f270c42392da5923b647c9a020b2cab5f0d8246a
Former-commit-id: c4aff598526059b09d4c1e4ee7a782e317c686b6
Former-commit-id: 7e6cb00b0ece0f5968d6f69262f3c0c576b6d750
11 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
11 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
11 years ago
James Jackson-South
1a449f0629
Add premultiplied alpha
Former-commit-id: 19e9707988c7eea57137289d395c61a3c64dfcbc
Former-commit-id: 7345f59fdb18429fd71d617c493ef6b9a2e006fa
Former-commit-id: 2f7b5f2b751c0c26fc588d7fddcb93f67844d5a5
11 years ago
James Jackson-South
fdc681a263
Add premultiplied alpha
Former-commit-id: 346fe4d5a27014ff153447113eee4406c9b9d07e
Former-commit-id: fd5c29c65e88e8ba292879950f70ea072848753a
Former-commit-id: 8c2da3d64065b5884117016885a26c5913b932de
11 years ago
James Jackson-South
823ea46e0d
Switch out List for ImmutableArray
Use my full name.
Former-commit-id: 329d5d6ae345d28b6c120966b77641cec4dce101
Former-commit-id: 121cd1a695ad5d3da170725385a3e555b5536798
Former-commit-id: c34c57087a21e44a404066329e2512d678eef567
11 years ago