If you are not redirected automatically, go to Eto.Drawing.Palette.Save(System.IO.BinaryWriter,System.Int32,System.Boolean).