Bug 150327 - Allow exporting of non-progressive JPEG images
Summary: Allow exporting of non-progressive JPEG images
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.2.6.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Graphics-Export
  Show dependency treegraph
 
Reported: 2022-08-10 01:22 UTC by Jo Evans
Modified: 2023-01-30 10:14 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jo Evans 2022-08-10 01:22:01 UTC
Description:
.JPG files created in LO Draw and Presentation by using the Export command won't play on an Epson projector which DOES play .JPGs created by other programs such as Corel PaintShopPro. I'm using 7.2.6.2 (64bit). The project does also play .BMPs and .PNGs created by Draw and Presentation. I have found a work around by copying the created .JPGs into Corel PaintshopPro the re-saving them as .JPGs. Curious, isn't it?

Actual Results:
1. Create a drawing in Draw
2. go to File/Export/ choose JPEG
3. Save to USB drive and plug into the Epson projector
4. Projector will say 'Cannot play'

Expected Results:
Cannot play


Reproducible: Always


User Profile Reset: No



Additional Info:
Should have displayed the image
Comment 1 Buovjaga 2023-01-30 10:14:27 UTC
Doing a quick search I found this for a random model:
https://files.support.epson.com/htmldocs/bl1410/bl1410ug/Source/PCFree/Reference/pcfree_filetype_list_multi_table.html

For .jpg it has this laundry list:

Make sure the file is not:

CMYK format
Progressive format
Highly compressed
Above 8192 × 8192 resolution
Over 12MB in size
Named with a .jpeg extension

Then I found this topic:
https://ask.libreoffice.org/t/i-need-a-non-progressive-jpeg/32584

So it seems the problem is that we output progressive JPEGs without any option to choose non-progressive.

It seems like an uncontroversial feature request, so I'll set to NEW right away.

To losslessly convert from progressive to baseline, you could use jpegtran as discussed here:
https://legacy.imagemagick.org/discourse-server/viewtopic.php?t=22141

jpegtran in.jpg > out.jpg

You can get jpegtran from https://jpegclub.org/