o3124568 Posted July 5, 2021 Share Posted July 5, 2021 (edited) As title. I wonder if script can do layer(frame) out put with png. Cause i found out that if i just use save in gif. The shadow / transparent / effect part will lost in some frame. This is a part of my script. This part only saving the original image file. GrfImage image = act.Sprite.GetImage(layer.SpriteIndex, layer.SpriteType); if (image != null) { image.MakePinkTransparent(); image.MakeFirstPixelTransparent(); image.Convert(GrfImageType.Bgra32); image.Save("C:\\Users\\USER\\Desktop\\ouput\\"+id+".png"); id++; } Edited July 5, 2021 by o3124568 Quote Link to comment Share on other sites More sharing options...
As title.
I wonder if script can do layer(frame) out put with png.
Cause i found out that if i just use save in gif.
The shadow / transparent / effect part will lost in some frame.
This is a part of my script.
This part only saving the original image file.
GrfImage image = act.Sprite.GetImage(layer.SpriteIndex, layer.SpriteType); if (image != null) { image.MakePinkTransparent(); image.MakeFirstPixelTransparent(); image.Convert(GrfImageType.Bgra32); image.Save("C:\\Users\\USER\\Desktop\\ouput\\"+id+".png"); id++; }
Edited by o3124568Link to comment
Share on other sites