dotnet / dotnet/wpf

Add progressive encoding to JpegBitmapEncoder

Open
#11,927 4 comments 0 reactions 0 assignees View on GitHub
Enhancement Requested External Non-WPF Issue
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

While the `PngBitmapEncoder` offers an [`Interlace`](https://docs.microsoft.com/en-us/dotnet/api/system.windows.media.imaging.pngbitmapencoder.interlace) property to enable such encoding, there's no such property available for [`JpegBitmapEncoder`](https://docs.microsoft.com/en-us/dotnet/api/system.windows.media.imaging.jpegbitmapencoder), although the JPEG specification does offer such technology, called `progressive encoding` .

Please, can we get that implemented in `System.Windows.Media.Imaging.JpegBitmapEncoder`, too? 🥺

Contributor guide

Open the contributing guide

Research direction

Start with System.Windows.Media.Imaging.JpegBitmapEncoder and compare its public API with PngBitmapEncoder.Interlace, then trace the JPEG encoding implementation and existing encoder tests. Done means exposing a progressive-encoding option for JPEG output and covering it with tests that verify progressive JPEG encoding.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.