ID:2023460
 
(See the best response by Super Saiyan X.)
As an example, I'd like use SwapColor on an icon to remove the color pink and then I want to save that icon to disk as an image or icon. Is that possible?
Best response
Sure, you can use fcopy(icon, "file name.png").

And if you want to save it to the client you can use ftp().
Ah, neat and so easy. Thanks!