Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
402 commits
Select commit Hold shift + click to select a range
ed3cda5
Use ReadOnlySpan<byte> static data compiler optimization in more places
turbedi Apr 26, 2022
1d37679
Merge branch 'main' into bp/arithmeticcoding
brianpopow Apr 28, 2022
51160a4
Merge remote-tracking branch 'origin/main' into bp/webpanimation
brianpopow Apr 28, 2022
89d1582
Add missing dispose of webpInfo
brianpopow Apr 28, 2022
cfd19ca
Merge pull request #2101 from turbedi/more_ReadOnlySpan_compiler_tricks
JimBobSquarePants Apr 28, 2022
7057245
Code cleanup, removed invalid second pass logic, marked scaled decodi…
Apr 26, 2022
bfbfdfa
Added tests for out jpeg image size getter method
Apr 30, 2022
b943f80
Restored Program.cs
Apr 30, 2022
bb82e27
Merge branch 'main' into dp/jpeg-downscaling-decode
May 1, 2022
6747339
Docs & review fixes
May 1, 2022
1aff245
Merge branch 'dp/jpeg-downscaling-decode' of https://github.com/br3ak…
May 1, 2022
f011dcc
Unsafe.Add fix
May 1, 2022
5ed690d
Merge branch 'main' into bp/arithmeticcoding
brianpopow May 1, 2022
3e7b2c9
Merge pull request #2073 from SixLabors/bp/arithmeticcoding
brianpopow May 1, 2022
3feb7f6
Merge branch 'main' of https://github.com/SixLabors/ImageSharp into d…
May 1, 2022
95c56b0
Small bug fixes, ready for merging
May 1, 2022
0661f14
Replace Array.Clear(array, 0, array.Length) calls with Array.Clear(ar…
turbedi May 1, 2022
ed86426
Updated load-resize-save benchmark, deleted obsolete benchmarks
May 1, 2022
d2bad1f
Merge pull request #2103 from turbedi/array_clear
brianpopow May 2, 2022
9f35b78
Merge branch 'main' into dp/jpeg-downscaling-decode
May 2, 2022
f74dbac
Add parsing bitmap V5 header
brianpopow May 6, 2022
fa86a04
Fix writing bitmap v4 header
brianpopow May 6, 2022
6991fd1
Read ICC profile from v5 header
brianpopow May 6, 2022
96a3c19
Setup
May 6, 2022
45dfed1
RGB debug pass encoding done
May 6, 2022
ebdf4dd
Compilation fixes
May 6, 2022
e81d973
Merge branch 'main' into bp/webpanimation
JimBobSquarePants May 7, 2022
106f6c0
Write color profile, if present
brianpopow May 7, 2022
5388489
Add color profile tests
brianpopow May 7, 2022
43c83da
Preserve color profile when encoding webp
brianpopow May 7, 2022
5bac8b3
Add test for ICCP
brianpopow May 7, 2022
2aa150c
Merge pull request #2108 from SixLabors/bp/bmp-icc
brianpopow May 7, 2022
587cec2
Merge branch 'main' into bp/webp-iccprofile
brianpopow May 7, 2022
1c474c7
Add decoding color profile chunk
brianpopow May 7, 2022
9b5d56f
Preserve color profile when encoding png's
brianpopow May 7, 2022
d645ba4
Add test for ICC profile
brianpopow May 7, 2022
35d1473
Use const color profile name
brianpopow May 7, 2022
cc9c167
Merge branch 'main' into bp/png-iccp
brianpopow May 7, 2022
0604a40
Implemented ycbcr/rgb/grayscale color converters
May 7, 2022
cad0ed0
Phase 1: prepare new encoder options API
May 8, 2022
fdb8b97
Implemented quantization and coding tables selectors
May 8, 2022
ccf664c
Implemented cmyk encoding
May 8, 2022
dfb2053
Removed precision parameter, removed YccK color space
May 8, 2022
74c9bb6
Moved color convertes to 'Components' folder
May 8, 2022
25ab5df
Implemented huffman table
May 8, 2022
ea81abc
Implemented quantization tables
May 9, 2022
fcac74b
Merge pull request #2109 from SixLabors/bp/webp-iccprofile
JimBobSquarePants May 9, 2022
8176d4b
Merge branch 'main' into bp/png-iccp
JimBobSquarePants May 9, 2022
dd3c3ec
Fixed sampling factors (hopefully)
May 9, 2022
b025d29
Apply suggestions from code review
brianpopow May 10, 2022
2dd3598
Avoid allocation, remove code duplication for decompressing zlib data
brianpopow May 10, 2022
3d31a16
Made frame configs internal
May 10, 2022
5d3dcc0
Implemented single component scan encoding
May 10, 2022
a5305ba
Removed obsolete code
May 10, 2022
7ece3dd
Quality property fix
May 10, 2022
fe5e3be
Fixed warnings, code cleanup
May 10, 2022
0c766a6
Small fixes
May 10, 2022
a83b3b6
Added avx accelerated rgb unpack method
May 11, 2022
23e3bb8
Fixed color converters
May 11, 2022
d43ec49
Use memory allocator for destination buffer for the uncomressed bytes
brianpopow May 11, 2022
a0e38c8
Use memory stream for uncompressed data instead of a list
brianpopow May 11, 2022
d6111d3
Imlemented avx accelerated subsampling
May 11, 2022
656482d
Optimization, new jpeg metadata fields
May 11, 2022
5634228
Merge pull request #2110 from SixLabors/bp/png-iccp
brianpopow May 12, 2022
399a10c
Fixed color conversion
May 14, 2022
97dc60d
Implemented non-interleaved encoding
May 14, 2022
2a8418f
Review changes
brianpopow May 15, 2022
4dd0dc9
Merge branch 'main' into bp/webpanimation
brianpopow May 15, 2022
97f200d
Refactoring, fixes, tests
May 14, 2022
8528f1a
Optimize RestoreToBackground
JimBobSquarePants May 17, 2022
980a1f0
Use bulk conversion in AlphaBlend
brianpopow May 17, 2022
c661ab1
Merge pull request #1985 from SixLabors/bp/webpanimation
brianpopow May 17, 2022
2896faf
Merge branch 'main' into dp/jpeg-downscaling-decode
brianpopow May 17, 2022
dd35b74
Used inline vectors if they are constants
gfoidl May 18, 2022
482ef61
Fixed single line comment rule violation by inserting a blank line
gfoidl May 18, 2022
e3655a9
Switched to const by MMShuffle-pattern instead of the comment approach
gfoidl May 18, 2022
831a55b
Merge branch 'main' into inline-vector-constants
gfoidl May 19, 2022
f15b336
Fix issue disposing tmp buffer too early
brianpopow May 20, 2022
233dfe1
Update Magick reference to 11.1.2
brianpopow May 20, 2022
b6e26ed
Remove invalid test image: not actually ycbcr
brianpopow May 20, 2022
9268701
Another attempt: Remove invalid test image, not actually ycbcr
brianpopow May 20, 2022
82e7ac1
Override PhotometricInterpretation to RGB, if it's YCbCr and Jpeg com…
brianpopow May 20, 2022
3f192f9
Merge branch 'main' into bp/Issue2123
brianpopow May 20, 2022
c1c4f52
If component Id's are 1-3 for a 3-channel image, then the image is as…
brianpopow May 21, 2022
89668a6
3-channel non-subsampled images are assumed to be RGB.
brianpopow May 21, 2022
afc13e0
Add test for jpeg compressed tiff, which is actually RGB colorspace
brianpopow May 21, 2022
30e4354
JFIF implies YCbCr
brianpopow May 21, 2022
44c1ad5
Use flag to indicate if JFIF marker is present (invalid markers also …
brianpopow May 21, 2022
535372d
Another attempt to get deducing jpeg color space right
brianpopow May 21, 2022
58927f3
Also set color type to rgb, when compression is jpeg
brianpopow May 22, 2022
a7bea83
Implemented YccK encoding
May 22, 2022
dd0327a
Added docs to the color sonverters
May 22, 2022
503253e
Fixed scalar YccK conversion
May 22, 2022
d652a4a
Add test case for replicating issue #2123
brianpopow May 22, 2022
e42fdd0
Change deducing color space according to review
brianpopow May 23, 2022
bc73322
Fix jpeg compressed tiff without jpeg table
brianpopow May 23, 2022
4e84800
Fallback to id color deduction for adobe marker
brianpopow May 23, 2022
c167062
Add compare to reference output for decoding tiff images with YCbCr data
brianpopow May 24, 2022
0eb411c
Merge pull request #2124 from SixLabors/bp/Issue2123
JimBobSquarePants May 26, 2022
2980c99
Merge branch 'main' into inline-vector-constants
JimBobSquarePants May 26, 2022
0b7705c
Add support for decoding tiff images with CieLab color space
brianpopow May 26, 2022
bd2b067
Undo horizontal predictor for CieLab
brianpopow May 26, 2022
485571a
Add support for decoding planar tiff with cielab colorspace
brianpopow May 26, 2022
d850aee
Add tests for CieLab
brianpopow May 26, 2022
bf4c0dc
Add CieLab to supported formats for the tiff decoder
brianpopow May 26, 2022
b6e09b5
Add support for decoding tiff with webp compressed data
brianpopow May 26, 2022
9d461fa
Add test for tiff with webp compressed data
brianpopow May 26, 2022
49dd8d4
Only execute tiff with webp test on windows
brianpopow May 26, 2022
7c8feca
Make color converter static
brianpopow May 27, 2022
9165efe
Fix build issue
brianpopow May 27, 2022
dc9bcee
Remove old frameworks
brianpopow May 29, 2022
54ff65c
Add fax4 image for benchmarks
brianpopow May 29, 2022
0cf4d91
Add InliningOptions.ShortMethod for WriteBit methods
brianpopow May 29, 2022
8459828
Use GetRowSpan to access pixel data
brianpopow May 29, 2022
c0059fc
Avoid calculating bit position multiple times
brianpopow May 29, 2022
cecd7f2
Add MethodImpl(InliningOptions.ShortMethod) for SwapColor
brianpopow May 29, 2022
0ae59fd
Avoid bounds checks in GetBit()
brianpopow May 29, 2022
dd6b4c1
Deduce color space as YCbCr if component id's are 1, 2, 3
brianpopow May 29, 2022
9d04ae4
Add test case for #2133
brianpopow May 29, 2022
07d2e79
Avoid more bounds checks
brianpopow May 29, 2022
57349fd
Avoid writing zero bit, we already have a clean buffer
brianpopow May 29, 2022
c7aaf10
Use GetRowSpan
brianpopow May 29, 2022
432c0d7
Avoid bounds checks in BlackIsZero and WhiteIsZero
brianpopow May 29, 2022
2876f2f
Use nint, determine what's white only once
brianpopow May 29, 2022
a26bfe0
Access data span only for new byte, not for every bit
brianpopow May 30, 2022
f0f08e8
Use Numerics.Modulo8
brianpopow May 30, 2022
62de458
Stream -> BufferedReadStream
brianpopow May 30, 2022
1b475ad
Merge pull request #2135 from SixLabors/bp/Issue2133
brianpopow May 30, 2022
9624661
Avoid reading all compressed data at once: instead read byte by byte …
brianpopow May 30, 2022
98b96fe
Use nint
brianpopow May 30, 2022
d5a3de1
Avoid using Dictionary's
brianpopow May 30, 2022
2675511
Merge branch 'main' into bp/Issue2132
brianpopow May 30, 2022
188b5cd
Use more nint
brianpopow May 31, 2022
29b4647
Remove no longer needed Vector4.Zero workaround for netcore2.1
brianpopow May 31, 2022
affb143
Remove no longer valid comments
brianpopow May 31, 2022
10ff24f
Loop unroll
brianpopow May 31, 2022
9930010
Merge branch 'main' into bp/cielab
brianpopow May 31, 2022
50c1aab
Use stackalloc
brianpopow May 31, 2022
8ff29a1
PackBitsTiffCompression: Use Slice.Fill to repeat the data
brianpopow Jun 1, 2022
0e60a97
Merge branch 'main' into bp/tiffwebp
brianpopow Jun 1, 2022
7434643
Remove no longer valid comment
brianpopow Jun 1, 2022
1b7f800
Minor: Another instance of use Numerics.Modulo8 instead of % 8
brianpopow Jun 2, 2022
34584b9
Add another test case for Fax4 compressed with min is black
brianpopow Jun 2, 2022
d2dbd6e
Merge branch 'main' into inline-vector-constants
brianpopow Jun 2, 2022
035c31e
Make sure 1 Bit compression is only used with 1 bit pixel type
brianpopow Jun 3, 2022
5675aa8
Fix encode tiff benchmarks
brianpopow Jun 3, 2022
3af2dd7
Multiply by inv max value instead of dividing in GeneratePalette
brianpopow Jun 3, 2022
cf86a97
Added dependabot config to keep github actions up to date.
dlemstra Jun 4, 2022
08448a9
Bump actions/checkout from 2 to 3
dependabot[bot] Jun 4, 2022
60b8157
Bump actions/setup-dotnet from 1 to 2
dependabot[bot] Jun 4, 2022
a59e0f2
Bump actions/cache from 2 to 3
dependabot[bot] Jun 4, 2022
c1bb294
Bump actions/upload-artifact from 2 to 3
dependabot[bot] Jun 4, 2022
3609507
Bump codecov/codecov-action from 1 to 3
dependabot[bot] Jun 4, 2022
943cc34
Fixed
Jun 5, 2022
ef9830f
Removed debug console log
Jun 5, 2022
e74641a
Merge branch 'main' into dp/jpeg-decoder-invalid-marker-fix
brianpopow Jun 5, 2022
e7a10b0
Merge pull request #2147 from br3aker/dp/jpeg-decoder-invalid-marker-fix
brianpopow Jun 6, 2022
d02854f
Merge branch 'main' into bp/Issue2132
brianpopow Jun 6, 2022
e3704ef
Merge branch 'main' into bp/cielab
brianpopow Jun 6, 2022
5613b3e
Merge branch 'main' into bp/tiffwebp
brianpopow Jun 7, 2022
a194b9e
Merge pull request #2134 from SixLabors/bp/Issue2132
brianpopow Jun 9, 2022
323f24e
Add test case for #2149
brianpopow Jun 12, 2022
e84100a
Fix issue #2149
brianpopow Jun 12, 2022
c934e2f
Merge pull request #2150 from SixLabors/bp/Issue2149
JimBobSquarePants Jun 13, 2022
83e28b0
Merge branch 'main' into inline-vector-constants
JimBobSquarePants Jun 14, 2022
75dc96a
Merge pull request #2122 from gfoidl/inline-vector-constants
JimBobSquarePants Jun 14, 2022
893bc20
gfoidl review, removed obsolete enum
Jun 19, 2022
d351389
Removed redundant color converters creation, updated benchmarks
Jun 19, 2022
c6d127e
Added tests for different output color types (except ycck)
Jun 19, 2022
d1df701
Added tests for non-interleaved mode
Jun 19, 2022
3330b27
assembly trimming support
ds5678 Jun 20, 2022
3f16a68
Merge branch 'main' into dp/jpeg-downscaling-decode
Jun 26, 2022
9851315
Added resizing benchmark results
Jun 26, 2022
cb3d073
Use new license file
JimBobSquarePants Jun 28, 2022
f4e3f3a
Merge remote-tracking branch 'origin/main' into bp/tiffwebp
brianpopow Jun 28, 2022
60dfd1a
Update readme
JimBobSquarePants Jul 3, 2022
c9b5e77
Fixed non-interleaved encoding with subsampling
Jul 4, 2022
3460281
Fix issue #2171: Alpha Chunk data size is not set correctly to the co…
brianpopow Jul 13, 2022
4b28eb6
Fix rle compression mistake in tga encoder.
l1nxy Jul 13, 2022
80b3367
Add test making sure compressed alpha data is smaller then image size
brianpopow Jul 13, 2022
2b9d02f
Add missing Trait Webp
brianpopow Jul 13, 2022
80d499a
Use Magick Reference Decoder for Encode_Lossy_WithAlpha_Works
brianpopow Jul 13, 2022
7d0838f
Avoid encoding the same image twice
brianpopow Jul 13, 2022
5cd294e
Print environment info on tests start
JimBobSquarePants Jul 14, 2022
7e39ef3
format LICENSE
JimBobSquarePants Jul 15, 2022
5643969
Update build-and-test.yml
JimBobSquarePants Jul 15, 2022
6f20d94
Merge pull request #2175 from SixLabors/js/test-environment-info
JimBobSquarePants Jul 15, 2022
abb6808
Merge branch 'main' into js/license
JimBobSquarePants Jul 15, 2022
46aa314
Remove bundled Apache license
JimBobSquarePants Jul 15, 2022
99439d3
Update build-and-test.yml
JimBobSquarePants Jul 15, 2022
52ad9c6
Jpeg colorspace deduction fix
Jul 16, 2022
0cc3c68
Tests
Jul 16, 2022
97baeaf
Update all files
JimBobSquarePants Jul 16, 2022
02e07ea
Update readme and issue config
JimBobSquarePants Jul 16, 2022
2c42e41
Merge pull request #2176 from SixLabors/js/license
JimBobSquarePants Jul 16, 2022
1959bf6
Always use RgbJpegSpectralConverter for decompressed jpeg data
brianpopow Jul 16, 2022
9e07ffd
Merge branch 'main' into bp/Issue2171
brianpopow Jul 16, 2022
d0de191
Merge remote-tracking branch 'upstream/main' into dp/jpeg-downscaling…
JimBobSquarePants Jul 16, 2022
7a9cf87
Fix headers
JimBobSquarePants Jul 16, 2022
1c9777e
Tiif decoding fix
Jul 16, 2022
3c19927
Merge branch 'main' into dp/jpeg-colorspace-deduction
Jul 16, 2022
95273d3
Added grayscale app14 support, build fix
Jul 16, 2022
8ca517b
Docs fix
Jul 16, 2022
e29a9e8
Merge pull request #2076 from br3aker/dp/jpeg-downscaling-decode
JimBobSquarePants Jul 17, 2022
2273f20
Merge branch 'main' into dp/jpeg-colorspace-deduction
Jul 17, 2022
b7fce3c
Merge branch 'main' into bp/tiffwebp
brianpopow Jul 17, 2022
e4e7a5b
Merge branch 'main' into bp/cielab
brianpopow Jul 17, 2022
88f106d
Fix file header copyright text
brianpopow Jul 17, 2022
a258c47
Fix file header copyright text
brianpopow Jul 17, 2022
29320a6
Merge pull request #2127 from SixLabors/bp/cielab
JimBobSquarePants Jul 18, 2022
0cde5ef
Merge branch 'main' into bp/tiffwebp
JimBobSquarePants Jul 18, 2022
d14e712
Merge branch 'main' into trim-support
JimBobSquarePants Jul 18, 2022
909df99
Merge pull request #2160 from ds5678/trim-support
JimBobSquarePants Jul 18, 2022
4aba160
Merge branch 'main' into dp/jpeg-colorspace-deduction
JimBobSquarePants Jul 18, 2022
3d3c59f
Merge pull request #2177 from br3aker/dp/jpeg-colorspace-deduction
JimBobSquarePants Jul 18, 2022
3173ad3
Merge branch 'main' into bp/tiffwebp
JimBobSquarePants Jul 18, 2022
4c822ad
Merge pull request #2128 from SixLabors/bp/tiffwebp
JimBobSquarePants Jul 18, 2022
a21c90e
Merge branch 'main' into bp/Issue2171
JimBobSquarePants Jul 18, 2022
1db6b21
Merge pull request #2173 from SixLabors/bp/Issue2171
JimBobSquarePants Jul 18, 2022
ab7f384
Merge branch 'main' into fix-tga-rle-encoder
brianpopow Jul 29, 2022
7dacf4f
Merge pull request #2172 from l1nxy/fix-tga-rle-encoder
brianpopow Jul 30, 2022
95ae124
Use DangerousGetRowSpan when run length encode image
brianpopow Jul 30, 2022
d1d6728
A little cleanup
brianpopow Jul 30, 2022
23ae060
Throw exception, if not enough data is available in the stream
brianpopow Jul 30, 2022
57c2137
Add test for legacy tga format
brianpopow Aug 2, 2022
5fff1e4
Only write RLE packet, if more then 1 equal pixel is found. Write Raw…
brianpopow Aug 2, 2022
e717332
Add test making sure not always RLE packets are written
brianpopow Aug 3, 2022
343b4af
Add another test case for #2172
brianpopow Aug 4, 2022
ffac532
Merge pull request #2197 from SixLabors/bp/tga-encoder
JimBobSquarePants Aug 6, 2022
dd504b2
Fixed spectral block border pixel padding
Aug 6, 2022
4a83e50
Merge branch 'main' into dp/jpeg-encoder-color-conversion
Aug 6, 2022
a9c7f4b
Merge fixes
Aug 6, 2022
2ee1913
shared-infrastructure
Aug 7, 2022
ade236e
Huffman table cleanup
Aug 7, 2022
7f14e34
Refactor `EnumUtils` and make it AOT-friendly.
teo-tsirpanis Aug 6, 2022
cd68d14
Make sure 1 Bit compression is only used with 1 bit pixel type.
brianpopow Aug 7, 2022
4ab4ae2
Tests, fixed interleaved decoding I messed up during main merge
Aug 7, 2022
15e19c2
Removed obsolete external images
Aug 7, 2022
d33b364
Merge pull request #2201 from SixLabors/bp/issue2179
brianpopow Aug 9, 2022
1cc618a
Merge branch 'main' into patch-1
JimBobSquarePants Aug 10, 2022
4a0a5cf
Merge pull request #2200 from teo-tsirpanis/patch-1
JimBobSquarePants Aug 10, 2022
5d4fa11
Merge branch 'main' into dp/jpeg-encoder-color-conversion
JimBobSquarePants Aug 10, 2022
13897ae
Merge pull request #2120 from br3aker/dp/jpeg-encoder-color-conversion
JimBobSquarePants Aug 11, 2022
9c7ba12
Fix IPTC tags written on jpg files that contains non-English characte…
lmerino-ep Aug 23, 2022
a58d8d5
Ignore iptc records, which are not application records when reading i…
brianpopow Aug 23, 2022
e314305
Add enum for RecordNumber
brianpopow Aug 24, 2022
65c3c44
Avoid code duplication
brianpopow Aug 24, 2022
288fb0a
Add test making sure envelope data is written, when UTF-8 data is pre…
brianpopow Aug 24, 2022
41bef5b
Review suggestions
brianpopow Aug 24, 2022
f456ba0
Merge pull request #2213 from lmerino-ep/main
brianpopow Aug 24, 2022
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ dotnet_style_coalesce_expression = true:warning
dotnet_style_null_propagation = true:warning
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning
# File header preferences
file_header_template = Copyright (c) Six Labors.\nLicensed under the Apache License, Version 2.0.
file_header_template = Copyright (c) Six Labors.\nLicensed under the Six Labors Split License.
# SA1636: File header copyright text should match
# Justification: .editorconfig supports file headers. If this is changed to a value other than "none", a stylecop.json file will need to added to the project.
# dotnet_diagnostic.SA1636.severity = none
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,4 @@
*.ppm filter=lfs diff=lfs merge=lfs -text
*.pnm filter=lfs diff=lfs merge=lfs -text
*.wbmp filter=lfs diff=lfs merge=lfs -text
*.exr filter=lfs diff=lfs merge=lfs -text
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Questions
url: https://github.com/SixLabors/ImageSharp/discussions/categories/q-a
about: Ask the community for help.
- name: Feature Request
url: https://github.com/SixLabors/ImageSharp/discussions/categories/ideas
about: Share ideas for new features for this project.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
81 changes: 34 additions & 47 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,59 +15,39 @@ jobs:
matrix:
options:
- os: ubuntu-latest
framework: net6.0
sdk: 6.0.x
sdk-preview: true
runtime: -x64
codecov: false
- os: macos-latest
framework: net6.0
sdk: 6.0.x
framework: net7.0
sdk: 7.0.x
sdk-preview: true
runtime: -x64
codecov: false
# Temp disabled due to runtime preview issues.
#- os: macos-latest
# framework: net7.0
# sdk: 7.0.x
# sdk-preview: true
# runtime: -x64
# codecov: false
- os: windows-latest
framework: net6.0
sdk: 6.0.x
framework: net7.0
sdk: 7.0.x
sdk-preview: true
runtime: -x64
codecov: false
- os: ubuntu-latest
framework: net5.0
runtime: -x64
codecov: false
- os: macos-latest
framework: net5.0
runtime: -x64
codecov: false
- os: windows-latest
framework: net5.0
runtime: -x64
codecov: false
- os: ubuntu-latest
framework: netcoreapp3.1
framework: net6.0
sdk: 6.0.x
runtime: -x64
codecov: false
- os: macos-latest
framework: netcoreapp3.1
runtime: -x64
codecov: false
- os: windows-latest
framework: netcoreapp3.1
runtime: -x64
codecov: false
- os: windows-latest
framework: netcoreapp2.1
framework: net6.0
sdk: 6.0.x
runtime: -x64
codecov: false
- os: windows-latest
framework: net472
framework: net6.0
sdk: 6.0.x
runtime: -x64
codecov: false
- os: windows-latest
framework: net472
runtime: -x86
codecov: false

runs-on: ${{matrix.options.os}}

Expand All @@ -79,7 +59,7 @@ jobs:
git config --global core.longpaths true

- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand All @@ -89,7 +69,7 @@ jobs:
run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id

- name: Git Setup LFS Cache
uses: actions/cache@v2
uses: actions/cache@v3
id: lfs-cache
with:
path: .git/lfs
Expand All @@ -102,21 +82,28 @@ jobs:
uses: NuGet/setup-nuget@v1

- name: NuGet Setup Cache
uses: actions/cache@v2
uses: actions/cache@v3
id: nuget-cache
with:
path: ~/.nuget
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props', '**/*.targets') }}
restore-keys: ${{ runner.os }}-nuget-

- name: DotNet Setup
uses: actions/setup-dotnet@v1
if: ${{ matrix.options.sdk-preview != true }}
uses: actions/setup-dotnet@v2
with:
include-prerelease: true
dotnet-version: |
6.0.x
5.0.x
3.1.x
2.1.x

- name: DotNet Setup Preview
if: ${{ matrix.options.sdk-preview == true }}
uses: actions/setup-dotnet@v2
with:
include-prerelease: true
dotnet-version: |
7.0.x

- name: DotNet Build
if: ${{ matrix.options.sdk-preview != true }}
Expand Down Expand Up @@ -149,7 +136,7 @@ jobs:
XUNIT_PATH: .\tests\ImageSharp.Tests # Required for xunit

- name: Export Failed Output
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: failure()
with:
name: actual_output_${{ runner.os }}_${{ matrix.options.framework }}${{ matrix.options.runtime }}.zip
Expand All @@ -170,7 +157,7 @@ jobs:
git config --global core.longpaths true

- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand All @@ -179,7 +166,7 @@ jobs:
uses: NuGet/setup-nuget@v1

- name: NuGet Setup Cache
uses: actions/cache@v2
uses: actions/cache@v3
id: nuget-cache
with:
path: ~/.nuget
Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
matrix:
options:
- os: ubuntu-latest
framework: netcoreapp3.1
framework: net6.0
runtime: -x64
codecov: true

Expand All @@ -24,7 +24,7 @@ jobs:
git config --global core.longpaths true

- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
Expand All @@ -34,7 +34,7 @@ jobs:
run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id

- name: Git Setup LFS Cache
uses: actions/cache@v2
uses: actions/cache@v3
id: lfs-cache
with:
path: .git/lfs
Expand All @@ -47,13 +47,19 @@ jobs:
uses: NuGet/setup-nuget@v1

- name: NuGet Setup Cache
uses: actions/cache@v2
uses: actions/cache@v3
id: nuget-cache
with:
path: ~/.nuget
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props', '**/*.targets') }}
restore-keys: ${{ runner.os }}-nuget-

- name: DotNet Setup
uses: actions/setup-dotnet@v2
with:
dotnet-version: |
6.0.x

- name: DotNet Build
shell: pwsh
run: ./ci-build.ps1 "${{matrix.options.framework}}"
Expand All @@ -68,14 +74,14 @@ jobs:
XUNIT_PATH: .\tests\ImageSharp.Tests # Required for xunit

- name: Export Failed Output
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: failure()
with:
name: actual_output_${{ runner.os }}_${{ matrix.options.framework }}${{ matrix.options.runtime }}.zip
path: tests/Images/ActualOutput/

- name: Codecov Update
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
if: matrix.options.codecov == true && startsWith(github.repository, 'SixLabors')
with:
flags: unittests
30 changes: 6 additions & 24 deletions ImageSharp.sln
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{1799
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ISSUE_TEMPLATE", "ISSUE_TEMPLATE", "{FBE8C1AD-5AEC-4514-9B64-091D8E145865}"
ProjectSection(SolutionItems) = preProject
.github\ISSUE_TEMPLATE\commercial-bug-report.md = .github\ISSUE_TEMPLATE\commercial-bug-report.md
.github\ISSUE_TEMPLATE\commercial-bug-report.yml = .github\ISSUE_TEMPLATE\commercial-bug-report.yml
.github\ISSUE_TEMPLATE\config.yml = .github\ISSUE_TEMPLATE\config.yml
.github\ISSUE_TEMPLATE\oss-bug-report.md = .github\ISSUE_TEMPLATE\oss-bug-report.md
.github\ISSUE_TEMPLATE\oss-bug-report.yml = .github\ISSUE_TEMPLATE\oss-bug-report.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{815C0625-CD3D-440F-9F80-2D83856AB7AE}"
Expand Down Expand Up @@ -648,49 +648,27 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tga", "Tga", "{5DFC394F-136
EndProjectSection
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
shared-infrastructure\src\SharedInfrastructure\SharedInfrastructure.projitems*{2aa31a1f-142c-43f4-8687-09abca4b3a26}*SharedItemsImports = 5
shared-infrastructure\src\SharedInfrastructure\SharedInfrastructure.projitems*{68a8cc40-6aed-4e96-b524-31b1158fdeea}*SharedItemsImports = 13
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug-InnerLoop|Any CPU = Debug-InnerLoop|Any CPU
Release|Any CPU = Release|Any CPU
Release-InnerLoop|Any CPU = Release-InnerLoop|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2AA31A1F-142C-43F4-8687-09ABCA4B3A26}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2AA31A1F-142C-43F4-8687-09ABCA4B3A26}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2AA31A1F-142C-43F4-8687-09ABCA4B3A26}.Debug-InnerLoop|Any CPU.ActiveCfg = Debug-InnerLoop|Any CPU
{2AA31A1F-142C-43F4-8687-09ABCA4B3A26}.Debug-InnerLoop|Any CPU.Build.0 = Debug-InnerLoop|Any CPU
{2AA31A1F-142C-43F4-8687-09ABCA4B3A26}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2AA31A1F-142C-43F4-8687-09ABCA4B3A26}.Release|Any CPU.Build.0 = Release|Any CPU
{2AA31A1F-142C-43F4-8687-09ABCA4B3A26}.Release-InnerLoop|Any CPU.ActiveCfg = Release-InnerLoop|Any CPU
{2AA31A1F-142C-43F4-8687-09ABCA4B3A26}.Release-InnerLoop|Any CPU.Build.0 = Release-InnerLoop|Any CPU
{EA3000E9-2A91-4EC4-8A68-E566DEBDC4F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EA3000E9-2A91-4EC4-8A68-E566DEBDC4F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EA3000E9-2A91-4EC4-8A68-E566DEBDC4F6}.Debug-InnerLoop|Any CPU.ActiveCfg = Debug-InnerLoop|Any CPU
{EA3000E9-2A91-4EC4-8A68-E566DEBDC4F6}.Debug-InnerLoop|Any CPU.Build.0 = Debug-InnerLoop|Any CPU
{EA3000E9-2A91-4EC4-8A68-E566DEBDC4F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EA3000E9-2A91-4EC4-8A68-E566DEBDC4F6}.Release|Any CPU.Build.0 = Release|Any CPU
{EA3000E9-2A91-4EC4-8A68-E566DEBDC4F6}.Release-InnerLoop|Any CPU.ActiveCfg = Release-InnerLoop|Any CPU
{EA3000E9-2A91-4EC4-8A68-E566DEBDC4F6}.Release-InnerLoop|Any CPU.Build.0 = Release-InnerLoop|Any CPU
{2BF743D8-2A06-412D-96D7-F448F00C5EA5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2BF743D8-2A06-412D-96D7-F448F00C5EA5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2BF743D8-2A06-412D-96D7-F448F00C5EA5}.Debug-InnerLoop|Any CPU.ActiveCfg = Debug-InnerLoop|Any CPU
{2BF743D8-2A06-412D-96D7-F448F00C5EA5}.Debug-InnerLoop|Any CPU.Build.0 = Debug-InnerLoop|Any CPU
{2BF743D8-2A06-412D-96D7-F448F00C5EA5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2BF743D8-2A06-412D-96D7-F448F00C5EA5}.Release|Any CPU.Build.0 = Release|Any CPU
{2BF743D8-2A06-412D-96D7-F448F00C5EA5}.Release-InnerLoop|Any CPU.ActiveCfg = Release-InnerLoop|Any CPU
{2BF743D8-2A06-412D-96D7-F448F00C5EA5}.Release-InnerLoop|Any CPU.Build.0 = Release-InnerLoop|Any CPU
{FC527290-2F22-432C-B77B-6E815726B02C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FC527290-2F22-432C-B77B-6E815726B02C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FC527290-2F22-432C-B77B-6E815726B02C}.Debug-InnerLoop|Any CPU.ActiveCfg = Debug-InnerLoop|Any CPU
{FC527290-2F22-432C-B77B-6E815726B02C}.Debug-InnerLoop|Any CPU.Build.0 = Debug-InnerLoop|Any CPU
{FC527290-2F22-432C-B77B-6E815726B02C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FC527290-2F22-432C-B77B-6E815726B02C}.Release|Any CPU.Build.0 = Release|Any CPU
{FC527290-2F22-432C-B77B-6E815726B02C}.Release-InnerLoop|Any CPU.ActiveCfg = Release-InnerLoop|Any CPU
{FC527290-2F22-432C-B77B-6E815726B02C}.Release-InnerLoop|Any CPU.Build.0 = Release-InnerLoop|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -725,6 +703,10 @@ Global
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {5F8B9D1F-CD8B-4CC5-8216-D531E25BD795}
EndGlobalSection
GlobalSection(SharedMSBuildProjectFiles) = preSolution
shared-infrastructure\src\SharedInfrastructure\SharedInfrastructure.projitems*{2aa31a1f-142c-43f4-8687-09abca4b3a26}*SharedItemsImports = 5
shared-infrastructure\src\SharedInfrastructure\SharedInfrastructure.projitems*{68a8cc40-6aed-4e96-b524-31b1158fdeea}*SharedItemsImports = 13
EndGlobalSection
GlobalSection(Performance) = preSolution
HasPerformanceSessions = true
EndGlobalSection
Expand Down
Loading