To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > PHP Help > General Help

General Help Forum for General Help questions pertaining to PHP

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-05-2005, 07:35 PM   #1
drawmack
Computers can do that?
 
drawmack's Avatar
 
Join Date: Apr 2003
Location: Pocono Mtns PA
Posts: 3,268
GD Library Jpeg Support

Howdy all,

I am attempting to write an image resize script at work and I've run itno a little hang up.

It seems that, while gd is installed, imagecreatefromjpeg is not a defined function. when I run gd_info I get this:
Code:
Array
(
    [GD Version] => bundled (2.0.28 compatible)
    [FreeType Support] => 
    [T1Lib Support] => 
    [GIF Read Support] => 1
    [GIF Create Support] => 1
    [JPG Support] => 
    [PNG Support] => 1
    [WBMP Support] => 1
    [XBM Support] => 1
    [JIS-mapped Japanese Font Support] => 
)
I notice that JPG support is not set to 1, I was wondering is anyone knows how I can correct this.

Thank You
drawmack is offline   Reply With Quote
Old 07-05-2005, 07:41 PM   #2
drew010
Senior Member
 
drew010's Avatar
 
Join Date: Apr 2003
Location: Santa Rosa, CA
Posts: 2,835
Build the jpeg library from ftp://ftp.uu.net/graphics/jpeg/ and compile php --with-jpeg-dir=DIR

As shown on http://php.net/gd
drew010 is offline   Reply With Quote
Old 07-06-2005, 09:04 AM   #3
drawmack
Computers can do that?
 
drawmack's Avatar
 
Join Date: Apr 2003
Location: Pocono Mtns PA
Posts: 3,268
Thank you very much
drawmack is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 04:33 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.