Bug 402861

Summary: Add tool to convert progressive to baseline JPEG
Product: [Applications] digikam Reporter: Peter Eszlari <peter.eszlari>
Component: Plugin-DImg-JPEGAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: caulier.gilles
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Peter Eszlari 2019-01-04 15:23:17 UTC
It would be nice, if a tool to convert progressive JPEG files into baseline files lossless could be add. Basically the equivalent of:

$ jpegtran INPUT > OUTPUT

It would also be handy, if this information about the file was shown somewhere on the GUI.
Comment 1 Peter Eszlari 2019-01-04 16:40:14 UTC
Just to give you the background: I have an older SmartTV that doesn't support progressive JPEG.
Comment 2 caulier.gilles 2019-01-04 16:48:59 UTC
In fact the idea is to provide a new option in JPEG settings to support baseline encoding.

As i can see the JPEG settings from Gimp support this option :

https://docs.gimp.org/2.8/en/gimp-images-out.html#file-jpeg-save

Look the "progressive" checkbox description :

"With this option enabled, the image chunks are stored in the file in an order that allows progressive image refinement during a slow connection web download. The progressive option for JPG has the same purpose as the interlace option for GIF. Unfortunately, the progressive option produces slightly larger JPG files (than without the progressive option)."

This is exactly what you want (in inverse of course)...

Gilles Caulier