Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

j-a-x

macrumors 68000
Original poster
Apr 15, 2005
1,566
285
Houston, Texas
Does anybody know how HEIF compares to JPEG in terms of image quality? I know HEIF files are much smaller but i don't know much about how the compression compares to JPEG in terms of quality. If I use HEIF in iOS11 and email out jpegs to people, will they look as good as taking JPEGs to start with? Is anything lost in the HEIF to JPEG conversion?.
 

T-Bob

macrumors 6502a
Oct 23, 2013
676
365
Very good question. Would need careful comparison between both formats taken on the phone. Already using it here, but not tried comparing.
 

TL24

macrumors 65816
Oct 20, 2011
1,429
1,315
I would have made a nice comparison but reverted back to 10.3.3 B3 due to the overall bugs in 11 b1. Might jump back in once b2 comes around and will do a comparison then.
 

j-a-x

macrumors 68000
Original poster
Apr 15, 2005
1,566
285
Houston, Texas
I would have made a nice comparison but reverted back to 10.3.3 B3 due to the overall bugs in 11 b1. Might jump back in once b2 comes around and will do a comparison then.
I might do one. Does that violate my developer agreement? I was also interested in hearing from anyone who understands the technical aspects of the two compression formats who might be able to explain their strengths and weaknesses.
[doublepost=1497636206][/doublepost]I just found this:
http://nokiatech.github.io/heif/comparison.html

Look at the mountain, specifically where the mountain edge meets the horizon. The HEIF definitely looks better in this example but I'm not sure what quality settings both of these use. Still, it's impressive to see a smaller file being better quality.

download.png

HEIF

download (1).png

JPEG
 

TL24

macrumors 65816
Oct 20, 2011
1,429
1,315
I might do one. Does that violate my developer agreement? I was also interested in hearing from anyone who understands the technical aspects of the two compression formats who might be able to explain their strengths and weaknesses.
[doublepost=1497636206][/doublepost]I just found this:
http://nokiatech.github.io/heif/comparison.html

Look at the mountain, specifically where the mountain edge meets the horizon. The HEIF definitely looks better in this example but I'm not sure what quality settings both of these use. Still, it's impressive to see a smaller file being better quality.

View attachment 704360
HEIF

View attachment 704361
JPEG

Excellent, thanks for posting this comparison! Now I really want to jump back on the iOS 11 bandwagon LOL
 

Wildhope

macrumors regular
Feb 6, 2017
111
104
NY
I might do one. Does that violate my developer agreement? I was also interested in hearing from anyone who understands the technical aspects of the two compression formats who might be able to explain their strengths and weaknesses.
[doublepost=1497636206][/doublepost]I just found this:
http://nokiatech.github.io/heif/comparison.html

Look at the mountain, specifically where the mountain edge meets the horizon. The HEIF definitely looks better in this example but I'm not sure what quality settings both of these use. Still, it's impressive to see a smaller file being better quality.

View attachment 704360
HEIF

View attachment 704361
JPEG
wow this is impressive
 

Superhai

macrumors 6502a
Apr 21, 2010
730
567
I converted a photo to HEIF and JPEG with various qualities, and it is quite clear that the compression from HEVC is superior to JPEG for high resolution photographs. At least subjectively. I have not done a detailed objective analysis.
Here are the photo and its variants (©2009 Keith Cooper northlight-images.co.uk)

https://www.dropbox.com/s/7o04853f5krchr7/_MG_2854_HEIF-TEST.zip?dl=0

The JPEG files have file-Jxxx-y.jpg where xxx is the "percent" quality in the save setting (100 is best), and y is the bit.
For the HEIF files it is file-HCRFxx-y.heic and xx is the CRF value (0 is highest quality) from the X265 codec and y is the bit.
The original file is the 16 bit TIFF.

Maybe another photos would create different outcomes, but it was the first usable I found when searching. About the bit 8 = yuv420p and 10 = yuv420p10.
I used Apple Preview to save the JPEG so I there maybe better software which compresses better.
 
  • Like
Reactions: luchid

jhfenton

macrumors 65816
Dec 11, 2012
1,179
806
Cincinnati, Ohio
It seems to convert to jepg by default when you share. Actually I’m not sure how to share the raw HEIF file.
If you want the HEIC files, you can download them from iCloud.com. I've downloaded a few taken with my iPhone 7 on iOS 11 DP1. Sharing them to any non-iOS 11 device or non-High Sierra Mac is going to give you a JPEG.
 

j-a-x

macrumors 68000
Original poster
Apr 15, 2005
1,566
285
Houston, Texas
If you want the HEIC files, you can download them from iCloud.com. I've downloaded a few taken with my iPhone 7 on iOS 11 DP1. Sharing them to any non-iOS 11 device or non-High Sierra Mac is going to give you a JPEG.

So downloaded from the Web version of iCloud Photo Library?

I’d like to send one to s fellow iOS 11 user as a test but sadly I don’t know any.
 

jhfenton

macrumors 65816
Dec 11, 2012
1,179
806
Cincinnati, Ohio
So downloaded from the Web version of iCloud Photo Library?

I’d like to send one to s fellow iOS 11 user as a test but sadly I don’t know any.
Yes. Downloaded from the web version of iCloud.com Photos to Windows or Mac. If you click on the download icon, it downloads them in their native HEIC format. If you Share them from web Photos, you can mail them or post them to Facebook as JPEGs, the same as from an iOS 11 device.

I haven't found any Windows or MacOS applications that can open the HEIC photos yet. But I wanted a few samples to play with.
 

ianrip

macrumors 6502
Yes. Downloaded from the web version of iCloud.com Photos to Windows or Mac. If you click on the download icon, it downloads them in their native HEIC format. If you Share them from web Photos, you can mail them or post them to Facebook as JPEGs, the same as from an iOS 11 device.

I haven't found any Windows or MacOS applications that can open the HEIC photos yet. But I wanted a few samples to play with.

same here, I've downloaded some pictures from my icloud, but they're HEIC, and i can't seem to find an program to open them using my works PC, we're on windows 7.
I dont want to email them every single time.
any ideas?
 

jhfenton

macrumors 65816
Dec 11, 2012
1,179
806
Cincinnati, Ohio
same here, I've downloaded some pictures from my icloud, but they're HEIC, and i can't seem to find an program to open them using my works PC, we're on windows 7.
I dont want to email them every single time.
any ideas?
No. Until applications are updated to open them, you'll have to rely on Apple's internal sharing routines. (You can right-click on the displayed photo in web iCloud and save it to your computer as a PNG, because iCloud.com displays the photos to web browsers as a PNG. But I prefer the email routine to that.)
 
  • Like
Reactions: ianrip

j-a-x

macrumors 68000
Original poster
Apr 15, 2005
1,566
285
Houston, Texas
No. Until applications are updated to open them, you'll have to rely on Apple's internal sharing routines. (You can right-click on the displayed photo in web iCloud and save it to your computer as a PNG, because iCloud.com displays the photos to web browsers as a PNG. But I prefer the email routine to that.)

I’ve noticed that all iOS apps can open HEIFs. I’m assuming that the NSImage object definition has been updated to support HEIF so apps know how to open them natively without being recompiled. Either that or the OS knows to convert to JPEG on the fly when necessary. Either way it’s pretty cool.
 
  • Like
Reactions: jhfenton
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.