コード例 #1
0
		public static object GetInstance(QuantizeSettings obj)
		{
			if (ReferenceEquals(obj, null))
				return null;
			return obj._Instance;
		}
コード例 #2
0
		public void Test_Quantize()
		{
			QuantizeSettings settings = new QuantizeSettings();
			settings.Colors = 8;

			using (MagickImage image = new MagickImage(Files.FujiFilmFinePixS1ProJPG))
			{
				image.Quantize(settings);
			}
		}