Bug 690674 - Affine images are rendered wrong.
Summary: Affine images are rendered wrong.
Status: RESOLVED FIXED
Alias: None
Product: MuPDF
Classification: Unclassified
Component: fitz (show other bugs)
Version: unspecified
Hardware: All All
: P4 major
Assignee: Tor Andersson
URL:
Keywords:
: 690752 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-31 07:14 UTC by Tor Andersson
Modified: 2010-05-14 22:24 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tor Andersson 2009-07-31 07:14:31 UTC
After the image clamp-to-edge code was inserted affine images are misrendered. The current image 
drawing code fills the bounding box that covers the image area with samples taken from the image. This 
means that images that have a non-rectilinear transform (non-90-degree rotation or shearing) will "leak".  
We should use the path scanning logic to fill a rectangular path with image samples instead, and then we 
will also get antialiased image edges as an added bonus.
Comment 1 Tor Andersson 2009-09-23 06:06:35 UTC
*** Bug 690752 has been marked as a duplicate of this bug. ***