| Off Topic > Off Topic |
| Programming Megathread |
| << < (234/241) > >> |
| Timestamp:
--- Quote from: Foxscotch on May 10, 2017, 10:09:18 PM ---this term kills me because my boss won't quit loving saying it every damn day --- End quote --- latest and greatest marketing |
| Drydess:
latest and greatest phrases |
| Bow:
--- Code: ---using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace comic_maker_ { public partial class Form1 : Form { public Form1() { InitializeComponent(); comicmake("C:\\Users\\User\\Desktop\\test.bmp", "test"); } public static void comicmake(string characterimage, string message) { Bitmap img = (Bitmap)Bitmap.FromFile(characterimage); Bitmap msgbox = (Bitmap)Bitmap.FromFile("C:\\Users\\Scotty\\Desktop\\message.bmp"); //create the image of the msgbox for (int x = 0; x < msgbox.Width; x++) { for (int i = 0; i < 25; i++) { msgbox.SetPixel(x, i, Color.Black); } } for (int x = 0; x < msgbox.Width; x++) { for (int i = 0; i < 25; i++) { msgbox.SetPixel(x, 22 + i, Color.Black); } } for (int h = 0; h < msgbox.Height; h++) { for (int w = 0; w < 25; w++) { msgbox.SetPixel } } msgbox.Save(@"C:\\Users\\User\\Desktop\\Possible_Future_Usage\\message.bmp"); //now apply that msgbox to the image /*for (int y = 0; y < msgbox.Height; y++) { for (int x = 0; x < msgbox.Width; x++) { if (msgbox.GetPixel(x, y) == Color.White) { img.SetPixel(x + 250, y + 250, msgbox.GetPixel(x, y)); } } }*/ } } } --- End code --- Im working on a comic maker that takes text and makes it into a comic. Example: Person said, "hello there!", and the program will generate an image that has a text box saying "hello there!" I've also made some other stuff as well, such as a discord bot, a twitch bot, a websever, and a game (which is in WIP). All in C#. |
| Metario:
bump |
| Steve5451²:
made videos resizable on my bl embedder script last night https://gfycat.com/MenacingTenderAndeancondor it was a big pain in the ass |
| Navigation |
| Message Index |
| Next page |
| Previous page |