473,386 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

imagecreatefromjpg()

Hi.
I'm testing some php-functions at the moment and now I found an interesting
function called 'imagecreatefromjpeg()' on php.net.
I tried to work with it, but my apache always says:
"Call to undefined function: imagecreatefromjpg() in .....index.php"
php.net says that this function is available since php 3.x
I have php 4.3.4
So, does anyone know, why it doesn't work?
--
mfg
Fred
Jul 17 '05 #1
4 8548
On Sat, 27 Mar 2004 15:51:58 +0100, "Fred" <fr**@klohaus.de> wrote:
I'm testing some php-functions at the moment and now I found an interesting
function called 'imagecreatefromjpeg()' on php.net.
I tried to work with it, but my apache always says:
"Call to undefined function: imagecreatefromjpg() in .....index.php"
php.net says that this function is available since php 3.x
I have php 4.3.4
So, does anyone know, why it doesn't work?


Read: http://uk2.php.net/manual/en/ref.image.php

--
Andy Hassall <an**@andyh.co.uk> / Space: disk usage analysis tool
http://www.andyh.co.uk / http://www.andyhsoftware.co.uk/space
Jul 17 '05 #2
"Andy Hassall" <an**@andyh.co.uk> schrieb im Newsbeitrag
news:4d********************************@4ax.com...
On Sat, 27 Mar 2004 15:51:58 +0100, "Fred" <fr**@klohaus.de> wrote:
I'm testing some php-functions at the moment and now I found an interestingfunction called 'imagecreatefromjpeg()' on php.net.
I tried to work with it, but my apache always says:
"Call to undefined function: imagecreatefromjpg() in .....index.php"
php.net says that this function is available since php 3.x
I have php 4.3.4
So, does anyone know, why it doesn't work?


Read: http://uk2.php.net/manual/en/ref.image.php

thx for the tipp. i read the manual and I installed the gd library (by
including the php_gd2.dll to php.ini). But the function isn't installed
nevertheless. Do you know, why?
Jul 17 '05 #3
You may have a typo in your post here, but your error message says "Call to
undefined function: imagecreatefromjpg". I believe the function name has an
'e' in jpeg (like the first part of your post). You may be misspelling the
function call.

Try out some of the other functions in the GD2 library to verify its
presence.

Tony

"Fred" <fr**@klohaus.de> wrote in message
news:c4**********@news.wplus.net...
Hi.
I'm testing some php-functions at the moment and now I found an interesting function called 'imagecreatefromjpeg()' on php.net.
I tried to work with it, but my apache always says:
"Call to undefined function: imagecreatefromjpg() in .....index.php"
php.net says that this function is available since php 3.x
I have php 4.3.4
So, does anyone know, why it doesn't work?
--
mfg
Fred

Jul 17 '05 #4
"Tony" <no****@pittarese.com> schrieb im Newsbeitrag
news:c4********@library1.airnews.net...
You may have a typo in your post here, but your error message says "Call to undefined function: imagecreatefromjpg". I believe the function name has an 'e' in jpeg (like the first part of your post). You may be misspelling the function call.

Try out some of the other functions in the GD2 library to verify its
presence.


ok, i got it. i just misspelled the topic. i coded it right.
my fault was to work with the wrong php.ini
Now gd2 is installed right and the function runs well.
Thanx to all...
Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Rainer Collet | last post by:
hi! how can i use imagecreatefromjpg if my images are stored in a database and not in the filesystem? imagecreatefromjpg wants to have a filename. but i have only the binarycode of the image in...
6
by: dan glenn | last post by:
PHP4.3.2, GD2 - I have found to my great dismay and consternation that if I load a jpg image , then save it as a PNG, the resulting PNG will actually work in a browser, but it can't be loaded again...
1
by: google | last post by:
I am missing something elementary I think. I am trying to batch resize the contents of a directory, using imagecreatefromjpg() etc. I have tried many scripts and I can only seem to corrupt the...
2
by: Bob Bedford | last post by:
I've an image that is 300x225 pixels. I've to send this image to mobile phones using the mms. For this the best result is given using 120x160 pixels. So I may generate a 120 pixels large image,...
9
by: Chuck Anderson | last post by:
Is it possible to overlay a transparent watermark on an image - dynamically? I'd like the result to look like this example: <http://www.cycletourist.com/temp/photo.php> That is a bit of...
8
by: infoseekar | last post by:
Image Resize & Rotation Hi I have 2 scripts, one for Image rotation and other image resize and they both are working. Image resize scripts load the picture and resize it and Image rotation...
53
by: angelicdevil | last post by:
ok i have a folder made on the server and uploaded image files to it...the link to the image file or rather the path to the image is uploaded in the database in 'image_path' , now i want that the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.