Plugin - resizing image (1 Viewer)

cane

MP Donator
  • Premium Supporter
  • October 20, 2007
    129
    48
    Zagreb
    Home Country
    Croatia Croatia
    Hello, my first post here, but I'm long time lurker.

    Writing my first plugin and off course I ran into problem. I'm trying to resize image, its height according to value from my plugin using following:
    Code:
    imgLine.Height = Convert.ToInt32(height);
    Image height is resized, but I get blured top and bottom of image as can be seen on my screengrab. The top image is resized image with blur, and the bottom image is the same image but in original size. How can I change height of image and not get this blur?
    Tried to search on forum for something similar but with no luck.
     

    Attachments

    • SS1.png
      SS1.png
      27.5 KB

    Users who are viewing this thread

    Top Bottom