Closed (outdated)
Project:
Textimage
Version:
6.x-2.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 May 2007 at 23:58 UTC
Updated:
1 Apr 2016 at 14:54 UTC
Jump to comment: Most recent
Hey -- just wondering if anyone else has seen this. I've tried a few different fonts but get the same result, so I'm wondering if perhaps the server I'm using is missing a component of some sort?
I've attached a resulting graphic when I choose the option of using a transparent background for the generated image. It looks a little odd. ;)
Brad
| Comment | File | Size | Author |
|---|---|---|---|
| messed up.gif | 2.07 KB | BradM |
Comments
Comment #1
BradM commentedI noticed that the titles generated, when transparent background is selected, still show up as JPEGs. Is there some sort of Linux/Unix or whatever module that must be installed in order to generate GIF files?
Comment #2
bobblebrook commentedWe've been having the same problem. It appears only with transparent backgrounds (i.e. no background color specified). This happens only on our production server; a local installation of XAMPP displays everything correctly.
I've hacked around in the module file and found the following fix. Haven't tested it extensively, and honestly I don't know the first thing about GD or Freetype, so use at your own risk.
In textimage.module, at line 1053 (that's in the textimage_text_to_image function, just before the call to imagettftext), insert the following:
imagealphablending($img, true);
Hope this will be helpful for someone.
Comment #3
decipheredI have implemented something similar in the recent dev builds.
Marking as fixed, but feel free to to re-open the issue if the latest changes don't resolve your issue.
Comment #4
decipheredComment #6
dltampa commentedI have reopened this issue since I am having the same problem on 6.x-2.1. I am unable to create gif images using transparent background.
Please fix. Adding a background color doubles the file size of the image.
Comment #7
mondrake