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
Started by
tic
, Dec 09 2007 04:23 PM
64 replies to this topic
Ok I found a working download: http://infoki.net/m/post/689
#62
-
Posted 25 September 2015 - 01:09 AM
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.
#63
-
Posted 26 September 2015 - 04:36 AM
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)
#64
-
Posted 05 October 2015 - 03:03 PM