[Libreoffice-bugs] [Bug 145157] Soft Edges effect distorting entire image in Impress

2023-09-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145157

Rafael Lima  changed:

   What|Removed |Added

 CC||noelgran...@gmail.com

--- Comment #14 from Rafael Lima  ---
This issue is still reproducible in

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d52feb11c7eab0adf82c1fb410adfd3127bf9497
CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+wayland)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL threaded

@Noel, maybe you would like to take a look at this one?

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

[Libreoffice-bugs] [Bug 145157] Soft Edges effect distorting entire image in Impress

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

Mike Kaganski  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW
 CC||armin.le.gr...@me.com,
   ||t...@libreoffice.org

--- Comment #13 from Mike Kaganski  ---
I can see the problem with attachment 175798 on Windows in presentation mode,
using Version: 7.4.0.1 (x64) / LibreOffice Community
Build ID: 43e5fcfbbadd18fccee5a6f42ddd533e40151bcf
CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: default; VCL: win
Locale: en-US (ru_RU); UI: en-US
Calc: CL

(and also using Skia rendering on the same system).
With Skia, the resulting view is blurred; with default render and disabled AA /
HW acceleration, the view is pixelated.

Indeed, as I suspected, we do have a code to down-sample bitmaps:
VclMetafileProcessor2D::CreateBufferDevice [1] that checks that the image for
effect processing has no greater than 500 000 pixels (which is around 707x707
pixel bitmap). But unexpectedly, this downsampling didn't trigger in this case!
The bitmap size is calculated from the passed logical object range, which is
14730x15750 units. These units are converted to pixels using
OutputDevice::LogicToPixel, and the result is 557x596 pixels.

This value is independent on the screen resolution; it seems that
VclMetafileProcessor2D uses the object's logical size (which is, for the image
with effect, 14.73x15.75 cm = 14730x15750 mm/100 units that are used
internally). It is converted using a default 96 PPI resolution, and then that
image size is used for effects and rendered back to the metafile, which will be
rendered to screen when this slide's turn arrives. Given that e.g. my screen is
1920x1080 pixels, and the image takes almost full height, the bitmap used for
the rendering is about two times shorter than needed for a reasonable quality.

The question is: how can I get the target resolution at which the metafile is
going to be displayed. If I get that, then it could make sense to increase the
maximum bitmap size here.

OTOH, I couldn't get the problem in edit mode on Windows. This codepath doesn't
use VclMetafileProcessor2D, so no downsampling takes place. Could it be that
kf5 uses a different rendering codepath, or maybe there's some other way to
enable metafile rendering in editing mode?

Thorsten, Armin: sorry to bother you, but maybe you have some ideas how to
handle this?


[1]
https://opengrok.libreoffice.org/xref/core/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx?r=a447b5b6#2374

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

[Libreoffice-bugs] [Bug 145157] Soft Edges effect distorting entire image in Impress

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

--- Comment #12 from Mike Kaganski  ---
(In reply to Rafael Lima from comment #11)
> @Mike, what do you think of this issue while applying soft edges.

I didn't check the code, but I (seem to) remember there was some pixel count
limit, after which we limit the image quality to avoid freezing. This *might*
be that.

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

[Libreoffice-bugs] [Bug 145157] Soft Edges effect distorting entire image in Impress

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

Rafael Lima  changed:

   What|Removed |Added

 CC||mikekagan...@hotmail.com

--- Comment #11 from Rafael Lima  ---
@Mike, what do you think of this issue while applying soft edges.

See video in Comment 9 for more details of how the effect is distorting the
image.

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

[Libreoffice-bugs] [Bug 145157] Soft Edges effect distorting entire image in Impress

2021-12-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145157

Rafael Lima  changed:

   What|Removed |Added

 Blocks||104238


Referenced Bugs:

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

[Libreoffice-bugs] [Bug 145157] Soft Edges effect distorting entire image in Impress

2021-11-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145157

--- Comment #10 from Rafael Lima  ---
Created attachment 176275
  --> https://bugs.documentfoundation.org/attachment.cgi?id=176275=edit
Video capture showing the bug

This video capture shows how soft edge distorts the image. Notice that when I
switch from radius 0 to 1 the image gets distorted. When I get back to 0 the
image is restored.

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

[Libreoffice-bugs] [Bug 145157] Soft Edges effect distorting entire image in Impress

2021-10-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145157

--- Comment #9 from Rafael Lima  ---
Created attachment 175801
  --> https://bugs.documentfoundation.org/attachment.cgi?id=175801=edit
Screenshot (left side has Soft Edges effect)

Hi Regina! Thanks for your help with this issue. Indeed in your screenshot
there's no visible distortion.

So, I upload a screenshot of what I'm seeing. Note that the image in the right
is more pixelated.

This test was done in KDE using LO 7.3 alpha, but I had the same results in
Windows.

Can this be related to graphics card maybe? I use Nvidia in both my PCs.

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

[Libreoffice-bugs] [Bug 145157] Soft Edges effect distorting entire image in Impress

2021-10-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145157

--- Comment #8 from Regina Henschel  ---
Created attachment 175800
  --> https://bugs.documentfoundation.org/attachment.cgi?id=175800=edit
Screenshot: left part with soft edge, right part without

I see no problem. With and without soft edge looks the same to me.

The screenshots are from Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 93115d2c54d645bcf2f80fde325e3ede39dee4d5
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL

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

[Libreoffice-bugs] [Bug 145157] Soft Edges effect distorting entire image in Impress

2021-10-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145157

Rafael Lima  changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

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

[Libreoffice-bugs] [Bug 145157] Soft Edges effect distorting entire image in Impress

2021-10-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145157

--- Comment #7 from Rafael Lima  ---
In Slide 2 of the new sample files I wrote "Without Soft Edges Effects" but
what I meant is "With Soft Edges Effects". So, the correct text is:

Slide 1: Without Effects
Slide 2: With Soft Edges Effects

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

[Libreoffice-bugs] [Bug 145157] Soft Edges effect distorting entire image in Impress

2021-10-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145157

--- Comment #6 from Rafael Lima  ---
Created attachment 175799
  --> https://bugs.documentfoundation.org/attachment.cgi?id=175799=edit
PDF Sample File - Ex 2

Notice that the distortion also appears in the PDF file.

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

[Libreoffice-bugs] [Bug 145157] Soft Edges effect distorting entire image in Impress

2021-10-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145157

--- Comment #5 from Rafael Lima  ---
Created attachment 175798
  --> https://bugs.documentfoundation.org/attachment.cgi?id=175798=edit
ODP Sample File - Ex 2

I created another example that better illustrates the distortion I am seeing
and uploaded it both as ODP and PDF.

This time around I used a polygon-based image. In the first slide I added the
original image without any effects. In the second slide I applied the Soft
Edges effect.

The distortion can be seen both in edit and presentation modes.

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

[Libreoffice-bugs] [Bug 145157] Soft Edges effect distorting entire image in Impress

2021-10-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145157

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEEDINFO
 CC||79045_79...@mail.ru

--- Comment #4 from Roman Kuznetsov <79045_79...@mail.ru> ---
Please add a simpler example, I don't see the problem in your files anyway

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

[Libreoffice-bugs] [Bug 145157] Soft Edges effect distorting entire image in Impress

2021-10-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145157

Regina Henschel  changed:

   What|Removed |Added

 CC||rb.hensc...@t-online.de

--- Comment #3 from Regina Henschel  ---
I have tested it in Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: a3416ed058884a1fcaae0659ff6e71f5a7dff8d0
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: threaded

I have tested too without Skia.

I see no problems, neither in show mode nor in pdf. Can you please be more
specific about "distortion".

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

[Libreoffice-bugs] [Bug 145157] Soft Edges effect distorting entire image in Impress

2021-10-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145157

Rafael Lima  changed:

   What|Removed |Added

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

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

[Libreoffice-bugs] [Bug 145157] Soft Edges effect distorting entire image in Impress

2021-10-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145157

--- Comment #2 from Rafael Lima  ---
BTW, when exporting as PDF the quality of the images is significantly worsened
and pixelated (both with and without the soft edges effect). So I guess the PDF
part of my original report has nothing to do with Soft Edges, but rather with
general poor image quality export.

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

[Libreoffice-bugs] [Bug 145157] Soft Edges effect distorting entire image in Impress

2021-10-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=145157

--- Comment #1 from Rafael Lima  ---
Created attachment 175766
  --> https://bugs.documentfoundation.org/attachment.cgi?id=175766=edit
PDF Sample File

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