336 B
336 B
shrink
Shrinks the current image into a blittle image.
Returns:
objectThe object in use
Usage:
- Creates a default image and loads a test.nfp file
local mainFrame = basalt.createFrame()
local aImage = mainFrame:addImage():loadImage("test.nfp"):shrink()
<image path="test.nfp" shrink="true" />