Comments (3)
The image is 800x600px. The "Very Slow" preset workaround worked, thanks! I tested all presets, only the "Fast" one has that error in FF.
That confirms that it is the same Firefox bug I mentioned in my previous post.
I also opened a bug on Bugzilla, so hopefully this can also be fixed on Firefox' side.
Could you post a link in that issue to: https://bugzilla.mozilla.org/show_bug.cgi?id=1696090
Your issue is a duplicate of that one.
from pdn-avif.
What are the dimensions of the image you are trying to save?
I believe this is an issue with PDN because Firefox can load other AVIF images just fine.
I suspect it is an existing bug in Firefox's AVIF support, Firefox does not support loading AVIF files that use an image grid.
As a workaround, you can save the image using the Very Slow compression preset.
This Paint.NET plugin uses an image grid to reduce memory usage and improve UI responsiveness when encoding AVIF images.
The AVIF validator spits out multiple warnings about tile widths and heights that they should be multiples of 64.
I was unaware of that tile size recommendation. It appears that libavif also ignores it when creating grid images:
// The priority could be to use a cell size that is a multiple of 64, but there is not always a valid one,
// even though it is recommended by MIAF. Just use ceil(numPixels/numCells) for simplicity and to avoid
// as much padding in the right-most and bottom-most cells as possible.
from pdn-avif.
The image is 800x600px. The "Very Slow" preset workaround worked, thanks! I tested all presets, only the "Fast" one has that error in FF.
I also opened a bug on Bugzilla, so hopefully this can also be fixed on Firefox' side.
Thanks again!
from pdn-avif.
Related Issues (20)
- Saving at 100% quality produces corrupted colors (in some other apps) HOT 8
- Label for Quality is in the wrong place
- Access Violation in CompressImage() (v1.0.5.0) HOT 7
- Error when saving file with 4:4:4 Chrome Subsampling, 4:2:2 went OK. pdn-avif v1.1.0
- Support cancellation when saving HOT 6
- Any chance you could create a nuget package just for loading and saving avif images? HOT 1
- ARM64 build of native dll? HOT 3
- Crash / failure with latest version bundled with PDN 4.2.15
- Very large AVIF saving is unresponsive HOT 2
- Investigate changing the compression quality behavior to match libavif and libheif
- Paint.net 5 - preview of the file size for avif file - wrong calculation (preview e.g. 170 KB - saved file 189 KB) HOT 1
- AVIF file - incompatible with Android 12 or newer HOT 1
- Some AVIFs cannot be opened in Firefox HOT 10
- Allow the Fast, Medium and Slow presets to disable the automatic image grid (tiling) HOT 4
- Plugin requires Core 7 - why? HOT 1
- Update readme after bundling HOT 2
- Use IAvifFileTypeString for loading strings
- Add Forum Discussion and GitHub links to the UI
- Consider changing default compression speed to 'Fast' 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 pdn-avif.