Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
media:crop(x,y, width, height) really not working. — Gideros Forum

media:crop(x,y, width, height) really not working.

AniketAniket Member
edited August 2014 in Plugins
local media = Media.new(e.path)
local path = ""
media:crop(x, y, width, height)
media:copy("|D|stem_before.png")
media:save()
media:copy("|D|stem_after.png")
path = media:getPath()

The path never changes. 'e.path' is the same as 'path' if I do media:getWidth() at any point, it's the old width, uncropped.
Sign In or Register to comment.