private void HW_Filter_Fitmap_ChannelHuffman(object sender, EventArgs e) { Console.WriteLine($"Fitmap Channel Huffman"); Fitmap f = Fitmap.SaveBitmap(m_Bitmap, "D:/file.fmp2", FitmapCompression.CompressionType.HuffmanPerChannel); m_Bitmap = f.GetBitmap(); this.Invalidate(); }
private void HW_Filter_Fitmap_Downsample(object sender, EventArgs e) { Console.WriteLine($"Fitmap downsample"); Fitmap f = Fitmap.SaveBitmap(m_Bitmap, "D:/file.fmp", FitmapCompression.CompressionType.NoCompression); m_Bitmap = f.GetBitmap(); this.Invalidate(); }