// Token: 0x060016F2 RID: 5874 RVA: 0x00037948 File Offset: 0x00035B48 public static void smethod_8(Bitmap image, Stream image_stream, int quality, int width, int height) { using (Bitmap bitmap = new Bitmap(image, width, height)) { Class157.smethod_5(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); } }
// Token: 0x060016F0 RID: 5872 RVA: 0x00006D1A File Offset: 0x00004F1A public static void smethod_6(Bitmap image, Stream image_stream, int quality) { Class157.smethod_7(image, image_stream, quality, Class157.smethod_1()); }
// Token: 0x060016ED RID: 5869 RVA: 0x00006CF5 File Offset: 0x00004EF5 public static ImageCodecInfo smethod_3() { return(Class157.smethod_4(ImageCodecInfo.GetImageDecoders(), Class157.guid_0, Class157.string_1)); }
// Token: 0x060016EB RID: 5867 RVA: 0x00006CC9 File Offset: 0x00004EC9 public static ImageCodecInfo smethod_1() { return(Class157.smethod_4(ImageCodecInfo.GetImageEncoders(), Class157.guid_1, Class157.string_2)); }
// Token: 0x060016F5 RID: 5877 RVA: 0x00006D29 File Offset: 0x00004F29 public static void smethod_11(Bitmap image, Stream image_stream, Color backColor, int quality) { Class157.smethod_10(image, image_stream, backColor, quality, image.Width, image.Height); }