Esempio n. 1
0
        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();
        }
Esempio n. 2
0
        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();
        }