Jump to content

New universal codec, Basis, may replace JPEG

Graham42

Binomial has been working on a universal compressed texture format and is partnering with Google to open source it as a Khronos standard.

 

Quote

The Basis Universal texture format is 6-8 times smaller than JPEG on the GPU, yet is a similar storage size as JPEG

Having a universal standard is a huge boon to developers because they can take advantage of GPU performance without the overhead of all the different GPU formats. Adopting the format should help with mobile game performance, but is also applicable to other platforms too.

Honestly I don't understand enough of it but it looks like this is possibly the successor to JPEG down the road.

Sources: 
Binomial Twitter - Lots of news posts related to the release being reshared here

Google Open Source Blog Post

Hacker news comment on the benefits of compressed textures

Update: Here's a video dives in and explains this better than what I originally understood. 

 

Edited by Graham42
Add additional video link
Link to comment
Share on other sites

Link to post
Share on other sites

Please make the extension .bs

because I want to save Final.bs
and upload Final.bs

 

And above all, give the .bs to the client !

 

Quote

The client demands all the .bs !

 

~New~  BoomBerryPi project !  ~New~


new build log : http://linustechtips.com/main/topic/533392-build-log-the-scrap-simulator-x/?p=7078757 (5 screen flight sim for 620$ CAD)LTT Web Challenge is back ! go here  :  http://linustechtips.com/main/topic/448184-ltt-web-challenge-3-v21/#entry601004

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, givingtnt said:

Please make the extension .bs

because I want to save Final.bs
and upload Final.bs

Totallynotbs.bs

The ability to google properly is a skill of its own. 

Link to comment
Share on other sites

Link to post
Share on other sites

This seems relevant

 

standards.png

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, Dan Castellaneta said:

But will it allow transparency and better compression than JPEG like how game textures make use of lossy compression and an alpha channel?

Sounds like you want PNG

Link to comment
Share on other sites

Link to post
Share on other sites

19 minutes ago, Master Disaster said:

This seems relevant

 

standards.png

In this case thought he aim is not to make a universal standard, but to make a better alternative and have it an open standard.   The claims it might replace JPEG is because it is better not specifically because it is open per se.

Grammar and spelling is not indicative of intelligence/knowledge.  Not having the same opinion does not always mean lack of understanding.  

Link to comment
Share on other sites

Link to post
Share on other sites

48 minutes ago, Dan Castellaneta said:

But will it allow transparency and better compression than JPEG like how game textures make use of lossy compression and an alpha channel?

.png bro

Laptop: 2019 16" MacBook Pro i7, 512GB, 5300M 4GB, 16GB DDR4 | Phone: iPhone 13 Pro Max 128GB | Wearables: Apple Watch SE | Car: 2007 Ford Taurus SE | CPU: R7 5700X | Mobo: ASRock B450M Pro4 | RAM: 32GB 3200 | GPU: ASRock RX 5700 8GB | Case: Apple PowerMac G5 | OS: Win 11 | Storage: 1TB Crucial P3 NVME SSD, 1TB PNY CS900, & 4TB WD Blue HDD | PSU: Be Quiet! Pure Power 11 600W | Display: LG 27GL83A-B 1440p @ 144Hz, Dell S2719DGF 1440p @144Hz | Cooling: Wraith Prism | Keyboard: G610 Orion Cherry MX Brown | Mouse: G305 | Audio: Audio Technica ATH-M50X & Blue Snowball | Server: 2018 Core i3 Mac mini, 128GB SSD, Intel UHD 630, 16GB DDR4 | Storage: OWC Mercury Elite Pro Quad (6TB WD Blue HDD, 12TB Seagate Barracuda, 1TB Crucial SSD, 2TB Seagate Barracuda HDD)
Link to comment
Share on other sites

Link to post
Share on other sites

Nothing is wrong with .jpg. Do we really need another standard?

Laptop: 2019 16" MacBook Pro i7, 512GB, 5300M 4GB, 16GB DDR4 | Phone: iPhone 13 Pro Max 128GB | Wearables: Apple Watch SE | Car: 2007 Ford Taurus SE | CPU: R7 5700X | Mobo: ASRock B450M Pro4 | RAM: 32GB 3200 | GPU: ASRock RX 5700 8GB | Case: Apple PowerMac G5 | OS: Win 11 | Storage: 1TB Crucial P3 NVME SSD, 1TB PNY CS900, & 4TB WD Blue HDD | PSU: Be Quiet! Pure Power 11 600W | Display: LG 27GL83A-B 1440p @ 144Hz, Dell S2719DGF 1440p @144Hz | Cooling: Wraith Prism | Keyboard: G610 Orion Cherry MX Brown | Mouse: G305 | Audio: Audio Technica ATH-M50X & Blue Snowball | Server: 2018 Core i3 Mac mini, 128GB SSD, Intel UHD 630, 16GB DDR4 | Storage: OWC Mercury Elite Pro Quad (6TB WD Blue HDD, 12TB Seagate Barracuda, 1TB Crucial SSD, 2TB Seagate Barracuda HDD)
Link to comment
Share on other sites

Link to post
Share on other sites

As a developer I would love to see a real "standard", not just "another standard".

If this thing can replace all the other crap, without sacrificing quality, I would be all over it. Right now, it is kind of standard to support like half a dozen or more formats. Would really help to have the one to rule them all.

Link to comment
Share on other sites

Link to post
Share on other sites

I don't think it's that accurate to say it will replace jpeg. This seems to be specifically for textures, not really regular images you take with your phone, or memes or whatnot. So while it will may replace jpeg inside games, I doubt we will see it everywhere.

 

 

20 minutes ago, DrMacintosh said:

Nothing is wrong with .jpg. Do we really need another standard?

There are a ton of things wrong with .jpg.

Old and inefficient.

Lacks a ton of features which would be useful (like animations or lossless mode).

There have been some patent issues with it.

Clearly visible macro blocks at higher compression levels.

Completely butchers text.

 

Apple doesn't even use jpeg for the images captured by iPhones anymore.

 

 

.jpeg is most likely on its way to being replaced anyway. AOMedia is working on an image format called AVIF. It's already getting implemented in Windows, Chrome, and a bunch of other programs. Chances are Apple will switch to it too once they get hardware encoders and decoders in place.

Here is a comparison website if you want to see the difference for yourself:

https://people.xiph.org/~tdaede/av1stilldemo/

 

and a summary from me:

Spoiler

AVIF could potentially become the standard image format, replacing PNG, GIF and JPEG in the future.

 

 

AV1 is a video codec developed in collaboration by Microsoft, Google, Apple, Cisco, Netflix, Amazon, AMD, Nvidia, Intel and a bunch of other companies.

 

AVIF, is exactly the same as AV1, except it encodes just a single frame and places it inside a HEIF container. What it means is that it could potentially replace JPEG, a really old and terrible standard by providing higher quality images, at smaller file sizes, which can be decoded and encoded faster, using less power, while also supporting more features and functions.

It can also replace PNG because it also supports lossless compression (the main feature of PNG).

And it can replace gif because, since it's based on a video codec, you can have really high quality animation at a fraction of the file size, without stupid color limitations, of a gif file.

 

Some highlights of AVIF:

 

  • Royalty free, and free for anyone to use. No need to worry about patents or anything of the sort. Since it's backed by a ton of massive companies, support for it will most likely be widespread as well.
     
  • Support for multiple images inside a single file. For example if you take a burst photo with your camera they could all be saved inside a single file. Or maybe you have a bunch of vacation photos and want to send them all to someone? You can put them all inside a single file and send that (like sending a gallery inside a single image file).
     
  • Non-destructive image editing. The format supports saving modifications of the image as transform operations rather than overwrite the color value of pixels. What this allows for is a Photoshop style "history" of edits of the image, saved within the meta data of the image. So instead of destroying the original file when you edit a photo, the original can be preserved within the meta data of the image file.
     
  • Save multiple images, apply a transform to them and then present the end result to the user. The most obvious and common example of this will probably be HDR photos. When you take an HDR image, your camera actually captures ~3 images and combine them into a single one which is then saved. With this, you could save all three images into the file, and then when someone opens it the file contains instructions for how to mix all images together. This obviously creates a larger file than our current way of creating HDR images, but it allows for more flexibility (and we can still save HDR images the normal way as well, this is just an additional feature that can be used).
     
  • Thumbnails can be embedded into the image file. Right now if you create a website which has a bunch of thumbnails, you need two images. One thumbnail which is displayed on the website, and one full size one which is displayed when the image is clicked. Those two images could be the same file with this format.
     
  • For most standard pictures, an AVIF file will be less than half the size of a JPEG with the same quality, or twice as high quality at the same file size.
     
  • Since it's an actual video format, it can replace GIF in the same way WebM is superior to GIFs. Much smaller file sizes, no stupid color limitations, support for higher frame rates, HDR, all that stuff.
     
  • Support for lossless compression.
     
  • Support for transparency.
     
  • Since it's based on AV1, encoding and decoding of the images can be handled by the same hardware encoders/decoders that will start appearing in GPUs in the coming years. This means really fast encoding and decoding time.

 

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, LAwLz said:

 

  Hide contents

-snip

 

 

Sounds like a lot of foundational changes trying to happen all at once. HEVC hasn’t even taken off yet, I doubt we will see this take off either. 

Laptop: 2019 16" MacBook Pro i7, 512GB, 5300M 4GB, 16GB DDR4 | Phone: iPhone 13 Pro Max 128GB | Wearables: Apple Watch SE | Car: 2007 Ford Taurus SE | CPU: R7 5700X | Mobo: ASRock B450M Pro4 | RAM: 32GB 3200 | GPU: ASRock RX 5700 8GB | Case: Apple PowerMac G5 | OS: Win 11 | Storage: 1TB Crucial P3 NVME SSD, 1TB PNY CS900, & 4TB WD Blue HDD | PSU: Be Quiet! Pure Power 11 600W | Display: LG 27GL83A-B 1440p @ 144Hz, Dell S2719DGF 1440p @144Hz | Cooling: Wraith Prism | Keyboard: G610 Orion Cherry MX Brown | Mouse: G305 | Audio: Audio Technica ATH-M50X & Blue Snowball | Server: 2018 Core i3 Mac mini, 128GB SSD, Intel UHD 630, 16GB DDR4 | Storage: OWC Mercury Elite Pro Quad (6TB WD Blue HDD, 12TB Seagate Barracuda, 1TB Crucial SSD, 2TB Seagate Barracuda HDD)
Link to comment
Share on other sites

Link to post
Share on other sites

Inb4 my Fuji X-T3 still uses JPEGs and RAFs

 

Then again, it does HEVC, so who knows. 

The Workhorse (AMD-powered custom desktop)

CPU: AMD Ryzen 7 3700X | GPU: MSI X Trio GeForce RTX 2070S | RAM: XPG Spectrix D60G 32GB DDR4-3200 | Storage: 512GB XPG SX8200P + 2TB 7200RPM Seagate Barracuda Compute | OS: Microsoft Windows 10 Pro

 

The Portable Workstation (Apple MacBook Pro 16" 2021)

SoC: Apple M1 Max (8+2 core CPU w/ 32-core GPU) | RAM: 32GB unified LPDDR5 | Storage: 1TB PCIe Gen4 SSD | OS: macOS Monterey

 

The Communicator (Apple iPhone 13 Pro)

SoC: Apple A15 Bionic | RAM: 6GB LPDDR4X | Storage: 128GB internal w/ NVMe controller | Display: 6.1" 2532x1170 "Super Retina XDR" OLED with VRR at up to 120Hz | OS: iOS 15.1

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, DrMacintosh said:

Sounds like a lot of foundational changes trying to happen all at once. HEVC hasn’t even taken off yet, I doubt we will see this take off either. 

HEVC hasn't taken off because no one feels like buying the rights to use it.

Except for Apple, apparently. /shrug

Check out my guide on how to scan cover art here!

Local asshole and 6th generation console enthusiast.

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, valdyrgramr said:

Are you saying we should lack standards?

I’m saying that we have too many “standards” and as a result we effectively have no standards. 

Laptop: 2019 16" MacBook Pro i7, 512GB, 5300M 4GB, 16GB DDR4 | Phone: iPhone 13 Pro Max 128GB | Wearables: Apple Watch SE | Car: 2007 Ford Taurus SE | CPU: R7 5700X | Mobo: ASRock B450M Pro4 | RAM: 32GB 3200 | GPU: ASRock RX 5700 8GB | Case: Apple PowerMac G5 | OS: Win 11 | Storage: 1TB Crucial P3 NVME SSD, 1TB PNY CS900, & 4TB WD Blue HDD | PSU: Be Quiet! Pure Power 11 600W | Display: LG 27GL83A-B 1440p @ 144Hz, Dell S2719DGF 1440p @144Hz | Cooling: Wraith Prism | Keyboard: G610 Orion Cherry MX Brown | Mouse: G305 | Audio: Audio Technica ATH-M50X & Blue Snowball | Server: 2018 Core i3 Mac mini, 128GB SSD, Intel UHD 630, 16GB DDR4 | Storage: OWC Mercury Elite Pro Quad (6TB WD Blue HDD, 12TB Seagate Barracuda, 1TB Crucial SSD, 2TB Seagate Barracuda HDD)
Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Dan Castellaneta said:

HEVC hasn't taken off because no one feels like buying the rights to use it.

Except for Apple, apparently. /shrug

That's an issue for me. 

 

Because if I try importing a HEVC video from my X-T3 to a video editing program that has not yet been updated to support HEVC, it can't do anything about it 

The Workhorse (AMD-powered custom desktop)

CPU: AMD Ryzen 7 3700X | GPU: MSI X Trio GeForce RTX 2070S | RAM: XPG Spectrix D60G 32GB DDR4-3200 | Storage: 512GB XPG SX8200P + 2TB 7200RPM Seagate Barracuda Compute | OS: Microsoft Windows 10 Pro

 

The Portable Workstation (Apple MacBook Pro 16" 2021)

SoC: Apple M1 Max (8+2 core CPU w/ 32-core GPU) | RAM: 32GB unified LPDDR5 | Storage: 1TB PCIe Gen4 SSD | OS: macOS Monterey

 

The Communicator (Apple iPhone 13 Pro)

SoC: Apple A15 Bionic | RAM: 6GB LPDDR4X | Storage: 128GB internal w/ NVMe controller | Display: 6.1" 2532x1170 "Super Retina XDR" OLED with VRR at up to 120Hz | OS: iOS 15.1

Link to comment
Share on other sites

Link to post
Share on other sites

15 minutes ago, valdyrgramr said:

Are you saying we should lack standards?

I have read your system specs ;)

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, valdyrgramr said:

And?

Just messing with you

Link to comment
Share on other sites

Link to post
Share on other sites

Didnt we agree to all use AV1s photo derivative already? idk why this exists

I spent $2500 on building my PC and all i do with it is play no games atm & watch anime at 1080p(finally) watch YT and write essays...  nothing, it just sits there collecting dust...

Builds:

The Toaster Project! Northern Bee!

 

The original LAN PC build log! (Old, dead and replaced by The Toaster Project & 5.0)

Spoiler

"Here is some advice that might have gotten lost somewhere along the way in your life. 

 

#1. Treat others as you would like to be treated.

#2. It's best to keep your mouth shut; and appear to be stupid, rather than open it and remove all doubt.

#3. There is nothing "wrong" with being wrong. Learning from a mistake can be more valuable than not making one in the first place.

 

Follow these simple rules in life, and I promise you, things magically get easier. " - MageTank 31-10-2016

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

There was also JPEG XR that also never took off...

Link to comment
Share on other sites

Link to post
Share on other sites

There's been plenty of superior options available for a long time already and they have all failed to replace it so I see no reason this will be different.  That doesn't mean we should just give up, but I think we should have realistic expectations about adoption.  Also, am I the only one left completely lost by the OP?  Makes absolutely no sense to me.  Something about GPUs and textures but really isn't coming together...

Solve your own audio issues  |  First Steps with RPi 3  |  Humidity & Condensation  |  Sleep & Hibernation  |  Overclocking RAM  |  Making Backups  |  Displays  |  4K / 8K / 16K / etc.  |  Do I need 80+ Platinum?

If you can read this you're using the wrong theme.  You can change it at the bottom.

Link to comment
Share on other sites

Link to post
Share on other sites

Well, we'll eventually have to replace it. JPEG is getting REALLY old and while it has good quality at 99 or 100 quality, anything below that has some serious artifacts going on and size is quite huge when using high quality levels. Might not sound like much if photo is 5MB, but sending that through e-mail regularly and it becomes annoying if higher quality image could only be 2MB.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×