Bug 690674

Summary: Affine images are rendered wrong.
Product: MuPDF Reporter: Tor Andersson <tor.andersson>
Component: fitzAssignee: Tor Andersson <tor.andersson>
Status: RESOLVED FIXED    
Severity: major CC: sebastian.rasmussen
Priority: P4    
Version: unspecified   
Hardware: All   
OS: All   
Customer: Word Size: ---

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. ***