Comments (5)
Hello everyone,
since the previously mentioned issue isn't going to happen (here), I was curious if this is still considered.
I had to make a big batch of screenshots (PNG) for documentation purposes and it went down from 340 MB to 37 MB when converting them to AVIF via command line.
Tried JPEG as well, but it didn't come even close.
This is why I would really love to be able to save it as AVIF directly without any manual steps.
I know that the reason for the absence was the missing C#/.NET support to export it in that format.
Has anything changed in those two and a half years?
Are there approaches / libraries which are acceptable now? (I have seen some things, but they call to native binaries under the hood)
Kind regards, BMC
from greenshot.
We need to wait for a .NET implementation of an encoded & decoder for this file format.
I'm not so good at mathematics that I would be able to pull that off without spending the next months 24x7 on something like that. From my point of view is not a direct need for this, I don't see a huge benefit when this would be implemented, thus the priority is low.
As soon as there is something here, we can have a look if that can be integrated:
https://www.nuget.org/packages?q=avif
Besides, avif soons like a video, not primary aimed at single images.
from greenshot.
libavif tagged a new release, 0.1.3. See Colorist for an example implementation.
from greenshot.
That is cool, but libavif is a c-library (unmanaged) , and Greenshot is made with C# (managed), mixing this is certainly possible but brings a lot of issues. I currently don't have the time to port C to C# or write a wrapper. It doesn't matter how many releases there are 😉
I could modify Greenshot to have a way to bring new file formats to it, this is something which is on my list anyway. This way someone can build an add-on to extend Greenshot with this format. One only has to implement the interface and call libavif for reading raw image data into memory to create a Greenshot bitmap and calling libavif to write the raw image data from memory.
from greenshot.
The following seems to add avif for paint.net https://github.com/0xC0000054/pdn-avif i created a issue asking if they could create a nuget package from it so that we can use avif in normal c# code. (Its a wrapper around the dlls so its not a native implementation)
from greenshot.
Related Issues (20)
- GreenshotOCR.exe Beacon?
- Security concern HOT 4
- Vulnerability CVE-2023-34634 HOT 12
- Does Greenshot use GhostScript? HOT 1
- Was wondering if the documentation to be updated for windows 11. HOT 1
- Apple Silicon M2 Pro: Greenshot not starting HOT 1
- How to take a screenshot from the command line
- [for new users] All security related issue to be aware currently HOT 5
- Drawing on an image shows a black box HOT 2
- Mac OS options (that already exist in windows version) HOT 1
- update ?
- /CLOSEAPPLICATIONS and /FORCECLOSEAPPLICATIONS both produce an interactive prompt on a /VERYSILENT install HOT 1
- Greenshots Capture Window wants to captures the entire desktop instead of a smaller application HOT 1
- Publication: Next Stable Version HOT 7
- Problem to copy into clipboard
- Settings Fonz size to big / does not scale
- Output location different for fullscreen/window
- Close running application automagically when uninstalling
- Greenshot running on .NET 8
- Flickr not supported greenshot default browser
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 greenshot.