Ask Your Question

Revision history [back]

Hello.Here is my code to load image in c#,you can have a look: using RasterEdge.Imaging.Basic.Core; using RasterEdge.Imaging.Basic.Codec; using RasterEdge.Imaging.Basic;

namespace RE__Test { public partial class Form1 : Form { public Form1() { InitializeComponent(); }

    private void button1_Click(object sender, EventArgs e)
    {
        string fileName = "c:/Sample.png";

        REImage reImage = REFile.OpenImageFile(fileName);

        REFile.SaveImageFile(reImage, "c:/reimage.png", new PNGEncoder());
    }
}
click to hide/show revision 2
No.2 Revision

Hello.Here is my code to load image in c#,you can have a look: using RasterEdge.Imaging.Basic.Core; using RasterEdge.Imaging.Basic.Codec; using RasterEdge.Imaging.Basic;remove spam

namespace RE__Test { public partial class Form1 : Form { public Form1() { InitializeComponent(); }

    private void button1_Click(object sender, EventArgs e)
    {
        string fileName = "c:/Sample.png";

        REImage reImage = REFile.OpenImageFile(fileName);

        REFile.SaveImageFile(reImage, "c:/reimage.png", new PNGEncoder());
    }
}