title: C# change watermark image size depending upon original image
body: <p>I'm watermarking my images before uploading.
  the problem im facing is if the image is small, the watermark looks to big..
  i want to change watermark image size according to the original image..</p>
  
  <p>for e.g. : watermark image should be 30% of the original image.
  I'm doing this in c#:</p>
  
  <blockquote>
    <p>imageGraphics.FillRectangle(watermarkBrush, new Rectangle(new Point(x,y), new Size(watermarkImage.Width + 1, watermarkImage.Height)));</p>
  </blockquote>
  
  <p>What am i supposed to do to first get image size and then change watermark image size accordingly ??</p>