You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Image Library > copy

10.2 copy

cimage = image:copy(width, height)

Returns a copy of the input image scaled to fit the specified pixel width and height. The width and height default to the size of the input image.

Introduced in platform.apiLevel = '1.0'