Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   What's required for GD images with text? (http://www.mysidiaadoptables.com/forum/showthread.php?t=2117)

PokePets 04-23-2011 02:52 AM

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?

fadillzzz 04-23-2011 03:34 AM

The text will only shows up if the image is .gif
currently .png is not supported

PokePets 04-23-2011 03:38 AM

Quote:

Originally Posted by fadillzzz (Post 16373)
The text will only shows up if the image is .gif
currently .png is not supported

Thanks :)
I was working with .png ><

Nemesis 04-23-2011 09:40 AM

you can just convert them can't you?

PokePets 04-23-2011 09:44 AM

Quote:

Originally Posted by Nemesis (Post 16376)
you can just convert them can't you?

I can convert them ;)
I use photoconverter plus

Nemesis 04-23-2011 09:58 AM

ok good, was gonna help if you needed it :smile:

Irion 04-24-2011 10:51 AM

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.

Inf3rnal 04-24-2011 11:31 AM

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

Irion 04-25-2011 06:22 AM

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.


All times are GMT -5. The time now is 01:00 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.