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)
-   -   How to use GD Image Writing? (http://www.mysidiaadoptables.com/forum/showthread.php?t=761)

trollis76 05-24-2009 08:20 AM

RE: How to use GD Image Writing?
 
I have solved that problem. It turned out that I turned this little thing > to the wrong way.

BMR777 05-24-2009 03:35 PM

RE: How to use GD Image Writing?
 
Quote:

Originally Posted by loglive
I have similar issues, uploading jpg images give errors that the file is in the wrong format and when I export the same image to .gif then upload it, I see no addition, just the pic.
Could be the size exceeding some limits? I am testing at this site
Would it be possible to have an automatic resize to a maximum size (horizontal or vertical) when adding new adoptable?

Also, I assume that script does not work with animated gifs or it will stop animation, am I right?

The images must be .gif to work, so .jpg would possibly give error messages. I don't believe it will work with animated .gifs either, it may stop the animation as you suggested.

For the images with no addition, what are the dimensions of the images?

HoneyQ143 09-03-2009 10:48 PM

RE: How to use GD Image Writing?
 
For image writing, the only mandatory functions are putC and putBuf, which return the number of characters written; these functions must write the number of characters requested except in the event of an error. The seek and tell functions are only required in conjunction with the gd2 file format, which supports quick loading of partial images. The gd_free function will not be invoked when calling the standard Ctx functions; it is an implementation convenience when adding new data types to gd. For examples, see gd_png.c, gd_gd2.c, gd_jpeg.c, etc., all of which rely on gdIOCtx to implement the standard image read and write functions.


________________
Writing jobs


All times are GMT -5. The time now is 09:48 PM.

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