I am trying to work on a JPEG (JFIF) baseline image decoder. While reading about Restart Interval I got confused. A JPEG image has a DRI field which tells you after how many MCUs the image should restart. But in addition to it there are restart markers inserted in scans. To me it seems redundant information. Can someone please suggest why we need this information in 2 places ? Or is one of them optional ? To me it seems that either should be sufficient. Only DRI is enough if we want the multithreading advantage of Restart Intervals.
1
There are 1 best solutions below
Related Questions in JPEG
- convert a jpg file to UTF-8 without making it corrupt
- How can I add an image in the drawable/res folder?
- How to perform JPEG compression in Python without writing/reading
- PPT VBA: Capturing Screen Shot inside Shape
- In Ruby, how can I update the avatar / background image file.jpg in a folder?
- Best way to edit a JPG in Photoshop
- IOError for savefig JPG in matplotlib
- Why Bitmap.Save changes image's size?
- Effective JPEG compression for HF content?
- zoom jpeg image on canvas with mousewheel event in javascript
- TIFF 204x98 DPI screen dimensions
- images with invalid jpeg marker
- Android: Embedding a compressed image inside a PDF document
- IJG library or Windows photo viewer DQT generation
- Getting JPEG with android
Related Questions in JFIF
- How do I find a library or collection of Jpeg Headers?
- JFIF and EXIF data structures
- Get width and height from jpeg without 0xFF 0xC0
- Python Discord Embedded Message Thumbnail Not Showing .jfif Images
- JPEG encoding error for any image size larger than 16x8 or 8x16
- How can I detect JPEG files by their EXIF / JFIF signature?
- Is restart marker in a JPEG JFIF optional?
- how to set DPI using Golang?
- Possible to convert JFIF string back to an image?
- Java convert JFIF file to JPG file
- how to detect JFIF image type in laravel
- "unknown JFIF revision number" with native imagecreatefromjpeg function
- Facebook SDK return profile picture as JFIF, how to convert to JPG/PNG in PHP?
- What document contains the official numerical values for JPEG tags?
- Is there a way to force new Windows OS to export as JPG instead of JFIF?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Restart Markers are option and tend to be uncommon. If you use the DRI field, they become mandatory.
The DRI field tells where the decode should expect to find restart markers in the stream. Restart markers can be used to recover if there is corruption in the compressed data. This was of more value in the days of dialup internet.