Coder Social home page Coder Social logo

Comments (8)

nekohayo avatar nekohayo commented on June 20, 2024 4

We can simplify this list quite a bit:

  • There is no reason to implement FLIF support anymore because it has been replaced by FUIF and then JPEG XL (all three are from the same main authors).
  • Likewise, PNG is as good as useless when JPEG XL can do lossless 30 to 40% more efficiently.
  • WebP destroys image quality (doesn't even support proper color spaces etc.) and is marginally better than traditional JPEG in the form of MozJPEG, and is again made obsolete by JPEG XL (or, if you really must, AVIF).

It is no surprise that in #45 I am in favor of JPEG XL as the prime format for camera apps. It just beats everything else out there, probably the only thing it doesn't replace is raw formats (but even then, I'm not entirely sure).

from librecamera.

starsforeveryone avatar starsforeveryone commented on June 20, 2024 3

I would very much like to see the new open-source and royalty-free codecs AV1 (for video) and AVIF (for pictures) supported!

They will most likely become the new industry standard, with hardware acceleration present in modern hardware already.

Would love to see it supported so I can save loads of storage space on my phone!

I've just asked the guys on Flutter to please add support for it.
(Link to issue there: flutter/flutter#61229 (comment))

Would you be so kind as to implement it, too, then?

from librecamera.

iakmds avatar iakmds commented on June 20, 2024 2

@starsforeveryone Sure, I would

from librecamera.

iakmds avatar iakmds commented on June 20, 2024 1

Hey Emanuel,

thanks for the ideas. I will add the ability to choose between JPEG/JPG (default), PNG and WebP in the coming version. As for your other ideas:

  1. Multiple outputs for the same image: I could add that in the coming versions
  2. RAW, lossless and lossy modes with multiple formats to choose from: This would be great, however I am quite limited by the abilities of the Flutter camera. I could imagine to add the RAW format, once it gets implemented (see the Flutter Issue)
  3. A triangle would suit this notion better than the quality bar: Because there are not many "big" formats currently supported I will probably leave it as it is right now, as it seems to be simpler for the end user who chooses between quality and file size

Hope you are okay with this. I will leave the issue open as ideas for the future.

from librecamera.

EmanuelLoos avatar EmanuelLoos commented on June 20, 2024 1

@nekohayo: I tend to disagree. It is not pointless to also support (some) older standards. To my knowledge AOSP does not even support JPEG XL on the system level yet. Including older codecs as well provides backwards compatibility while keeping the quality as good and the file size as small as possible which makes for a better user experience. PNG is not useless as long as long as quite some software supports PNG and not JPEG XL. LibreOffice for example just added WebP support, no AVIF, no JPEG XL. It does not even allow you to save documents with WebP images yet but converts all embedded WebPs to PNGs upon saving.

from librecamera.

emmatebibyte avatar emmatebibyte commented on June 20, 2024 1

It would be cool to have QOI support, if that were possible.

from librecamera.

G-i-o avatar G-i-o commented on June 20, 2024 1

Very much second this comment about AV1 and AVIF formats for video and camera.

Currently, just a few mins of good quality video or a good quality pic occupy a relatively big amount of data space but with the above formats I notice reductions up to 10x without visible quality loss to the layperson.

Looking forward to this.

Otherwise, great work. Keep it up! 👍

from librecamera.

Pantyhose-X avatar Pantyhose-X commented on June 20, 2024

And free audio codecs:

from librecamera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.