[Mono-devel-list] System.Drawing.Imaging.Encoder.cs

Ravindra rkumar at novell.com
Fri Jan 16 10:43:06 EST 2004


Hi Duncan and Alexandre,
Please find attached a new file 'Encoder.cs'. It is a non-implemented
class. FYI, I have tested it. Kindly let me know, if I need to change
anything before committing it. Also, let me know if there is something
that I should be taking care while adding a new file.

Waiting for your comments.

Thanks
Ravindra
-------------- next part --------------
//
// System.Drawing.Imaging.Encoder.cs
//
// (C) 2003 Novell, Inc.  http://www.novell.com
// Author: Ravindra (rkumar at novell.com)
//

using System;

namespace System.Drawing.Imaging 
{
	public sealed class Encoder
	{
		Guid guid;

		public static readonly Encoder ChrominanceTable;
		public static readonly Encoder ColorDepth;
		public static readonly Encoder Compression;
		public static readonly Encoder LuminanceTable;
		public static readonly Encoder Quality;
		public static readonly Encoder RenderMethod;
		public static readonly Encoder SaveFlag;
		public static readonly Encoder ScanMethod;
		public static readonly Encoder Transformation;
		public static readonly Encoder Version;

		static Encoder ()
		{
			ChrominanceTable = new Encoder ("f2e455dc-09b3-4316-8260-676ada32481c");
			ColorDepth = new Encoder ("66087055-ad66-4c7c-9a18-38a2310b8337");
			Compression = new Encoder ("e09d739d-ccd4-44ee-8eba-3fbf8be4fc58");
			LuminanceTable = new Encoder ("edb33bce-0266-4a77-b904-27216099e717");
			Quality = new Encoder ("1d5be4b5-fa4a-452d-9cdd-5db35105e7eb");
			RenderMethod = new Encoder ("6d42c53a-229a-4825-8bb7-5c99e2b9a8b8");
			SaveFlag = new Encoder ("292266fc-ac40-47bf-8cfc-a85b89a655de");
			ScanMethod = new Encoder ("3a4e2661-3109-4e56-8536-42c156e7dcfa");
			Transformation = new Encoder ("8d0eb2d1-a58e-4ea8-aa14-108074b7b6f9");
			Version = new Encoder ("24d18c76-814a-41a4-bf53-1c219cccf797");
		}
		
		internal Encoder (String guid) {
			this.guid = new Guid (guid);
		}

		public Encoder (Guid guid) {
			this.guid = guid;
		}

		public Guid Guid {
			get {
				return guid;
			}
		}
	}
}


More information about the Mono-devel-list mailing list