GD.dll files for php 5.1.6


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting GD.dll files for php 5.1.6
# 1  
Old 04-15-2008
GD.dll files for php 5.1.6

Hi,

I want to create an image dynamically.

I used this function.

Code:
$img_handle = ImageCreate ($length, 10) or die ("Cannot Create image");

It was not creating the image. When i checked in error_log file the error was:
Code:
PHP Fatal error:  Call to undefined function ImageCreate().

I went through php ini file. Many forums have said to remove the commented line "extension=php_gd2.dll" but this line is not found.

I am using php 5.1.6 version.

I think i have to download but i don't know where and how to install and configure.

How do i download,configure and install?

With regards
Vanitha
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Regarding DLL's

hello Forum members, what is internal mechanism of DLL's in Unix kernal.what is the major advantage over static libraries. Thanks & Regards Siva Ranganath (2 Replies)
Discussion started by: workforsiva
2 Replies

2. Programming

Compiling with Dll in HP Ux

Hi all, I had trouble compiling my application with a custom dll, the error appear to be some undefined reference to the functions i had created in my dll. Is there a need to update any environmental variable such as LD_LIBRARY_PATH as in linux system. Please advise. One more thing is do... (2 Replies)
Discussion started by: dwgi32
2 Replies

3. UNIX for Dummies Questions & Answers

Possible to use a Java app with dll files on Unix-systems

Hi... I have build a program for the Velleman K8000 interface card, in java, which works just fine in windows, but now I want to use the program on a Unix-System. Is it possible to somehow convert the dll file to a format that Unix supports, or do I have to find another way? Dll-file:... (3 Replies)
Discussion started by: Scorp-D
3 Replies

4. Programming

Using Windows DLL in UNIX

Hello, I am sorry to bother you all but I am thinking about switching to UNIX and I am a complete novice there. The problem is that I need to call a C++ dll on UNIX platform which was compiled on Windows. I don't have the source code of the dll as well. I just need to call this dll in my C++... (2 Replies)
Discussion started by: clickoo
2 Replies

5. What is on Your Mind?

Can we run a dll in unix?

I have created DLLs in c++. Is it possible to run these DLLs in unix so that I can save time converting function/scripts in unix? In this way I can reuse these DLL in Unix. Thanks. (2 Replies)
Discussion started by: alestoquia
2 Replies

6. Programming

How to create .SO file (DLL)

HI, i want to create shared object file (that is .SO file it is similar to DLL in windows)...... Sarwan (3 Replies)
Discussion started by: sarwan
3 Replies

7. IP Networking

dll layer

Hi all , How can I achieve getting the IP address of a local machine, by sending packet over dll layer with its mac address, and how should the frame be consturcted without providing the IP address of the destination machine. Thanx (0 Replies)
Discussion started by: netsavy
0 Replies

8. Solaris

dlopen issue with a dll

HI All, I am trying to use a dll using dlopen but in vain. When I try to ldd that dll it returns no output. Can anybody please tell me how I can load this dll in my process space. PS: ldd -l returns a lot of unsatisfied dependent symbols. Thanks a lot in advance Codeman (0 Replies)
Discussion started by: codeman
0 Replies

9. Programming

Dll

Hello all is there any concept of DLL in UNIX if so mention the name of the library linking dynamically Bye Raj (1 Reply)
Discussion started by: rajashekaran
1 Replies

10. Programming

Need to port C dll to UNIX

I have source code of a Windows C DLL. It complies properly and works. Now I need to port it to UNIX environment. I need to know if I can create a Dynamic Library or only Static Library is possible in UNIX. In case I can create a Dynamic Library please guide me how to proceed. Or if there... (2 Replies)
Discussion started by: ana_puri
2 Replies
Login or Register to Ask a Question
IMAGESETBRUSH(3)							 1							  IMAGESETBRUSH(3)

imagesetbrush - Set the brush image for line drawing

SYNOPSIS
bool imagesetbrush (resource $image, resource $brush) DESCRIPTION
imagesetbrush(3) sets the brush image to be used by all line drawing functions (such as imageline(3) and imagepolygon(3)) when drawing with the special colors IMG_COLOR_BRUSHED or IMG_COLOR_STYLEDBRUSHED. PARAMETERS
o $ image -An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(3). o $brush - An image resource. RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 imagesetbrush(3) example <?php // Load a mini php logo $php = imagecreatefrompng('./php.png'); // Create the main image, 100x100 $im = imagecreatetruecolor(100, 100); // Fill the background with white $white = imagecolorallocate($im, 255, 255, 255); imagefilledrectangle($im, 0, 0, 299, 99, $white); // Set the brush imagesetbrush($im, $php); // Draw a couple of brushes, each overlaying each imageline($im, 50, 50, 50, 60, IMG_COLOR_BRUSHED); // Output image to the browser header('Content-type: image/png'); imagepng($im); imagedestroy($im); imagedestroy($php); ?> The above example will output something similar to:[NOT DISPLAYABLE MEDIA]Output of example : imagesetbrush() NOTES
Note You need not take special action when you are finished with a brush, but if you destroy the brush image, you must not use the IMG_COLOR_BRUSHED or IMG_COLOR_STYLEDBRUSHED colors until you have set a new brush image! PHP Documentation Group IMAGESETBRUSH(3)