GDI+ question

  • Thread starter Thread starter ivang
  • Start date Start date
ivang,

Create a System.Drawing.Bitmap to contain your image (you dont say what the
source of your image is, but take a look at the constructors & members for
the Bitmap class in MSDN library for inspiration).

Call the SetResolution() method to set your desired resolution and the
Save("myfile.jpg", ImageFormat.Jpeg) method to save to a file, with the jpeg
format.

HTH,
Chris.
 
Hello, Chris!

Thanks, SetResolution() helped.

CB> Create a System.Drawing.Bitmap to contain your image (you dont say what
CB> the source of your image is, but take a look at the constructors &
CB> members for the Bitmap class in MSDN library for inspiration).

CB> Call the SetResolution() method to set your desired resolution and the
CB> Save("myfile.jpg", ImageFormat.Jpeg) method to save to a file, with the
CB> jpeg format.

CB> HTH,
CB> Chris.

CB> "ivang" wrote:

??>> Hi.
??>>
??>> How to create and save JPEG bitmap with 300dpi?
??>>
??>> Thanks
 
Back
Top