<% ' USE THIS PAGE TO CONFIGURE A WATERMARK DRAWN OVER IMAGE WITH ASP.NET IMAGE RESIZING METHOD ' If you familiar with ASP.NET and GDI+, then you may further modify dotnet_resize.aspx ' directly and add a small logo to images, highlight text, create other graphics.. etc. ' ========================== ' Text to Draw over Image ' Make sure text is enclosed in double-quotes and does not itself contain double-quotes. watermark = "Change watermark in config/dotnet_img_config.asp" ' ========================== ' Font Family Name font_name = "Arial" ' ========================== ' Font Size (in [pixel] units) font_size = 12 ' ========================== ' Font Color (must be a hex value) and transparency (value between 0 - 255). ' transparency: 255 - fully opaque, 0 - fully transparent. font_color = "BED4FF" font_transparency = 255 ' ========================== ' Watermark alignment. Following values are accepted: ' watermark_alignment = 1 - top-left ' watermark_alignment = 2 - top-right ' watermark_alignment = 3 - center ' watermark_alignment = 4 - bottom-left ' watermark_alignment = 5 - bottom-right watermark_alignment = 4 ' ========================== ' Text Offset from image sides (in pixels) text_offset = 5 ' ========================== ' Shadow Color (must be a hex value) and transparency (value between 0 - 255). ' transparency: 255 - fully opaque, 0 - fully transparent. ' Shadow is best suited for fully opaque main font color, where font_transparency = 255 shadow_color = "000000" shadow_transparency = 200 ' ========================== ' Shadow Offset (in [px] units). shadowX - horizontal offset. shadowY - vertical offset. ' Could accept positive or negative values. shadowX = 1 shadowY = 1 ' ========================== ' Text Style. Following values are accepted: ' font_style = 0 - normal ' font_style = 1 - bold ' font_style = 2 - italic ' font_style = 3 - bold + italic ' font_style = 4 - underline ' font_style = 5 - bold + underline ' font_style = 6 - italic + underline ' font_style = 7 - bold + italic + underline font_style = 1 ' ========================== ' Image Quality. Values are between 1 and 100. Reasonable values are between 30 and 80. ' The higher value would result in higher quality but larger image file size ' and vise versa. Note: Quality is irrelevant for .PNG and .GIF images. Image_Quality = 75 %>