You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2014/05/07 08:00:31 UTC
[Issue 124841] New: Image antialiasing not working on update
https://issues.apache.org/ooo/show_bug.cgi?id=124841
Issue ID: 124841
Issue Type: DEFECT
Summary: Image antialiasing not working on update
Product: Writer
Version: 4.1.0
Hardware: PC
OS: Linux64
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: viewing
Assignee: issues@openoffice.apache.org
Reporter: thethirdbarrow@gmail.com
On upgrade from 4.0.1 to 4.1.0 on Ubuntu 12.04LTS images within a document are
no longer antialiased during document navigation. This is despite 'antialias
images' being switched on in the program options. When downgraded back to
4.0.1, the problem disappeared, i.e this appears to be a regression.
--
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.
[Issue 124841] Image antialiasing not working on upgrade to 4.1.0
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124841
--- Comment #9 from Armin Le Grand <Ar...@me.com> ---
Debugging. The paint uses simply fallback to OutputDevice::DrawBitmap() which
leads to X11SalGraphics::drawBitmap and X11SalGraphics::ImplDraw. At the
involved OutputDevice, mnAntialiasing == 2 which means
ANTIALIASING_ENABLE_B2DDRAW.
@Herbert: Shouldn't this paint the bitmap AAed as expected?
--
You are receiving this mail because:
You are watching all issue changes.
[Issue 124841] Image antialiasing not working on upgrade to 4.1.0
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124841
Ariel Constenla-Haile <ar...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|needmoreinfo |regression
Status|UNCONFIRMED |CONFIRMED
CC| |Armin.Le.Grand@me.com
Ever confirmed|0 |1
--- Comment #5 from Ariel Constenla-Haile <ar...@apache.org> ---
Confirmed Fedora 20 with the attached document
Regression from 4.0.1
Setting Armin on CC
--
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.
[Issue 124841] Image antialiasing not working on upgrade to 4.1.0
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124841
--- Comment #13 from hdu@apache.org <hd...@apache.org> ---
(In reply to Armin Le Grand from comment #12)
> Loked deeper and indeed the difference is that the old specialized
> preparation with the GraphicManager paint did the hand-crafted scaling in an
> own form. The now unified paint is using the default VCL-Based
> OutputDevice::DrawBitmap which is not AAing on linux at all. The way go get
> out of this is to enhance the standard VCL bitmap output for Linux.
With your changes in revision 1403434 the default bitmap scaling has changed
form BMP_SCALE_FAST to BMP_SCALE_SUPER ("supersampling"), which IMHO shouldn't
be considered an interpolating algorithm. Most other scaling methods result in
much nicer looking images. Resampled preview images with an almost matching
size also look much nicer, even when only supersampling are used.
In our plain X11 backend the native XCopyArea function is used, which doesn't
care at all about antialiasing. And if visual quality is a concern then that
function's scaling ability should be avoided. Until your changes for AOO410
(such as issue 122778) this wasn't the case.
I agree that the image scaling functionality on our X11 backend should be
improved to better handle image scaling itself, especially when antialiasing is
enabled. But for this particular regression I'm afraid we need a solution that
gets the old quality back ASAP.
--
You are receiving this mail because:
You are watching all issue changes.
[Issue 124841] Image antialiasing not working on upgrade to 4.1.0
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124841
--- Comment #7 from hdu@apache.org <hd...@apache.org> ---
>From AOO40x->AOO410 Linux bitmap drawing was modified with your changes for bug
122778 ("Linux display quality of transformed bitmaps needs improvement) or
eventually bug 124002. These are the most likely candidates for this
regression. Simply reverting the changes to test this doesn't work because
interfaces change.
Why the problem was not visible on gdiplus and quartz may have to do with the
default scaling method in each backend.
--
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.
[Issue 124841] Image antialiasing not working on upgrade to 4.1.0
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124841
--- Comment #10 from Armin Le Grand <Ar...@me.com> ---
I forgot: The same pic in draw/impress shows the same behaviour, thus this is
independent of the changes done in Writer for unifying the graphics rendering.
--
You are receiving this mail because:
You are watching all issue changes.
[Issue 124841] Image antialiasing not working on upgrade to 4.1.0
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124841
--- Comment #12 from Armin Le Grand <Ar...@me.com> ---
Loked deeper and indeed the difference is that the old specialized preparation
with the GraphicManager paint did the hand-crafted scaling in an own form. The
now unified paint is using the default VCL-Based OutputDevice::DrawBitmap which
is not AAing on linux at all. The way go get out of this is to enhance the
standard VCL bitmap output for Linux.
@Herbert: Is there a simple/overseeable way to get Bitmap/BitmapEx painted with
better quality using VCL on Linux? You have a much better overview of the stuff
currently done there.
--
You are receiving this mail because:
You are watching all issue changes.
[Issue 124841] Image antialiasing not working on upgrade to 4.1.0
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124841
--- Comment #16 from Gabriel Pereira Borges <gp...@gmail.com> ---
Created attachment 84007
--> https://issues.apache.org/ooo/attachment.cgi?id=84007&action=edit
Sample ODT Document with a png on 4.1.0 (same for 4.1.1)
--
You are receiving this mail because:
You are watching all issue changes.
[Issue 124841] Image antialiasing not working on upgrade to 4.1.0
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124841
--- Comment #2 from J <th...@gmail.com> ---
Created attachment 83397
--> https://issues.apache.org/ooo/attachment.cgi?id=83397&action=edit
Appearance of image at 200% in Writer OO4.0.1
This is the appearance of an image in Open Office Writer 4.0.1 under Ubuntu
12.04.
--
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.
[Issue 124841] Image antialiasing not working on upgrade to 4.1.0
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124841
Regina Henschel <rb...@t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rb.henschel@t-online.de
--
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.
[Issue 124841] Image antialiasing not working on upgrade to 4.1.0
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124841
--- Comment #3 from J <th...@gmail.com> ---
Created attachment 83398
--> https://issues.apache.org/ooo/attachment.cgi?id=83398&action=edit
Appearance of image at 200% in Writer OO4.1.0
This is an image whose representation on the screen is degraded upon upgrade to
OO4.1.0 under Ubuntu 12.04.
--
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.
[Issue 124841] Image antialiasing not working on upgrade to 4.1.0
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124841
Armin Le Grand <Ar...@me.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|issues@openoffice.apache.or |Armin.Le.Grand@me.com
|g |
--- Comment #8 from Armin Le Grand <Ar...@me.com> ---
Grepping...
--
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.
[Issue 124841] Image antialiasing not working on upgrade to 4.1.0
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124841
J <th...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Image antialiasing not |Image antialiasing not
|working on update |working on upgrade to 4.1.0
--
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.
[Issue 124841] Image antialiasing not working on upgrade to 4.1.0
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124841
Armin Le Grand <Ar...@me.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hdu@apache.org
--- Comment #6 from Armin Le Grand <Ar...@me.com> ---
Adding Herbert to CC. Herbert, any changes on Linux Bitmap drawing between
4.0.1 and 4.1.0...?
--
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.
[Issue 124841] Image antialiasing not working on upgrade to 4.1.0
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124841
Gabriel Pereira Borges <gp...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gpborges@gmail.com
--- Comment #15 from Gabriel Pereira Borges <gp...@gmail.com> ---
Created attachment 84006
--> https://issues.apache.org/ooo/attachment.cgi?id=84006&action=edit
Sample ODT Document with a png on 4.0.1
I can also confirm the issue on Ubuntu 12.04.5 LTS 64 bits.
Linux gpborges 3.13.0-36-generic #63~precise1-Ubuntu SMP Thu Sep 4 22:28:20 UTC
2014 x86_64 x86_64 x86_64 GNU/Linux
I'm stuck on 4.0.1 because if I upgrade to 4.1.x (4.1.0, 4.1.1) the images are
bad. I'm attaching 2 sample images so that you guys can see it.
--
You are receiving this mail because:
You are watching all issue changes.
[Issue 124841] Image antialiasing not working on upgrade to 4.1.0
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124841
--- Comment #11 from Armin Le Grand <Ar...@me.com> ---
Compared on xubuntu64bit AOO400 and trunk version: When the graphic needs to be
compressed (e.g. 70% display zoom), both look bad. When scaled bigger than
original (150%) the old version smoothes (somewhat), the trunk version does
not, just unequal line/column doubling which looks bad.
Thus there is indeed a difference somewhere. Debugging AOO400 version what was
used there...
--
You are receiving this mail because:
You are watching all issue changes.
[Issue 124841] Image antialiasing not working on upgrade to 4.1.0
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124841
Ariel Constenla-Haile <ar...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |needmoreinfo
--- Comment #1 from Ariel Constenla-Haile <ar...@apache.org> ---
Can you attach a sample document, and a screenshot of how it looks like on your
system?
--
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.
[Issue 124841] Image antialiasing not working on upgrade to 4.1.0
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124841
--- Comment #14 from Armin Le Grand <Ar...@me.com> ---
@Herbert: Does this mean that VCL's implementation of X11 bitmap painting
cannot/does not scale at all, so that the image that needs to be painted has to
be prepared in the target pixel resolution? If yes and if X11 is able to *do*
scaling we should consider to use it. Of course we could use own software-based
scaling as preprocessing for painting (and thus could control quality), but
this is an expensive and not modern solution which I would definitely want to
avoid. There *must* be something better nowadays which uses available graphics
hardware, even under Linux, don't you think?
--
You are receiving this mail because:
You are watching all issue changes.
[Issue 124841] Image antialiasing not working on upgrade to 4.1.0
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124841
--- Comment #4 from J <th...@gmail.com> ---
Created attachment 83399
--> https://issues.apache.org/ooo/attachment.cgi?id=83399&action=edit
Document with image whose quality degrades 4.0.1->4.1.0
--
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.