Project

General

Profile

Feature #11798

Limited size jpeg file export

Added by Sylvain Escofet 19 days ago. Updated 13 days ago.

Status:
Triaged
Priority:
Low
Assignee:
-
Category:
Lighttable
Target version:
-
Start date:
11/01/2017
Due date:
% Done:

20%

Affected Version:
git master branch
System:
all
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Let choose quality or max size when exporting to a jpeg file (used for forum)

History

#1 Updated by Tobias Ellinghaus 17 days ago

With "size" you probably mean file size in megabytes or something like that?

#2 Updated by Sylvain Escofet 17 days ago

Tobias Ellinghaus wrote:

With "size" you probably mean file size in megabytes or something like that?

Yes. To avoid testing with various quality to obtain the needed file size to be imported in forum.

#3 Updated by Tobias Ellinghaus 13 days ago

  • System changed from Windows to all
  • Affected Version changed from 2.2.5 to git master branch
  • % Done changed from 0 to 20
  • Status changed from New to Triaged

That would require some binary search by trying different quality settings and comparing resulting file sizes. If image resolution shall be changed, too, then it will be harder and slower, as several runs of the export pipe might be required.

So, it should be doable, but I am not sure if anyone will invest the time to write the code.

Also available in: Atom PDF