FilterQuality
Inherits: Enum
Quality levels for image sampling in Image and DecorationImage objects.
Properties
-
HIGH–Best possible quality when scaling up images by scale factors larger than 5-10x.
-
LOW–Better quality than none, faster than medium.
-
MEDIUM–The best all around filtering method that is only worse than high at extremely
-
NONE–The fastest filtering method, albeit also the lowest quality.
Properties#
HIGH = 'high'
class-attribute
instance-attribute
#
Best possible quality when scaling up images by scale factors larger than 5-10x. When images are scaled down, this can be worse than medium for scales smaller than 0.5x, or when animating the scale factor. This option is also the slowest.
LOW = 'low'
class-attribute
instance-attribute
#
Better quality than none, faster than medium.
MEDIUM = 'medium'
class-attribute
instance-attribute
#
The best all around filtering method that is only worse than high at extremely large scale factors.
NONE = 'none'
class-attribute
instance-attribute
#
The fastest filtering method, albeit also the lowest quality.