Hey tic, can you reupload this function? Else if anyone still has this can you reupload it or point me to another function that can do what this does?
TextToImage 1.07 - Write text onto an image or screenshot
OK. This function is not working correctly with the latest 1.1x AutoHotKey version. I have to install the 1.0x version. Unfortunately I need the latest version to do everything I need for my project.
Does anyone know what needs to be changed to get this working correctly in the latest version. Basically it's not reading the parameters correctly, the Screenshot.png file from the example is being made into a file called "S" with no extension and sometimes randomly doesn't do anything.
This function was written before the Gdip library. Equivalent code would be something like
pToken := Gdip_Startup() pBitmap := Gdip_CreateBitmapFromFile("myImage.png") G := Gdip_GraphicsFromImage(pBitmap) Gdip_TextToGraphics(G, "Hello!", "x10 y10", "Arial") Gdip_SaveBitmapToFile(pBitmap, "myOutImage.png") Gdip_DeleteGraphics(G), Gdip_DisposeImage(pBitmap) Gdip_Shutdown(pToken)