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..
for e.g. : watermark image should be 30% of the original image. I'm doing this in c#:
imageGraphics.FillRectangle(watermarkBrush, new Rectangle(new Point(x,y), new Size(watermarkImage.Width + 1, watermarkImage.Height)));
What am i supposed to do to first get image size and then change watermark image size accordingly ??