imagecreatefromjpg()

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fred

    imagecreatefromjpg()

    Hi.
    I'm testing some php-functions at the moment and now I found an interesting
    function called 'imagecreatefro mjpeg()' on php.net.
    I tried to work with it, but my apache always says:
    "Call to undefined function: imagecreatefrom jpg() 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


  • Andy Hassall

    #2
    Re: imagecreatefrom jpg()

    On Sat, 27 Mar 2004 15:51:58 +0100, "Fred" <fred@klohaus.d e> wrote:
    [color=blue]
    >I'm testing some php-functions at the moment and now I found an interesting
    >function called 'imagecreatefro mjpeg()' on php.net.
    >I tried to work with it, but my apache always says:
    >"Call to undefined function: imagecreatefrom jpg() 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?[/color]

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

    --
    Andy Hassall <andy@andyh.co. uk> / Space: disk usage analysis tool
    http://www.andyh.co.uk / http://www.andyhsoftware.co.uk/space

    Comment

    • Fred

      #3
      Re: imagecreatefrom jpg()

      "Andy Hassall" <andy@andyh.co. uk> schrieb im Newsbeitrag
      news:4d5b609reb spgmvnl93hponh3 ddqqeb3d3@4ax.c om...[color=blue]
      > On Sat, 27 Mar 2004 15:51:58 +0100, "Fred" <fred@klohaus.d e> wrote:
      >[color=green]
      > >I'm testing some php-functions at the moment and now I found an[/color][/color]
      interesting[color=blue][color=green]
      > >function called 'imagecreatefro mjpeg()' on php.net.
      > >I tried to work with it, but my apache always says:
      > >"Call to undefined function: imagecreatefrom jpg() 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?[/color]
      >
      > Read: http://uk2.php.net/manual/en/ref.image.php[/color]
      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?


      Comment

      • Tony

        #4
        Re: imagecreatefrom jpg()

        You may have a typo in your post here, but your error message says "Call to
        undefined function: imagecreatefrom jpg". 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" <fred@klohaus.d e> wrote in message
        news:c444dr$rhv $1@news.wplus.n et...[color=blue]
        > Hi.
        > I'm testing some php-functions at the moment and now I found an[/color]
        interesting[color=blue]
        > function called 'imagecreatefro mjpeg()' on php.net.
        > I tried to work with it, but my apache always says:
        > "Call to undefined function: imagecreatefrom jpg() 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
        >
        >[/color]


        Comment

        • Fred

          #5
          Re: imagecreatefrom jpg()

          "Tony" <nospam@pittare se.com> schrieb im Newsbeitrag
          news:c44e3b$irt @library1.airne ws.net...[color=blue]
          > You may have a typo in your post here, but your error message says "Call[/color]
          to[color=blue]
          > undefined function: imagecreatefrom jpg". I believe the function name has[/color]
          an[color=blue]
          > 'e' in jpeg (like the first part of your post). You may be misspelling[/color]
          the[color=blue]
          > function call.
          >
          > Try out some of the other functions in the GD2 library to verify its
          > presence.[/color]

          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...


          Comment

          Working...