User Profile

Collapse

Profile Sidebar

Collapse
arashkey
arashkey
Last Activity: Oct 27 '07, 07:30 PM
Joined: Jan 5 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • arashkey
    replied to How can save the picture with low quality
    in .NET
    oh i am sorry
    i am understand all things
    i change your function :
    Code:
    ' in the main
     f1.SaveAs(savePath)
     Dim img As Drawing.Bitmap
     img = createThumnail(savePath, 50, 50)
    Code:
    Private Function createThumnail(ByVal ImagePath As String, ByVal tWidth As Double, ByVal tHeight As Double) As Drawing.Bitmap
            Dim g As System.Drawing.Image = System.Drawing.Image.FromFile(ImagePath)
            Dim
    ...
    See more | Go to post

    Leave a comment:


  • arashkey
    replied to How can save the picture with low quality
    in .NET
    but i have some problem
    for example
    the compiler said
    BrowsImageProje ct , File , ... : is not declared
    ProjectData, ... : is not defined
    how can i correct this Error
    and also i just have path of picture
    for example "c:\file\pic\1. gif" or "c:\file\pic\3. jpg"...
    See more | Go to post

    Leave a comment:


  • arashkey
    replied to How can save the picture with low quality
    in .NET
    tanks a lot
    it's so nice
    See more | Go to post

    Leave a comment:


  • arashkey
    started a topic How can save the picture with low quality
    in .NET

    How can save the picture with low quality

    Before this topic I save the picture with this code
    Code:
      Dim savePath As String = Server.MapPath("picture\")
           If (f1.HasFile) Then
             pnlUpload.Visible = False
             lblMessage.Text = "<embed align=bottom src=""inc/u.swf"" ></embed>"
        Dim fileName As String = f1.FileName
    Try
      savePath &= CInt(intPic) & "."
    ...
    See more | Go to post
No activity results to display
Show More
Working...