Large Image

K

kresimir ivkovic

This code doesnt work (VB).
My quest is how this big image crop and display in picturebox. Thanx

bmp = New Bitmap("C:\diagnostics5.jpg") ' dimension 40000 x 400 !!! in 16bit

PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage
PictureBox1.Image = bmp.Clone(New Rectangle(0, 0, 100, 200),
Imaging.PixelFormat.Format16bppRgb555)
 
K

kresimir ivkovic

My appologize for wrong code.

only notice ->
Really developer read object in VB and C# :))
and
microsoft.public.dotnet.vb doesnt exist.

And please do you know how i put jpf 40000*400 in picture box and displaying
??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top