Comments (5)
@tidyui I have raised an issue over at ImageSharp and they have referenced a couple of other issues that seem to resolve the issue. Is there something that needs to be done like defining the encoding configuration?
from piranha.core.
Could you try asking the same question at the https://github.com/SixLabors/ImageSharp repo as we have no control over what happens inside the actual image processing. The current version of Piranha uses the latest released version of ImageSharp (2.1.3
) but maybe there is a bug on their side related to this.
If you open an issue there, please reference this issue and make sure to include the code that seems to do the faulty processing, i.e:
using (var image = Image.Load(source, out IImageFormat format))
{
image.Mutate(x => x.AutoOrient());
image.Save(dest, format);
}
A workaround would be to remove the default registration in App.MediaTypes.Images
and add it back with image processing disable with
App.MediaTypes.Images.Add(".webp", "image/webp", false);
from piranha.core.
from piranha.core.
Hi there! As far as I know this bug has been fixed in ImageSharp 3.x
, which has a different licensing model. We will need to look into if this model can be used from an open source library without impacting users of the library.
Best regards
from piranha.core.
Sounds like this was the bug with lossless encoding (since no quality was specified when saving). It was backported to 2.x in https://github.com/SixLabors/ImageSharp/releases/tag/v2.1.4 so just updating to that (or rather 2.1.6 which has some security fixes as well) should solve this.
from piranha.core.
Related Issues (20)
- Set Alternate Start Page HOT 1
- Comment hierarchy
- Upgrade TinyMCE to 6.7.0? HOT 1
- Extend user information
- Method not found error on running migration HOT 1
- Upgrade to .NET 8 HOT 2
- Remove support for Summernote
- Remove support for SimpleSecurity
- Remove support for SimpleCache
- Make sure internal implementations isn't public
- Remove support for Azure.Search
- Validation for a NumberField within the manager
- Private Blob Storage and Managed Identity doesn't work. HOT 1
- Alias service causes excessive cache usage
- PrimaryImage with null Media in ISearch.SavePostAsync HOT 2
- Sitemap generation using http HOT 1
- Configuration for static file middleware HOT 1
- Caching breaks ContentService HOT 1
- HtmlField TinyMCE editor not working in custom region HOT 3
- Piranha.Extend.Blocks.HtmlColumnBlock - Piranha Version 11.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from piranha.core.