Image size?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • perspolis

    #1

    Image size?

    hi all
    I want to decrease size of an image without losing it's content.
    for example decreasing size of an image by 20%.
    thx in advance


  • Marinus Holkema

    #2
    RE: Image size?

    You can do this by setting the SizeMode to StretchImage (using a PictureBox)

    "perspolis" wrote:
    [color=blue]
    > hi all
    > I want to decrease size of an image without losing it's content.
    > for example decreasing size of an image by 20%.
    > thx in advance
    >
    >
    >[/color]

    Comment

    • perspolis

      #3
      Re: Image size?

      after using StretchImage then can I save tht pic with it's new size.?
      "Marinus Holkema" <MarinusHolkema @discussions.mi crosoft.com> wrote in
      message news:35A226CE-D2A8-4CE6-B9EF-B0730D87B559@mi crosoft.com...[color=blue]
      > You can do this by setting the SizeMode to StretchImage (using a[/color]
      PictureBox)[color=blue]
      >
      > "perspolis" wrote:
      >[color=green]
      > > hi all
      > > I want to decrease size of an image without losing it's content.
      > > for example decreasing size of an image by 20%.
      > > thx in advance
      > >
      > >
      > >[/color][/color]


      Comment

      • Saso Zagoranski

        #4
        Re: Image size?

        you can use:
        Image.GetThumbn ailImage(Width, Height,null,Int Ptr.Zero);

        hth,
        saso
        -----Izvirno sporoèilo-----
        Od: perspolis [mailto:rezarms@ hotmail.com]
        Poslano: 30. maj 2005 10:04
        Objavljeno v: microsoft.publi c.dotnet.langua ges.csharp
        Pogovor: Image size?
        Zadeva: Image size?

        hi all
        I want to decrease size of an image without losing it's content.
        for example decreasing size of an image by 20%.
        thx in advance


        Comment

        Working...