Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,9 @@ csharp_space_between_square_brackets = false
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/formatting-rules#wrap-options
csharp_preserve_single_line_statements = false
csharp_preserve_single_line_blocks = true
# Namespace options
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/formatting-rules#namespace-options
csharp_style_namespace_declarations = file_scoped:warning

##########################################
# .NET Naming Rules
Expand Down Expand Up @@ -452,4 +455,4 @@ dotnet_naming_rule.parameters_rule.severity = warning
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
##########################################
##########################################
4 changes: 4 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# file-scoped namespaces and global usings
5528a2923ccc63d776c91994b0b17a2c3ad5be94
d14c82023fc01a6fca99c42212cb3c97991fae9e
0e9a066195a100ae56b4ca49cee9927fb15e1482
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ To clone ImageSharp locally, click the "Clone in [YOUR_OS]" button above or run
git clone https://github.com/SixLabors/ImageSharp
```

Then set the following config to ensure blame commands ignore mass reformatting commits.

```bash
git config blame.ignoreRevsFile .git-blame-ignore-revs
```

If working with Windows please ensure that you have enabled long file paths in git (run as Administrator).

```bash
Expand Down
11 changes: 11 additions & 0 deletions SixLabors.ImageSharp.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>

<!--Add common namespaces to implicit global usings if enabled.-->
<ItemGroup Condition="'$(ImplicitUsings)'=='enable' OR '$(ImplicitUsings)'=='true'">
<Using Include="SixLabors.ImageSharp" />
<Using Include="SixLabors.ImageSharp.PixelFormats" />
<Using Include="SixLabors.ImageSharp.Processing" />
</ItemGroup>

</Project>
306 changes: 150 additions & 156 deletions src/ImageSharp/Advanced/AdvancedImageExtensions.cs

Large diffs are not rendered by default.

Loading