in reply to newFromJpegData error

I looked at the documentation for the GD package, and I could not find the constructor named GD::Image->newFromJpegData. I also checked the code of the GD package. There is no such function. The only constructor/function I can see that's similar is GD::Image->newFromJpeg, which you mentioned. Have you tried using it instead?

Replies are listed 'Best First'.
Re: Re: newFromJpegData error
by stormwolfen (Acolyte) on Dec 18, 2001 at 20:23 UTC
    You correct... I did the same thing later last night, and discovered that the documentation says one thing??? But could not find the GD::Image->newFromJpegData in the GD.pm either.

    I had seen several web pages that said it worked. Perhaps it was taken out of GD.pm??

    And yes, I can bring it from a file just fine. The problem was that I was hoping to keep some images in base64 in the program.

    -- Scott