|  | 
| Home Community Mys-Script Creative Off-Topic | 
| 
 | |||||||
|  | 
|  | Thread Tools | Display Modes | 
| 
			 
			#1  
			
			
			
			
			
		 | |||
| 
 | |||
|  What's required for GD images with text? 
			
			So, my images with the name of your adoptable etc. work not. What's required? PNG/GIF/JPEG images? Somthing else? | 
| 
			 
			#2  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			The text will only shows up if the image is .gif  currently .png is not supported | 
| 
			 
			#3  
			
			
			
			
			
		 | |||
| 
 | |||
|   Quote: 
 I was working with .png >< | 
| 
			 
			#4  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			you can just convert them can't you?
		 | 
| 
			 
			#5  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			I can convert them ;) I use photoconverter plus | 
| 
			 
			#6  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			ok good, was gonna help if you needed it    | 
| 
			 
			#7  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			Most of the adoptable sites I've seen do use .gif for their image compression; so I assume they're using the GD library. But Squiby uses .png images. Do they perhaps use a different library (Like ImageMagick or something). Or maybe they convert the image that's written to .png from .gif. At the moment, I have my adoptables displaying the Name, Owner and Number of Clicks it is underneath using GD- it's then written to a directory as a .gif when the script is run. | 
| 
			 
			#8  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			GD easily supports png, gif and jpeg.  You just have to go into the code and program it too. This may help: http://php.net/manual/en/book.image.php Mainly focus on the following areas. imagecreatefromgif imagecreatefromjpeg imagecreatefrompng | 
| 
			 
			#9  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			Ah, thanks for that, Infernal. I'll take a good look through it :) If I was working with png, I wouldn't have to semi-flatten my adopts to give them that white halo-type effect so that the lines don't come out all aliased. | 
|  | 
| 
 | 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Text Box in Pages? | Clessidra | Questions and Supports | 5 | 06-13-2013 06:51 PM | 
| 'rn' in text boxes. | Nieth | Questions and Supports | 7 | 06-10-2013 06:50 PM | 
| Text getting deleted | Empress_Swanbottom | Questions and Supports | 4 | 02-15-2013 10:40 PM | 
| Change adopt.php text? | Skullette | Questions and Supports | 8 | 06-14-2010 07:56 AM | 
| Reseting text | 12345 | Questions and Supports | 4 | 03-04-2009 11:26 PM | 
| What's New? | What's Hot? | What's Popular? |