Skip to content

Reference ImageSharp V2 preview #201

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

Merged
merged 2 commits into from
Jan 17, 2022
Merged

Reference ImageSharp V2 preview #201

merged 2 commits into from
Jan 17, 2022

Conversation

JimBobSquarePants
Copy link
Member

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following matches the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules 👮.
  • I have provided test coverage for my change (where applicable)

Description

Add a reference to the ImageSharp V2 preview so we can dogfood changes. Bumps Major version to V2 due to breaking changes

@codecov
Copy link

codecov bot commented Jan 17, 2022

Codecov Report

Merging #201 (1ad3a05) into master (a248033) will increase coverage by 0.25%.
The diff coverage is 97.05%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #201      +/-   ##
==========================================
+ Coverage   85.28%   85.53%   +0.25%     
==========================================
  Files          54       54              
  Lines        1529     1549      +20     
  Branches      228      231       +3     
==========================================
+ Hits         1304     1325      +21     
+ Misses        169      167       -2     
- Partials       56       57       +1     
Flag Coverage Δ
unittests 85.53% <97.05%> (+0.25%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...c/ImageSharp.Web/Processors/QualityWebProcessor.cs 96.96% <96.96%> (ø)
...DependencyInjection/ServiceCollectionExtensions.cs 100.00% <100.00%> (ø)
.../Synchronization/RefCountedConcurrentDictionary.cs 76.00% <0.00%> (+4.00%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a248033...1ad3a05. Read the comment docs.

Copy link
Member

@antonfirsov antonfirsov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.


if (image.Format is JpegFormat)
{
var reference =
Copy link
Member

@antonfirsov antonfirsov Jan 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Absolutely minor idea, but maybe we can shall make the codecs deep-cloneable one day. It's a good community-contribution candidate.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking the exact same thing while I was writing this! 😆

@JimBobSquarePants JimBobSquarePants merged commit b762e04 into master Jan 17, 2022
@JimBobSquarePants JimBobSquarePants deleted the js/version-bump branch January 17, 2022 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants