after searching through the web, i found these codes can help you 
[url=http://www.rasteredge.com/how-to/csharp-imaging/scale-image/]scale 
image[/url] from any image formats and save to image formats you want.
private void button1_Click(object sender, EventArgs e)
        {
            string fileName = "c:/Sample.png";

            REImage reImage = REFile.OpenImageFile(fileName);

            ImageProcessing.ApplyResize(reImage, 0.5f);

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

and you can check this tutorial on 
[url=http://www.rasteredge.com/how-to/csharp-imaging/view-operate-online/]image 
displaying[/url] as well.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=f695a7c1-2d85-44b6-89a6-31e323fbcdb3


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to