help with VB text to gif conversion

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
minus4

help with VB text to gif conversion

Post by minus4 »

hi there, have almost got this working great but for some reason i cant seem to get the height

example i have some text "this is some text" loaded in font with -pointsize 55

what i get is an image of about 10px high so only see top of the words, i cant use -size as the width can not be set and needs to be random to the lengh of the text string

here is my code

Code: Select all

msgs = img.convert("-background", "transparent", "-font", setFont(rsTemp("fontF")), "-gravity", gravity, "-pointsize", Int(rsTemp("fontSize")), "label:"&cleantext(rsTemp("textused"))&"",  "D:\path\temp\"&filename&".gif")
the functions setFont just swapps the space within a font name to a - and cleantext changes vbCrlf into \n

also i must note that this is on a loop, so it creates like 4-10 images

thanks very much

dave
minus4

Re: help with VB text to gif conversion

Post by minus4 »

this is now fixed, all works fine i had it set as a background without a no-repeat tag so ended up looking strange

thanks though
Post Reply