this post was submitted on 26 Jul 2023
34 points (85.4% liked)

No Stupid Questions

35913 readers
1408 users here now

No such thing. Ask away!

!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must be legitimate questions. All post titles must include a question.

All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.



Rule 2- Your question subject cannot be illegal or NSFW material.

Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding META posts and joke questions.

Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.

On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.

If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.



Rule 7- You can't intentionally annoy, mock, or harass other members.

If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here.



Credits

Our breathtaking icon was bestowed upon us by @Cevilia!

The greatest banner of all time: by @TheOneWithTheHair!

founded 1 year ago
MODERATORS
 

There are more efficient formats like JPEG-XL, HEIF and WebP. If you convert the RAW -> JPEG -> WebP you are losing more quality. I think iPhone uses HEIF format.

Related https://lemm.ee/post/2052205

top 24 comments
sorted by: hot top controversial new old
[–] over_clox 56 points 1 year ago (2 children)

Likely because almost every electronic device and software under the sun is JPEG compatible.

[–] [email protected] 11 points 1 year ago

This is the answer. All of those other formats have a much smaller ecosystem than just regular JPEG.

[–] huojtkeg 6 points 1 year ago* (last edited 1 year ago) (3 children)

But they could give you an option to change it. For example, in my OnePlus I can choose video in h264 or h265 format. Photo there is no option, just JPEG.

[–] Tangent 11 points 1 year ago

The overlap between "cares enough about image quality to not be okay with jpeg" and "doesn't know to install a third party app" is probably too small for most manufacturers to care about.

[–] zaph 8 points 1 year ago

That's a oneplus problem. Pixel devices have the option to change photo formats. You can download the default Google camera from the playstore iirc

[–] over_clox 1 points 1 year ago

I hear ya there, never hurts to have options.

[–] [email protected] 11 points 1 year ago

Mine has a choice of picking Raw, JPEG or HEIF, probably just a vendor dependent feature difference

[–] [email protected] 7 points 1 year ago (1 children)

Good luck using JPEG-XL, HEIF and WebP on any projects, such as video editing, presentations, photo editing and sharing with friends.

[–] [email protected] 1 points 1 year ago

I tried to post a meme in JPEG-XL on lemmy, and my browser wouldn't show it :(

[–] yourdogsnipples 7 points 1 year ago (1 children)

My Samsung has the option to save as HEIF. When I want to share that photo, my phone shares the HEIF file which isn't commonly supported.

An iPhone also saves as HEIF - however, it automatically converts to jpeg when you share. Much smarter, more seamless.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

In some scenarios the iPhone will ask you (which is good) whether you want to share the photo as is or convert it to jpeg like yesterday when I tried to send a photo on telegram as a file to avoid the unwanted recompression

[–] caesar_salad83 5 points 1 year ago (1 children)

I'm not an expert, but I have some related experience. could be that what I know is only true to a specific case, so if someone has a different answer, if doesn't necessarily conflict. With that out of the way...

Pictures aren't magically turn into a specific format, something has to do the work - getting the data from the sensor, compress it, add meta data, maybe do some other processing and pass it on to be saved.

Somebody has to make it happen. you can either pay some person in company to learn the documentation and implement it (write the code). this cost the time of development and maybe some license or support fee. The other way is to buy IP (intellectual property). basically this means buying the code to do the work then imbed it in the project. this, of course, cost money.

A company developing a new phone needs to balance the cost of implementing a solution - what is most convenient for the end users, what do they need, what do they want, what is the demand for new features and how much does is cost to implement. maybe they already have the code for something similar and only need to do small modifications and integration.

Now I bet JPEG is the cheapest, probably tons of IPs floating around, older implementations are a certainly for big companies. users know it and it just works for them 99.9% of the time.

Basically, why do something new if the old works and potentially cost more money to do.

[–] huojtkeg 1 points 1 year ago (1 children)

All 3 formats I mentioned are free to use and there are free and open source libraries to do the conversion.

[–] caesar_salad83 0 points 1 year ago (1 children)

Open source libraries doesn't mean it's free.

Firstly, even open source can have commercial licensing and can be free only for non-commercial use.

Secondly, the process of producing an image from the sensor isn't a straight forward process, the compression and containerization is only one part. In order to get the final picture all sort of processing is needed, all needs to be tweaked and integrated to work together. dropping some rando library (even if compatible with the hardware) in the middle of that isn't some plug and play affair.

Lastly, while a format or a standard is free to use, the algorithms and code can be subject to patents and additional licenses. In the case of HEIF, as I understand it, it's just a container format. it is based HVEC, and that has a long list of patents behind it.

To quote this article

If there’s one major downside to both HEVC and HEIF, it’s that they’re covered by patents that may need to be licensed for use in various apps and services. While this was also the case for the h.264 codec, the HEVC codecs cost more. And per usual in the tech world, the needs served by HEVC and HEIF are also covered by other, competing standards, many of them freely available.

[–] huojtkeg 1 points 1 year ago

You are rigth about HEIF, but most electronic devices already pay for the license to encode/decode HEVC.

The camera sensor returns raw images, then there is post-processong and the last step is encoding. There are no technical limitations and it's not hard to implement another image format. As other users commented, Google Pixel phones and some apps in Google Play already does. Btw I'm electronic + software engineer.

My conclusion is even if the new formats are better, JPEG is more compatible and good enough for most users. Some brands take care of power users and others don't. I'm a bit disappointed with OnePlus camera software.

[–] [email protected] 5 points 1 year ago (1 children)

Mine has like sixteen different options, including several lossless options.

[–] over_clox 1 points 1 year ago (1 children)

Curious, what device and what app(s) do you use?

[–] [email protected] 2 points 1 year ago (1 children)

The default camera app on the Blackview 9900.

[–] [email protected] 2 points 1 year ago

Very interesting

[–] [email protected] 3 points 1 year ago (1 children)

Because I can't get HEIF photos to show up in Word for a report.

[–] zebs 1 points 1 year ago (1 children)

You probably need to install the codec from the Windows Store

[–] [email protected] 2 points 1 year ago (1 children)

And am I supposed to have that conversation with everyone that gets sent a PDF of my report?

[–] zebs 1 points 1 year ago

Once it's been saved as a PDF you won't need the HEIC codecs

[–] RIP_Cheems 1 points 1 year ago

Because that's the way it was designed. And yes., it can be a pain sometimes sending photos and videos, but I will never consider buying an iphone.