Issue 26090 - Image reduction (zoom, rescaling, resizing) algorithm is not too good
Summary: Image reduction (zoom, rescaling, resizing) algorithm is not too good
Status: ACCEPTED
Alias: None
Product: Impress
Classification: Application
Component: code (show other issues)
Version: OOo 1.1
Hardware: All All
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
: 79290 (view as issue list)
Depends on:
Blocks:
 
Reported: 2004-03-03 18:59 UTC by histed
Modified: 2017-05-20 10:55 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Large image that doesn't look nice when rescaled (125.09 KB, image/png)
2004-03-03 19:00 UTC, histed
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description histed 2004-03-03 18:59:36 UTC
If you insert a large graphic image into Impress, and then reduce it in size,
the image looks bad.  If you do the same with Powerpoint, it looks good.  
This is a pain because it means you must generate any image at the desired
resolution.  I would like to generate one 600dpi image and use it for printing
or in OpenOffice.

I am attaching a large image.  For example, the bottom graph has thin gray
horizontal lines in the background.  Using Powerpoint, you can see all the lines
at any scale, or you can see none of them.  With OOO, you can often see only a
subset of the lines.

Libart (LGPL) has some image reduction algorithms.  This file mentions some:
http://cvs.gnome.org/bonsai/cvsblame.cgi?file=libart_lgpl/art_filterlevel.h&rev=&root=/cvs/gnome

Under Linux, GQView allows you to select several different reduction algorithms,
(which I think come from libart through GNOME).  Load GQview and go to
Edit->Options->Image->Zoom(scaling).  When I select 'Hyper', the reduced image
looks great.  

Would it be possible to implement the 'Hyper' algorithm for rescaling?
(art_filterlevel.h above says:
It is derived from the hyperbolic filters in Wolberg's "Digital Image Warping,"
and is formally defined as the hyperbolic-filter sampling the ideal
hyperbolic-filter interpolated image (the filter is designed to be
idempotent for 1:1 pixel mapping).
)
Comment 1 histed 2004-03-03 19:00:29 UTC
Created attachment 13559 [details]
Large image that doesn't look nice when rescaled
Comment 2 wolframgarten 2004-03-04 07:56:42 UTC
Can be reproduced. Reassigned to Christian. Please have a look.
Comment 3 clippka 2004-04-15 10:01:04 UTC
accepted, but I think we already have an issue for this
Comment 4 ace_dent 2007-07-06 08:48:08 UTC
*** Issue 79290 has been marked as a duplicate of this issue. ***
Comment 5 ace_dent 2007-07-06 08:51:50 UTC
Problem still exists with OOo 2.2.1. This affects all applications- so component
is probably not correct...
Comment 6 Marcus 2017-05-20 10:55:32 UTC
Reset assigne to the default "issues@openoffice.apache.org".