Bug 248680 - transform worker does not clear pixels
Summary: transform worker does not clear pixels
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Transform (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Marc Pegon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-22 10:39 UTC by Halla Rempt
Modified: 2010-08-28 03:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Halla Rempt 2010-08-22 10:39:33 UTC
When using the transform worker to create a transform that results in a smaller area than the original image, the remaining pixels are only set to transparent, not to the default pixel or cleared. This leads to incorrect exactBounds calculations. Run the KisTransformWorkerTest with the image generation code uncommented to see the effect: it makes all pixels of the result 50% transparent, and presto: the original pixels are visible.