Merge pull request #28587 from Daw11/lanczos
Implement Lanczos image filter
This commit is contained in:
commit
05cb337f2d
5 changed files with 161 additions and 2 deletions
|
|
@ -603,6 +603,8 @@
|
|||
If the image does not have mipmaps, they will be generated and used internally, but no mipmaps will be generated on the resulting image. (Note that if you intend to scale multiple copies of the original image, it's better to call [code]generate_mipmaps[/code] on it in advance, to avoid wasting processing power in generating them again and again.)
|
||||
On the other hand, if the image already has mipmaps, they will be used, and a new set will be generated for the resulting image.
|
||||
</constant>
|
||||
<constant name="INTERPOLATE_LANCZOS" value="4" enum="Interpolation">
|
||||
</constant>
|
||||
<constant name="ALPHA_NONE" value="0" enum="AlphaMode">
|
||||
</constant>
|
||||
<constant name="ALPHA_BIT" value="1" enum="AlphaMode">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue