James Jackson-South
cd97b2308e
Don't create a copy if you dont need to.
ImageFilter = NoCopy
ImageSampler = Copy
Former-commit-id: 530cc95d3b655175999dc78d95fea988f25416e6
Former-commit-id: 63650e982a0a2bb116a473816692187b186a4d0f
Former-commit-id: fe8e7020aa116899a2ae1620b4c78b446a3510e7
10 years ago
dirk
4b9e294386
Some more refactoring in the Guard class.
Former-commit-id: a13359d3b5bb3984fdd55804226e54f0e25e9626
Former-commit-id: 2efc5aa9f7e6badd2287ae70743909023c0fb92b
Former-commit-id: 049d5e9f2ff17f48f8f503cc6c34b900507a2ddc
10 years ago
dirk
7c0ae01d7b
Fixed check for message.
Former-commit-id: 60177850e28645374a56ba7da941663e46f5e872
Former-commit-id: 50fd3960da2e9396a51dd299da7c5f287b3624a1
Former-commit-id: 0d0a319ea55a40dcc451913cff14fccfa8df5d26
10 years ago
dirk
6849173a6f
Refactored the Rational type.
Former-commit-id: 1272c4c34838ae467fbe63050adb9b6a476fbcc2
Former-commit-id: a0510c5bea4432f5758af7c4058fa359794dc70b
Former-commit-id: 2f5006c4a70827e9f796698303cda409a2266ef2
10 years ago
dirk
59315259a1
Fixed check for message in Guard.IsTrue and Guard.IsFalse
Former-commit-id: ab939ab1a09d5e7452fba067ad3247bb6c56c2d3
Former-commit-id: 2a1278a2f53cc94353fe7260f017a2d0ca4caace
Former-commit-id: e7a7466c02934551c49820fcb04b8b781af2c4fc
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
510d349c12
Benchmark CopyRow touch #457 [skip ci]
Former-commit-id: 3ebb26faca837aeac974a67da676be409d902ae7
Former-commit-id: d7a8a733fabfb6621f8f3a04c56b9f2aa6913392
Former-commit-id: ec769799df83b3f7b1d4934aead8e6ae1e280736
10 years ago
James Jackson-South
88d55a3afd
Faster pixel access [skip ci]
Former-commit-id: 6acf8d3a4de0287b22205537591bdf3517f4fc32
Former-commit-id: 11a91852b54bf2e42182cfe6bf08a0fdb969a84f
Former-commit-id: 05574a79bfe33a798d9dfff869e712a276e8ee64
10 years ago
James Jackson-South
2dbde5a617
Fix EXIF tag and version numbering
Former-commit-id: 2175e57a38ab45f0eb2f158be17ad7391576f6a4
Former-commit-id: 9169b06fae3fd325ec3942a21efca43d6e9f718c
Former-commit-id: f19ea9c05fd5824d8e2cad1e216b8ab9377ef7d9
10 years ago
James Jackson-South
bc75b91a4d
Thanks git! [skip ci]
Former-commit-id: 94cea9d2a97920d6a9089f31e04c070a7663002c
Former-commit-id: 78f612110eacbb6384ae56942ada35e4b9ccda50
Former-commit-id: 58a9620c42f7fe90fb9b0fa58266722c011501fd
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
3fed568e9e
Better decoder
Better organisation, handles all color types + maintains image quality.
Former-commit-id: 27d65b60f5e468e9678d0f9dd0314700e658036e
Former-commit-id: 1ed0afaccc0218f60cdc749a83725c9f9693ab4a
Former-commit-id: d20d7fd77362ad6cbb570b46105f2817df99c85c
10 years ago
James Jackson-South
97bb2cb632
Don't attempt to read chunks with bad length Fix #460
Former-commit-id: 86da0c1812ebb3db389d271edf6e8ca81167ba60
Former-commit-id: 93b28d11ed01296011abb4eb6bcb03c89e61ad49
Former-commit-id: 0ecfd461c9a6b5b2fe9aa8632534f8cbd5e0166c
10 years ago
dirk
21923086e5
Corrected length of APP1 profile that is written inside the JPEG encoder ( #454 ).
Former-commit-id: ea696cd10090a17d6afeb9d12b75c6f13740f1d5
Former-commit-id: c8fb6d3e38f358174751efb09de068743844de82
Former-commit-id: 0be10012c38c1290af56e1d80d363ba21e94f899
10 years ago
James Jackson-South
071b7c7c18
Update errors and config
Former-commit-id: e623247db24cb728703e278cb7a548d6229b82ee
Former-commit-id: 37ac7c485921004e6f8ac613e32e1ff8f92bca61
Former-commit-id: 71b6e8c354b9c858872988329f1ede76a6e319d2
10 years ago
James Jackson-South
486834773b
Note to myself
Former-commit-id: 97c6b632b77e5ab683ce43013f21a97b06c256a4
Former-commit-id: 5f343cd0eaa9f1ef5503cf440f585a5c9f4ebddb
Former-commit-id: 3fbdb5f1c5e3282355b8f46c2b70f718254b76c5
10 years ago
James Jackson-South
d2c5af4e32
Png encodes moar types [skip ci]
Former-commit-id: ff132f190934d317f9736ee236502d63a0d4531d
Former-commit-id: b5bc0988e86d58d6ecd39c9078d1f3f9b7c8b819
Former-commit-id: c4c5599022e0cb862cb78f7d81c5105f9c66a06c
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
52b46f76c3
Added descriptions to exif tags (patch provided by Oliver Schneider).
Former-commit-id: ad0f2f8884c2eaa8b3c09c187809f88ecb6ad5c0
Former-commit-id: e08032af04205bf2b9f0ac3052dd63933048b1e5
Former-commit-id: 384b549a1874bb32ae175f375c1c4994e3b9ce38
10 years ago
dirk
e175fdcc98
Fixed name of Thresholding.
Former-commit-id: 0d96a4c74c0854e940b0e83a45db9f4e9e910832
Former-commit-id: 9a8b9c8707634dc970078d34a79e665fc31da307
Former-commit-id: 1f05195b15d856c29f8ccdcf0d3576ef3015b18f
10 years ago
James Jackson-South
a3303ac1d2
Better Rational + Tests
Former-commit-id: f062d6e9e05b6f71bc8a5072059956c425ea8bbc
Former-commit-id: 51371aecc20f3985e50590491228ae1538847a09
Former-commit-id: cbbb41ffa048ce953e297c0a2b32de269bf83572
10 years ago
James Jackson-South
d52cf7cfcc
Use Rational + Moar EXIF cleanup.
Former-commit-id: 74b6d92136ee0329f3d627e9ff0ef4afce178752
Former-commit-id: 85a44b41c37f4dd15c467cbad538c0dead3d2344
Former-commit-id: 7ef29e8855f928bb5cb00e69f56e69b3bcb38612
10 years ago
James Jackson-South
93e4c4d562
Add Rational struct [skip ci]
Former-commit-id: 42f38934bd4650dfdb7e733bebcdbe11eb57cd1f
Former-commit-id: ff53006f57bd6b40ee863692b41eda42ce33b7b3
Former-commit-id: d1358cebb22a24144a19eef570c23e645a42714a
10 years ago
James Jackson-South
943d91dbb5
Begin style 👮 for EXIF [skip ci]
Former-commit-id: 4a6cad5cac25407cab5f7ab09ff042c4ae03b1b9
Former-commit-id: 51a21bd5864dba0fe03806f9452b7b04b05aee65
Former-commit-id: f21194eb73883753cc16cbf803ee5b3434f133a1
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
dfc2772491
Added attribute that can be used to get a description for the value of an exif tag.
Former-commit-id: 3bca9a911b0189867911ef22765009909a9bbe00
Former-commit-id: 91add02607f34749757840aa946b1fe987bd234f
Former-commit-id: cb69236b11426f8c1abd1928c22d0922c1554baa
10 years ago
dirk
ac58565b9f
Added option to change the orientation of an image based on the information in the Exif profile.
Former-commit-id: ae4de1addaed801930aea365f4bc0a87d03f6e3f
Former-commit-id: bb1e39e2ef759b391e88b7f3fbfd98ea97913b3f
Former-commit-id: 97d2de47e68c5dafc524656ec3d95c1c1f72e7c2
10 years ago
dirk
eea1aa42e3
Fixed rotation at 270 degrees.
Former-commit-id: aec556c7e070aae9b56686b60ecc3b6a7bde6d84
Former-commit-id: 1a064149feb900427844ca80e514630f2ad2d088
Former-commit-id: 900d3d5e2e3069fd03099532c39a8e0c94eb905d
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
140242686d
Added optimization for when the Rotation angle is zero.
Former-commit-id: ea93704484817a6dc43ff0e5e59a39a766009af2
Former-commit-id: 7e09d9d3526174334c037f00b0ec58d14d0f6859
Former-commit-id: 32e32a345814b029083c2627278bdb475ac3c3ca
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
dirk
033e420e3b
Moved the Flip and Rotate code from FlipRotate to their own Processors and call those inside RotateFlip.
Former-commit-id: 59a0db810427fcfd9c7426392f5de94317d928bd
Former-commit-id: 89d27c015fbc972372f3697c06864dd71f458574
Former-commit-id: 160b946dcbfc868be3d014c2ef6410cbb40d4ef7
10 years ago
dirk
3457bd3fa4
The JPEG encoder and decoder will now read and write the Exif profile and added unit tests to verify this.
Former-commit-id: 5ea83609c02c71e457f1e083501b30dfb86af88c
Former-commit-id: a594b52cfb4b1fb96d39fa1241c1db1db42ee401
Former-commit-id: 7276cfdbaa100a6ba0d705c311e6b439b3d11cfd
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
dirk
a1ac7f6e7e
Added Guard for true and false.
Former-commit-id: 0036dcc3316425aa6709918eb22f08d6a95c76d0
Former-commit-id: e928511040809e280a1e638a4341403d15f1ed32
Former-commit-id: cfe1b6808c914762286fcd23a95dca444cdaa954
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
08de2e30bd
Clean upedge detection
Former-commit-id: 3f5ad14a2724c33a3723986e5e5890d7339302dc
Former-commit-id: f371e93de1c3ae0c144bc20c26cc49d0b34b5178
Former-commit-id: 9f3aea38493f3236544703c08560fa9dcdc47990
10 years ago
James Jackson-South
b1f671d4d9
Sanitize binary thresholding.
Former-commit-id: fc6a87c6975f8c3583d41bcfc74982e5eb0e6959
Former-commit-id: 018c30dd19b80cb338cb51c9dffbec22b6300fbf
Former-commit-id: 9315fed7147852e55aaab74b4f84fb075002d445
10 years ago
James Jackson-South
5de78b9d81
Sanitize ColorMatrix filters
Former-commit-id: b26dae4a4bbe620476ad334e7e4b6eb9eb2d4625
Former-commit-id: 3a71a08ef4665c7b677153c7df2e9c41926e0b10
Former-commit-id: 1a1eec21f2fe5e15cac7afd8f9c441d7d207ce01
10 years ago
James Jackson-South
8c561574a1
Fix Glow
Former-commit-id: dbea7d85b184eecdbac2eb1d3330469885ef9cdd
Former-commit-id: 0e6fb4eb1dd1ce575a04100eef819cb80a72834a
Former-commit-id: 728c0fe6fae89ac1d551af02a030a6bdf78d18a3
10 years ago
James Jackson-South
4516432915
Sanitation, performance, vignette, and glow
TODO convolution and colormatrix sanitation
Former-commit-id: 2dc40b04a3d2c7bcf539488d4c0559fd42a48125
Former-commit-id: e79bce183a3fce5bd19c05271ac55dc756f74098
Former-commit-id: 43fa71e167864c565463fd3d2250a9603125661a
10 years ago
James Jackson-South
cbf476e34e
Sampler performance optimizations
Former-commit-id: 57f9665225227b25a9dc53357985097001df37c8
Former-commit-id: 0ba692a70a1480b5de88015bb0660a2471f63ec3
Former-commit-id: 055257264bc4063a23db7c056a7cfa7a7c4394be
10 years ago
James Jackson-South
6fbd5ae36f
Speed up companding conversions
Former-commit-id: 2f3cbe8f979ef1fae811f5138426e72fcfdd9265
Former-commit-id: 7a29098ba4de5bdd1ea9c19918a4741c3e508a69
Former-commit-id: 248447ae4b53a20f75cf07eb37d867c0898a2ccd
10 years ago
James Jackson-South
0ffc08831c
Remove unneeded class
Former-commit-id: 7877a6d77281b19d44bf5a1ef316bc8a80e8dbba
Former-commit-id: 7cbb32f35eeb8661b9ca05ac259c9e745ce7c58f
Former-commit-id: 9c95e5d3179ac7963e62e95292358351809a5fef
10 years ago
dirk
25e4d99683
Guard that the name of a property can not be null or empty.
Make sure that Equals and GetHashCode can handle a null value.
Former-commit-id: 8a982497a7ec7182a34d41c44d9dc6658ce4de7c
Former-commit-id: 7c973c93aca38357e5e2b35cebeac9c10c93296b
Former-commit-id: ed06603bf43c266c6619bf81c3a65393f2bf4b2e
10 years ago
dirk
9c8f4dc519
ImageProperty is no longer a struct and added unit tests for equality.
Former-commit-id: e140d562a45ef0dc7fa3e1e5dfc3ec330040b696
Former-commit-id: 9256abfb4eca778a2051d32edc198979bd359de2
Former-commit-id: 0076f821040d894bb10e923c4a5a370932eae48b
10 years ago
James Jackson-South
e70f07426e
Add setter to IPackedVector<TP>
Former-commit-id: 8f90f6fd99515e8cbf50184baeaefd93466bb39c
Former-commit-id: f1e9aa552dc446eedb450aa7ed1a9f6ef87a5001
Former-commit-id: 15c3d89bf472544d8c89dd7da2f45dfffbb441e6
10 years ago
James Jackson-South
562bb03b43
Resize now 10% faster
Former-commit-id: 8d123c508edef580da7e7226d9dc94b42e0261c2
Former-commit-id: 3fb2cf0b1318711665772efbd37a1e05ea8c39bd
Former-commit-id: 89e4d4123421180721162e5159406483c574bbb2
10 years ago
James Jackson-South
c66efb4eab
Resize optimizations [skip ci]
Former-commit-id: 16b81044c592de8270bef9eea9aab6fd5eec3e59
Former-commit-id: d08308b5961f2316211479e2cdb598e5cc42a5a9
Former-commit-id: 610d164d45dc5ba680705c4baedcacb32ffe0237
10 years ago