James Jackson-South
e13b8dc3a6
Limit constructors, change test format loading
10 years ago
James Jackson-South
050b4c5f45
Add ability to set custom Bootstrapper.
This allows the setting of custom formats and parallel processing rules.
10 years ago
Dirk Lemstra
04294fd8e2
Added extra constructor overload for ImageBase<TColor>.
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
Dirk Lemstra
e4450d8b7c
Fixed the last StyleCop warnings.
10 years ago
Dirk Lemstra
b753f78553
Added an extra constructor to image that accepts a byte array.
10 years ago
Dirk Lemstra
c3f4f5f888
Only calculate the maximum header size once and use ArrayPool to create the buffer.
10 years ago
Dirk Lemstra
bb0226d239
Moved HeaderSize and IsSupportedFileFormat to IImageFormat.
10 years ago
Dirk Lemstra
13f8da0e51
Made all the Bootstrapper methods static and fixed thread safety issue.
Remove the Formats property from the Image<TColor, TPacked> class.
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
James Jackson-South
940801612d
Add PackedPixelConverterHelper Fix #27
Allows the conversion between all the known packed pixel types.
10 years ago
James Jackson-South
43b1dd1845
Fix To() Method to allow vector scaling.
10 years ago
James Jackson-South
aed23abf1d
Add new To<TColor,TPacked> method
10 years ago
Dirk Lemstra
f9f4d4e73d
Moved the ToFrame method to Image<TColor, TPacked> and added a Clone method to ImageFrame.
10 years ago
Anton Firszov
44d7359ae5
Merge branch 'master' into HEAD
10 years ago
James Jackson-South
be5b01bd75
Cleanup
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
a772712c93
Fix Image.ToString() to reduce debug workload.
Former-commit-id: d83a970fe376720fe4dccec41d1c61b485bc5766
Former-commit-id: eac38bb459abfb95817b1bd88519150eff1a21da
Former-commit-id: da1bce000ed52f03bbade5542e095bc206f38482
10 years ago
James Jackson-South
cf112f604d
Doh!
Former-commit-id: c75e1fb072d9913029e521deedc0e66f712eb9f2
Former-commit-id: cba95defab49a45b9e8f25e853a7ec016cc13504
Former-commit-id: e60d6ac43314c49677a6251d90d485f9638ff174
10 years ago
James Jackson-South
8674d63cfd
Streams are now better handled
Non-seekable streams are now copied rather than throwing exception.
Output stream position is set to 0 on save.
Former-commit-id: 78b65a6c5fc22922b238b813c7625b053ca605a3
Former-commit-id: 496b6a8cd2e972767a370bf5a5a04d99cdd8d4b2
Former-commit-id: 68c5dc773389a413282c6ebac2542784c6d26867
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
dirk
9bdd581aa8
The Save method now returns the instance to allow method chaining.
Former-commit-id: 1d75c0e548918a208ead960347171f5d7c22c263
Former-commit-id: d9bcd6253abaaed5068d0993bd091177a6aa7ba6
Former-commit-id: b36b29c63e4233839f4655e8ab70dd6c68dad065
10 years ago
dirk
2e330649fa
Added method to copy the properties of an image.
Former-commit-id: 126b2f90afc19b367669116a5610fcbd3c252726
Former-commit-id: f2820929b2c9f92b7cb2ced52b674367f70eeba9
Former-commit-id: 988552a23146160a96a521b56b0016fb32dbc0e1
10 years ago
dirk
371970a5e6
Added class that can be used to read and edit an Exif profile and added a property for this to the Image class.
Former-commit-id: 11d6858f985ac5f9e1c17f19d1dcc418a05bbadd
Former-commit-id: bfed05308fafbf01141966edb8fadc991c78b437
Former-commit-id: f97b6f7e891f5158021033ad3fb4344d1d5632d8
10 years ago
James Jackson-South
31efe63e6d
Add ColorBlindness
Former-commit-id: 5ce61ca1e508ed598370b5817fa54fa6aaf7ecff
Former-commit-id: b04c8676420dad90a6cb9515bdc8b9db67752576
Former-commit-id: 98da045e3b41b5369a5d8ef393b2b22b8c011665
10 years ago
James Jackson-South
916e172b0a
Add all samplers.
Former-commit-id: c60883d765b1372be2a9ab88f8494dfa3283d8a6
Former-commit-id: 9fbcdac0c826d57eaa2bafdc5c72ff90079e5f51
Former-commit-id: 2e8a4fba64de7233e5ea741122188eb86612a060
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
7b9fa020eb
Ensure quality is carried across.
Former-commit-id: 6069f3358b046e27a7aa3e56ac8a11cb6684b7e7
Former-commit-id: 34bf7b98f19e05db77daa5b7fc57020c3e563b08
Former-commit-id: 0b28b45eaa0450d775062c0be210856c57d96e7f
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
15711f6a11
Use blitting, cleanup code.
Former-commit-id: a52a42b2bfb7b00e838d5c5108c7eaec8bf1da95
Former-commit-id: 495ad3d53a5d04e510dffb7b1f2f71e3fc7b28d1
Former-commit-id: df993deb570146848acce1064c2a6a960ec7d6f2
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
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