Converting images

TheFly

New member
Joined
Oct 16, 2003
Messages
3
Location
Australia
:confused: Hello, Im looking for a way to create small samples in .jpg of .psd
Please, does anyone know how I can do that

Thanks
 
Easy.

Load the image into a bitmap

Code:
dim bmp as bitmap = new bitmap("c:\MyPNG.png")
or any type

Save it with a certain type.

Code:
       bbmp.Save("C:\Myjpg.jpg", System.Drawing.Imaging.ImageFormat.Jpeg)
Look in system.drawing.imaging.imageformat, youll see quite a few different format types.
 
Back
Top