Package: gdk-pixbuf
Function gdk-pixbuf-scale
Lambda Listgdk-pixbuf-scale (src dest x y width height xoffset yoffset xscale
yscale interp) ArgumentsDetails Creates a transformation of the source image src by scaling by xscale and yscale then translating by xoffset and yoffset, then renders the rectangle (x, y, width, height) of the resulting image onto the destination image replacing
the previous contents. Try to use the gdk-pixbuf-scale-simple function first, this function is the industrial-strength power tool you can fall back to if the gdk-pixbuf-scale-simple function is not powerful enough. If the source rectangle overlaps the destination rectangle on the same pixbuf, it will be overwritten during the scaling which results in rendering artifacts. | See also |
2021-12-12