(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
07-02-24 09:35 PM
0 users currently in Programming.
Acmlm's Board - I3 Archive - Programming - Two PHP GD Image Questions
  
User name:
Password:
Reply:
 
Options: - -
Quik-Attach:
Preview for more options

Max size 1.00 MB, types: png, gif, jpg, txt, zip, rar, tar, gz, 7z, ace, mp3, ogg, mid, ips, bz2, lzh, psd

UserPost
Deleted User
Posts: 13/-7750
Well, I have a couple questions on a little project I've been working on. Heres the first one:

When using ImageTTFText and transparency I get an unwanted shadow. (The shadow uses the background color which is white, so if I but the picture on say a blue background, the text has a pixely white shadow [Well not really a shadow, I think its called sharp text..] that doesn't look to good.) Here's an example of my problem:


I know it does that because it's TTF but can you turn it off? (Like in photoshop you can turn of Sharp text style.) If not, are there anyways around it with a different function that also has a function like imagettfbbox?

As for the second question, I was trying to add a gradient inside the text, so I made a php image that makes a gradient that is the same size as the text picture, then I was thinking I can put the text ontop of the gradient and make the font transparent so it showed down into the gradient... It didn't work out and even if I did it that way I can't think of a way to make the background transparent. If anyone knows a way that I can use my method or a function I can make that'll work it would be appreciated if you helped me out. =\
Acmlm's Board - I3 Archive - Programming - Two PHP GD Image Questions


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.008 seconds; used 344.61 kB (max 370.97 kB)