You are on page 1of 1

system.drawing.image i = system.drawing.image.fromfile(server.

mappath("jumbo/" +
filename));

float h = i.height;
float w = i.width;
float height, width;

//to store..
bitmap b = new bitmap(i, (int)width/*width*/, (int)height/*height*/);

graphics g = graphics.fromimage(b);

You might also like