// Token: 0x060016F3 RID: 5875 RVA: 0x00037984 File Offset: 0x00035B84 public static void smethod_9(Bitmap image, Stream image_stream, int quality, int width, int height) { using (Bitmap bitmap = new Bitmap(image, width, height)) { Class157.smethod_6(bitmap, image_stream, quality); } }
// Token: 0x060016F4 RID: 5876 RVA: 0x000379C0 File Offset: 0x00035BC0 public static void smethod_10(Bitmap image, Stream image_stream, Color backColor, int quality, int width, int height) { using (Bitmap bitmap = new Bitmap(width, height)) { using (Graphics graphics = Graphics.FromImage(bitmap)) { graphics.SmoothingMode = SmoothingMode.HighQuality; graphics.InterpolationMode = InterpolationMode.High; graphics.CompositingQuality = CompositingQuality.HighQuality; graphics.Clear(backColor); graphics.DrawImage(image, new Rectangle(Point.Empty, new Size(width, height))); } Class157.smethod_6(bitmap, image_stream, quality); } }