| Windows with Delphi Windows API (94) Windows Filesystem (41) Windows Forms (69) Windows Graphics (38)
|
Convert text to a GIF image
Question: I need to dynamically display buttons on my web site that contain some text (not static text). How can I create a GIF image showing text?Answer: You need to get a TGIFImage component first - or decide to use the JPEG format. For text buttons, GIF will generate smaller files though at better quality.Ideally you should use the PNG file format - they are the smallest at lossless quality. However, I don't know of a PNG unit. See the article referenced above where to get a TGIFImage component. Then use the procedure from below.
Comments:
|