[Libreoffice-bugs] [Bug 146904] the default compression force of png image should be 9 into the image compression form

2022-06-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146904

Heiko Tietze  changed:

   What|Removed |Added

 CC||kain...@gmail.com,
   ||qui...@gmail.com

--- Comment #8 from Heiko Tietze  ---
The struct memParam is just for holding user input during a session. The
default needs to be set at both places, the struct and in the common.xcs file.

No opinion from my side what the best value is.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146904] the default compression force of png image should be 9 into the image compression form

2022-06-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146904

--- Comment #7 from Julien Nabet  ---
I just found where's the code quoted by Jérôme is used.
- Open Writer
- insert an image
- right click on the image
- choose "Compress..."

I confirm its suggestion allows to change the default value for PNG compression
to 9 here.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146904] the default compression force of png image should be 9 into the image compression form

2022-06-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146904

Julien Nabet  changed:

   What|Removed |Added

 CC||heiko.tietze@documentfounda
   ||tion.org,
   ||serval2...@yahoo.fr,
   ||xiscofa...@libreoffice.org

--- Comment #6 from Julien Nabet  ---
Jérôme: I tested your patch but on Draw, when trying to export in PNG, this
code isn't called.

I gave a try, after some research the patch would be:
diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs
b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
index 73b1acbe871d..6d02a96b984b 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
@@ -4570,7 +4570,7 @@
   
 
   
-  6
+  9
 
 
   

[Libreoffice-bugs] [Bug 146904] the default compression force of png image should be 9 into the image compression form

2022-03-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146904

--- Comment #5 from Jérôme  ---
I think there is only one character to change near this line :

https://git.libreoffice.org/core/+/HEAD/svx/source/dialog/compressgraphicdialog.cxx#52

It seems we just have to change initialization of memParam.CompressionMF to 9.

struct memParam {
  bool ReduceResolutionCB = false;
  int  MFNewWidth = 1;
  int  MFNewHeight = 1;
  bool LosslessRB = true;
  bool JpegCompRB = false;
<  int  CompressionMF = 6;
>  int  CompressionMF = 9;
  int  QualityMF = 80;
  int  InterpolationCombo = 3;
};

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146904] the default compression force of png image should be 9 into the image compression form

2022-02-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146904

--- Comment #4 from Jérôme  ---
As a follow up of comment 3 I filed bug #147550.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146904] the default compression force of png image should be 9 into the image compression form

2022-02-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146904

Jérôme  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=14
   ||7550

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146904] the default compression force of png image should be 9 into the image compression form

2022-02-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146904

--- Comment #3 from Jérôme  ---
Perhaps could we think about simplying the dialog window : remove the
compression force setting for png format and make it hard coded with the
maximum force ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146904] the default compression force of png image should be 9 into the image compression form

2022-02-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146904

Timur  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW
   Severity|normal  |enhancement
   Priority|medium  |low

--- Comment #2 from Timur  ---
If not explained differently, let's put to New as Enhancement.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146904] the default compression force of png image should be 9 into the image compression form

2022-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146904

QA Administrators  changed:

   What|Removed |Added

 Whiteboard| QA:needsComment|

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146904] the default compression force of png image should be 9 into the image compression form

2022-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146904

--- Comment #1 from jan d  ---
Agree – I also wonder why it is not on (as it seems to be the standard in other
apps, usually)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146904] the default compression force of png image should be 9 into the image compression form

2022-02-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146904

Dieter  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=14
   ||6929

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146904] the default compression force of png image should be 9 into the image compression form

2022-02-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146904

QA Administrators  changed:

   What|Removed |Added

 Whiteboard|| QA:needsComment

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146904] the default compression force of png image should be 9 into the image compression form

2022-01-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146904

sdc.bla...@youmail.dk changed:

   What|Removed |Added

 CC||sdc.bla...@youmail.dk
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=14
   ||0476
 Blocks||117085


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=117085
[Bug 117085] [META] Compress image dialog bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.