Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Afficher les Propriétés d’une image

Modifier,le,mode,de,composition,d'une,image
{filelink=16678}

using System;
using System.IO;
using System.Drawing;
 
class PropietesBitmap
{
    static public void Main()
    {
        Bitmap monImage = new Bitmap("find.jpg");
 
        Console.WriteLine(monImage.PhysicalDimension);
        Console.WriteLine(monImage.VerticalResolution);
        Console.WriteLine(monImage.Height);
        Console.WriteLine(monImage.Width);
        Console.WriteLine(monImage.RawFormat);
        Console.WriteLine(monImage.Size);
    }
}

No comments yet.

Leave a Comment