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 2013/03/06 15:12:21 UTC

[Bug 121859] New: GraphicProvider: scaling should allow to set the method to be used

https://issues.apache.org/ooo/show_bug.cgi?id=121859

            Bug ID: 121859
        Issue Type: DEFECT
           Summary: GraphicProvider: scaling should allow to set the
                    method to be used
    Classification: Unclassified
           Product: App Dev
           Version: AOO 3.4.1
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: api
          Assignee: issues@openoffice.apache.org
          Reporter: arielch@apache.org
                CC: issues@openoffice.apache.org

As reported in bug 121858 the GraphicProvider allows scaling images.

Internally, it calls Bitmap::Scale without setting the flag that indicates the
method used for scaling. This defaults to BMP_SCALE_FASTESTINTERPOLATE as
defined in <vcl/bitmap.hxx> Bitmap::Scale()

It should be possible to indicate in the FilterData the method for scaling the
image.

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

[Bug 121859] GraphicProvider: scaling should allow to set the method to be used

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121859

--- Comment #1 from Ariel Constenla-Haile <ar...@apache.org> ---
Created attachment 80380
  --> https://issues.apache.org/ooo/attachment.cgi?id=80380&action=edit
Set of related patches

The forth patch adds a new FilterData propery, named "Interpolation", that
controls the method used in Bitmap::Scale. 
For this, a new constant group has been defined: css::graphic::Interpolation.

I'm not so sure about the naming, so suggestions are welcome.

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