[haiku-bugs] Re: [Haiku] #7500: Image scaling < 1.0 (downsampling) shows aliasing (was: Image scaling (downsampling) shows moire artifacts)

  • From: "aldeck" <trac@xxxxxxxxxxxx>
  • Date: Sun, 29 May 2011 22:27:03 -0000

#7500: Image scaling < 1.0 (downsampling) shows aliasing
-------------------------+-------------------------------------------------
   Reporter:  aldeck     |      Owner:  axeld
       Type:  bug        |     Status:  new
   Priority:  normal     |  Milestone:  R1
  Component:             |    Version:  R1/Development
  Servers/app_server     |   Keywords:  image scaling downsampling aliasing
 Resolution:             |   Blocking:
 Blocked By:             |   Platform:  All
Has a Patch:  0          |
-------------------------+-------------------------------------------------
Changes (by aldeck):

 * cc: stippi (added)
 * keywords:  image scaling downsampling moire artifacts => image scaling
     downsampling aliasing


Old description:

> Image scaling (downsampling) shows moire artifacts.
>
> Can be reproduced with ImageViewer or desktop background with this high
> resolution test image http://www.eronn.net/camera/test-chart/resolution
> %20test-chart.jpg
>
> I believe that the code used is from BBitmap / app_server but feel free
> to correct the component.

New description:

 Image scaling < 1.0 (downsampling) shows aliasing

 Can be reproduced with ImageViewer or desktop background with this high
 resolution test image http://www.eronn.net/camera/test-chart/resolution
 %20test-chart.jpg (any highres image with sharp contrasted lines will do)

--

Comment:

 I haven't had enough time to test what i wanted, though all i can affirm a
 that point is that the generic agg implementation of DrawBitmap
 (Painter.cpp) has the problem. Note that i haven't analyzed the algorithms
 themselves and don't know if they actually support high quality
 downscaling. Will possibly look further when i make more time.

 cc'ing stippi as i'm sure he has a clue

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7500#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts:

  • » [haiku-bugs] Re: [Haiku] #7500: Image scaling < 1.0 (downsampling) shows aliasing (was: Image scaling (downsampling) shows moire artifacts) - aldeck