Review Request: bilinear scaling for khtml/imload

Martin Tobias Holmedahl Sandsmark sandsmark at samfundet.no
Mon Apr 30 22:22:51 BST 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104743/
-----------------------------------------------------------

(Updated April 30, 2012, 9:22 p.m.)


Review request for kdelibs.


Changes
-------

now just uses nearest neighbour for 8bit indexed images (good enough, unless someone has a better idea).


Description
-------

Uses bilinear scaling for images. It's a bit prettier, but not much, but should be a reasonable tradeoff for speed.


Diffs (updated)
-----

  khtml/imload/scaledimageplane.h 35fec21 
  khtml/imload/scaledimageplane.cpp 4977201 

Diff: http://git.reviewboard.kde.org/r/104743/diff/


Testing
-------

ran it against a couple of different images of various sizes.


Screenshots
-----------

Before
  http://git.reviewboard.kde.org/r/104743/s/547/
After
  http://git.reviewboard.kde.org/r/104743/s/548/


Thanks,

Martin Tobias Holmedahl Sandsmark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20120430/de792353/attachment.htm>


More information about the kde-core-devel mailing list