Hi all!
I use Resizer Class Demonstration but when I run it says Your PHP environment doesn't have the appropriate function to read this format. Here is the error: "setfile(): function imagecreatefromjpeg() doesn't exist" why it happen?

Recommended Answers

All 3 Replies

It is happening because GB Library, required for using this function is not installed with php on your pc.

its a gd library. place gd library.dll in your php program files and remove a semicolumn near
php-gd extention. i think it will work fine.make sure that all the steps are right becoz u r making changes in program files. google it ,if iam wrong kindly forgive me

yes praveen...
you are right...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.