Issue 122796 - Half-pixel offset in scaled images
Summary: Half-pixel offset in scaled images
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 4.0.0-dev
Hardware: All All
: P3 Normal (vote)
Target Milestone: 4.1.0
Assignee: hdu@apache.org
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 122778
  Show dependency tree
 
Reported: 2013-07-22 09:30 UTC by hdu@apache.org
Modified: 2022-10-28 12:54 UTC (History)
1 user (show)

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


Attachments
sample document which clearly shows the problem (11.96 KB, application/vnd.oasis.opendocument.presentation)
2013-07-22 09:39 UTC, hdu@apache.org
no flags Details
screenshot of the sample document above (47.93 KB, image/png)
2013-07-22 09:47 UTC, hdu@apache.org
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description hdu@apache.org 2013-07-22 09:30:25 UTC
Image handling using the StretchAndConvert() method results in poor artifacts especially at the edges and/or when the image to be scaled has extents of only a few pixels.
Comment 1 hdu@apache.org 2013-07-22 09:39:34 UTC
Created attachment 81110 [details]
sample document which clearly shows the problem
Comment 2 hdu@apache.org 2013-07-22 09:47:26 UTC
Created attachment 81111 [details]
screenshot of the sample document above
Comment 3 SVN Robot 2013-07-22 09:50:09 UTC
"hdu" committed SVN revision 1505643 into trunk:
#i122796# fix half-pixel offset in StretchAndConvert() image scaling
Comment 4 hdu@apache.org 2013-07-22 09:52:16 UTC
The commit above fixed this age-old problem.