예제 #1
0
        // Method to save a collection in its original format
        public override void SaveCollection(string directory, string file, XCImageCollection images)
        {
            var ib = new DSShared.Windows.InputBox("Enter Pck Options", SavingOptions);

            if (ib.ShowDialog() == DialogResult.OK)
            {
                int bpp = 4;
                if (radio2.Checked)
                {
                    bpp = 2;
                }

                PckFile.Save(directory, file, images, bpp);
            }
        }
예제 #2
0
		//Method to save a collection in its original format
		public override void SaveCollection(string directory, string file,XCImageCollection images)
		{
			DSShared.Windows.InputBox ib = new DSShared.Windows.InputBox("Enter Pck Options", SavingOptions);

			if (ib.ShowDialog() == DialogResult.OK)
			{
				int bpp = 4;
				if (radio2.Checked)
					bpp = 2;

				PckFile.Save(directory, file, images, bpp);
			}
		}