Overlay.png is a small image that sits under the text and aids in readability. MemoryStream outputStream = new MemoryStream() Gr.DrawString((), font, new (color), new (img.Width - 40, img.Height - 15), stringFormat) Gr.DrawImage(imgOverlay, new (img.Width - 78, img.Height - 25)) Gr.SmoothingMode = SmoothingMode.AntiAlias StringFormat.LineAlignment = StringAlignment.Center StringFormat.Alignment = StringAlignment.Center StringFormat stringFormat = new StringFormat() imgOverlay = ("overlay.png") įont font = new Font("Times New Roman", (float)12, ) I have posted my code here for others to see the solution. I know there are a couple of libraries out there but would like to actually have the c# code itself as I can see a few applications of that here at Muppet Labs plus it'd be nice to learn this also. Filo v.2.0 Filo enables you to modify the date, time, and attribute properties of selected files and folders.It is particularly handy for giving files and folders the same time and date stamp, and modifying sets of files based on their existing attributes. jpg file in the bottom right hand corner of the photo? Stamp Time and Date On Multiple Images Software v.7.0 Add time and date stamp (watermark) to many pictures at once. I'll be writing this as a WPF application but does anyone have sample c# code on how to add text to a. I have a bunch of photos at home that I'd like to add a time and date stamp to based on the file properties.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |