o3124568 Posted July 5, 2021 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 6 Reputation: 0 Joined: 07/04/12 Last Seen: February 7 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...
Question
o3124568
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++; }
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.