ArticleslgStudy

computer science

Better Portable Graphics

Better Portable Graphics is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Better Portable Graphics rather than just read about it. In short: Better Portable Graphics (BPG) is a file format for coding digital images, which was created by programmer Fabrice Bellard in 2014. He has proposed it as a replacement for the JPEG image format as the more compression-efficient alternative in terms of image quality or file size.

Key takeaways

  • Better Portable Graphics belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Better Portable Graphics to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Better Portable Graphics from memory before moving on to harder problems.

Reference excerpt

Better Portable Graphics (BPG) is a file format for coding digital images, which was created by programmer Fabrice Bellard in 2014. He has proposed it as a replacement for the JPEG image format as the more compression-efficient alternative in terms of image quality or file size. It is based on the intra-frame encoding of the High Efficiency Video Coding (HEVC) video compression standard. Tests on photographic images in July 2014 found that BPG produced smaller files for a given quality than JPEG, JPEG XR and WebP. The format has been designed to be portable and work in low memory environments, and used in portable handheld and IoT devices, where those properties are particularly important. In 2015 research was working on designing and developing more energy-efficient BPG hardware which could potentially then be integrated in portable devices such as digital cameras. While there is no built-in native support for BPG in any mainstream browsers, websites can still deliver BPG images to all browsers by including a JavaScript library written by Bellard. Others followed Bellard's idea and created the AVIF image format based on the AV1 video codec, which is patent free and therefore got implemented in browsers.

Origin in HEVC

HEVC has several profiles defined for extending its intra-frame encoding to still images at various bit depths and color formats, including "Main Still Picture," "Main 4:4:4 Still Picture," and "Main 4:4:4 16 Still Picture profiles." BPG is a wrapper for the "Main 4:4:4 16 Still Picture" profile up to 14 bits per sample.

Specifications BPG's container format is intended to be more suited to a generic image format than the raw bitstream format used in HEVC (which is otherwise ordinarily used within some other wrapper format, such as the .mp4 file format). BPG supports the color formats known as 4:4:4, 4:2:2, and 4:2:0. Support for a separately coded extra channel is also included for an alpha channel or the fourth channel of a CMYK image. Metadata support is included for Exif, ICC profiles, and XMP. Color space support is included for YCbCr with ITU-R BT.601, BT.709, and BT.2020 (non-constant luminance) definitions, YCgCo, RGB, CMYK, and grayscale. Support for HEVC's lossy and lossless data compression is included. BPG supports animation.

Patents According to Bellard's site BPG may be covered by some of the patents on HEVC, but any device licensed to support HEVC will also be covered for BPG. Patent issues may prevent JPEG replacement by BPG despite BPG's better technical performance.

Other proposed JPEG replacements Several other image formats have also been proposed as JPEG replacements, including:

AVIF, image format based on the AV1 video codec FLIF HEIF, another container for HEVC intra-frames JPEG 2000 JPEG XL JPEG XR WebP, image format based on VP8

References

External links Official website BPG – image comparison

Worked examples

Example 1 — a first encounter with Better Portable Graphics

Start with the simplest possible case. Write down what Better Portable Graphics claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Better Portable Graphics before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Better Portable Graphics ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Better Portable Graphics

In research
Better Portable Graphics appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Better Portable Graphics in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Better Portable Graphics is common in secondary-school and first-year university syllabi. It links to neighbouring topics Animated graphics file formats, Computer-related introductions in 2014, Graphics file formats, so understanding it makes those chapters shorter.
In everyday life
Look for Better Portable Graphics outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Better Portable Graphics” →

How to study Better Portable Graphics in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Better Portable Graphics means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Better Portable Graphics out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Better Portable Graphics in simple terms?

Better Portable Graphics (BPG) is a file format for coding digital images, which was created by programmer Fabrice Bellard in 2014. He has proposed it as a replacement for the JPEG image format as the more compression-efficient alternative in terms of image quality or file size.

Why does Better Portable Graphics matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Better Portable Graphics?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Better Portable Graphics.

Tags

  • Animated graphics file formats
  • Computer-related introductions in 2014
  • Graphics file formats
  • Image compression
  • Open formats

Keep exploring