Unknown
42835e2ba8
#557 : use spaces, not tabs
8 years ago
Unknown
73c93585be
Extend run-tests.ps1 by a warning if submodules are not synced
I'm contributing to ImageSharp since around a week, and I saw 3 people (myself included) stumbling over failing tests due to the submodule for test data being out of sync.
With this commit the run-tests.ps1 test script is extended by the following behaviour:
- if something fails during the script run, the submodule status is checked.
A warning is printed if
- any submodule is not initialized or
- any submodule is not synchronized
- git could not be called to check the submodule status.
8 years ago
James Jackson-South
2ef6c81a29
Merge pull request #552 from woutware/Issue-551-solidbrush-blend-performance
Issue 551 solidbrush blend performance
8 years ago
James Jackson-South
6cdb7fae92
Delete merge conflict backup file.
8 years ago
Anton Firszov
847b21d44f
use overloading in ImageFrameCollection + more tests for API-s affected by the PR
8 years ago
Anton Firszov
9499d8ae00
minor code cleanup in FillProcessor.cs
8 years ago
Anton Firszov
1ea63be70a
Merge branch 'master' into Issue-551-solidbrush-blend-performance
# Conflicts:
# src/ImageSharp.Drawing/Processing/Drawing/Processors/FillProcessor.cs
8 years ago
Anton Firsov
dc53f7df05
Merge pull request #555 from SixLabors/af/FillSolidBrushTests
better FillSolidBrushTests + bugfix in FillProcessor
8 years ago
woutware
ff897f94e4
Processed review comments, removed IImageFrameCollection interface, and added backgroundColor parameter to ImageFrameCollection.CreateFrame() method with default.
8 years ago
woutware
687ca3f80f
Processed review comments, removed ImageFrame.BackgroundColor property.
8 years ago
Anton Firszov
aaa15ed835
better FillSolidBrushTests + bugfix in FillProcessor
8 years ago
woutware
fdd7263c82
Merge branch 'master' into Issue-551-solidbrush-blend-performance
8 years ago
woutware
cff22588a9
Processed review comments, moved Image.ClearColor to ImageFrame.BackgroundColor.
8 years ago
woutware
d233bf89c3
Processed review comment, made ClearColor not nullable.
8 years ago
Scott Williams
6f8600f455
Merge pull request #553 from SixLabors/af/drawing-tests
Better test coverage for SolidBrush + blenders
8 years ago
Anton Firszov
b07ad0bf49
assertions for SolidFillBlendedShapesTests
8 years ago
Anton Firszov
2b07bc46e2
"BlendedShapes" -> SolidFillBlendedShapesTests
8 years ago
woutware
25eee6ac6a
Merge branch 'Issue-551-solidbrush-blend-performance' of https://github.com/woutware/ImageSharp into Issue-551-solidbrush-blend-performance
8 years ago
woutware
0e28587583
I think I forgot to commit this one.
8 years ago
woutware
4b1b9d2d40
Merge branch 'master' into Issue-551-solidbrush-blend-performance
8 years ago
woutware
e7f125d5fe
Processed Scott's review comment.
8 years ago
woutware
b21afaac88
Add Image and ImageFrame constructors that take a clear color as parameter.
This is good for performance because this avoids first needing to clear the buffer with zeroes.
8 years ago
woutware
d7497abaf4
Oops, should be W instead of Z ofcourse.
8 years ago
woutware
3feccfa6ff
Added fast path for SolidBrush in FillProcessor.
8 years ago
James Jackson-South
a53ed883b9
Merge pull request #550 from SixLabors/js/add-png-filter-options
Add the ability to choose the filter method to use when encoding a png
8 years ago
James Jackson-South
3f5ae10096
Add the ability to choose the filter method to use when encoding a png
8 years ago
James Jackson-South
209ccfdf8f
Merge pull request #548 from woutware/Performance-improvements-1
Performance improvements in the PNG filtering (roughly 20% gain on my machine).
8 years ago
woutware
88fd0674b9
Processed review comments and did similar refactoring to the PNG decoding.
8 years ago
woutware
9c1aa97d9d
Merge branch 'Performance-improvements-1' of https://github.com/woutware/ImageSharp into Performance-improvements-1
8 years ago
woutware
8fc424a38a
Minor performance refactorings.
Moved the division out of the loop, division is expensive.
8 years ago
James Jackson-South
a33ce2198e
Merge branch 'master' into Performance-improvements-1
8 years ago
Anton Firsov
c219ca5a2c
Merge pull request #547 from brianpopow/feature/indentify-memallocation-fix
fix for unnecessary memory allocation, if Identify is used to retrieve the metadata of an image only
8 years ago
woutware
7278f5b223
Removed some overhead in the Bgra32.ToVector4 and PackFromVector4 methods.
It's now also more inline with the Rgba32 implementation.
8 years ago
popow
041aea9fcb
added parameter metadataOnly to InitializeDerivedData: If true, memory allocation will not be done
8 years ago
woutware
c7e6d19cc1
Performance improvements.
Ditched the use of modulo (%). Modulo is slow, and if you use it to just get the lower 8 bits (1 byte), you can just directly cast to byte.
Also moved one if < out of the loop for speed. The less branching the better.
Similarly replaced an if < 128 by cast to sbyte and taking its abs value.
Performance gain in writing to PNG file seems to be roughly 20% (release mode, 1000x1000 bitmap).
In ImageFramesCollectionTests I've set the culture to en-US to ensure getting english exception texts.
8 years ago
popow
338c91215a
fix for unnecessary memory allocation, if only the metadata of the image will be read
8 years ago
James Jackson-South
3425c203f2
Merge pull request #539 from Jjagg/ifc-docs
Improve IImageFrameCollection doc comments
8 years ago
James Jackson-South
a9bc664097
Merge branch 'master' into ifc-docs
8 years ago
James Jackson-South
ee1f7474a3
Merge pull request #541 from carbon/cq-1
Improve CQ, Round 2
8 years ago
James Jackson-South
7b60a8a3bb
Merge branch 'master' into cq-1
8 years ago
James Jackson-South
adce5a1106
Merge pull request #543 from woutware/pr/540
Pr/540 Added IPixel.PackFromBgra32 definition/implementations.
8 years ago
James Jackson-South
db87a41079
Add additional tests plus cleanup
8 years ago
James Jackson-South
d1b39a5b8a
Use expressions
8 years ago
James Jackson-South
1e401159b9
Fix braces
8 years ago
James Jackson-South
a786916fa4
Merge remote-tracking branch 'upstream/master' into pr/540
8 years ago
Jason Nelson
60a921576b
Merge branch 'master' into cq-1
8 years ago
James Jackson-South
0aa99d897d
Merge pull request #540 from woutware/issue-532
Issue-532: Added IPixel.PackFromArgb32 and ToArgb32.
8 years ago
James Jackson-South
40ac7476fe
Fix System.Drawing.Bridge
8 years ago
Jason Nelson
f600c33421
Format SimdUtilsTests, part 2
8 years ago
Jason Nelson
7175bcf901
Format SimdUtilTests
8 years ago