|
C# Graphics Server Currently the only function provided is the ability to generate text images using generateimage.aspx This has been updated to export images using an adaptive palette. The filename of the image and filetype form the basis, with the querystring parameters are as follows h - The pixel height of the image to generate (default = 400) w - The pixel width of the image to generate (default = 30) font - The name of the font for the title (default = arial) size - The point size of the font for the title (default = 18pt) color - The color of the font - hex reference (default = 000000) bgcolor - The color of the background - hex reference (default = FFFFFF) italic - True (if in querystring) bold - True (if in querystring) x - No of pixels from top (default = 0) y - No of pixels from left (default = 0) transparent - True / False (default). Determines whether the image has a transparent background (png only) Sample Uses .Net%20Graphics%20Server.png?w=400&h=50&font=Verdana&size=24&color=660000&bgcolor=ED9120&transparent=true .Net%20Graphics%20Server.gif?w=400&h=50&font=Verdana&size=24&color=FFFFFF&bgcolor=ED9120 .Net%20Graphics%20Server.gif?x=20&y=5&w=400&h=50&size=28&color=FFFFFF&bgcolor=81C15A .Net%20Graphics%20Server.gif?x=20&y=5&w=400&h=50&font=verdana&size=22&color=0000CC&bgcolor=fae663&bold .Net%20Graphics%20Server.gif?x=20&y=5&w=400&h=600&font=verdana&size=22&color=0000CC&bgcolor=fae663&bold&autoresize=true&wrap=true |