|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
resize an image and keep it's proportion?I'm trying to make a simple little image viewing program to help me
organize my photo's. But I'm having trouble with resizing the image so it fits in my picturebox in it's proper proportions. ------- Kyote Please reply to the group. Are you trying to recreate the .gif/.jpg/.jpeg file, or are you simply
trying to determine the values to use for the Height and Width properties? Show quoteHide quote "Kyote" <truthowl@nospamgmail.com> wrote in message news:l7p5b2h4kb2ksckoa48bi4fqf7k9uo2sre@4ax.com... > I'm trying to make a simple little image viewing program to help me > organize my photo's. But I'm having trouble with resizing the image > so it fits in my picturebox in it's proper proportions. > > > > ------- > Kyote > Please reply to the group. I'm simply trying to open an existing image file *.jpg in a picturebox
control and resize it to fit while maintaining it's proportions. On Mon, 10 Jul 2006 21:48:50 -0400, "Nathan Sokalski" <njsokal***@hotmail.com> wrote: Show quoteHide quote >Are you trying to recreate the .gif/.jpg/.jpeg file, or are you simply >trying to determine the values to use for the Height and Width properties? On Mon, 10 Jul 2006 19:11:43 -0500, Kyote <truthowl@nospamgmail.com>
wrote: >I'm trying to make a simple little image viewing program to help me If using vb2005, go to the Help file. Search "GDI+ images".>organize my photo's. But I'm having trouble with resizing the image >so it fits in my picturebox in it's proper proportions. > > > >------- >Kyote >Please reply to the group. Get the example. Run the example and note the use of "Zoom percent" when opening a file. Gene On Tue, 11 Jul 2006 00:04:01 -0700, gene kelley <o***@by.me> wrote:
Show quoteHide quote >On Mon, 10 Jul 2006 19:11:43 -0500, Kyote <truthowl@nospamgmail.com> Thanks Gene. Yes I'm using vb2005 and I'm trying your recommendation.>wrote: > >>I'm trying to make a simple little image viewing program to help me >>organize my photo's. But I'm having trouble with resizing the image >>so it fits in my picturebox in it's proper proportions. >> >> >> >>------- >>Kyote >>Please reply to the group. >If using vb2005, go to the Help file. Search "GDI+ images". >Get the example. Run the example and note the use of "Zoom percent" >when opening a file. > >Gene It looks to have all I should need to understand how to do what I want to do. Thank you for pointing me in the right direction. I never would have thought to search for GDI+. ------- Kyote Please reply to the group. |
|||||||||||||||||||||||