GD2 only processing horizontal JPEGs

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

    GD2 only processing horizontal JPEGs

    I have a script that resizes images uses GD2.

    If the image is vertical (portrait) rather than horizontal (landscape), all
    I get is a black image. I think it is related to the camera they use (an old
    Kodak 2MP).

    What should I try? Thanks


  • jn

    #2
    Re: GD2 only processing horizontal JPEGs

    "jn" <jason*spamisst upidremovetorep ly*@netfuture.c om> wrote in message
    news:XvnOb.1227 6$Bj.4990@twist er.tampabay.rr. com...[color=blue]
    > I have a script that resizes images uses GD2.
    >
    > If the image is vertical (portrait) rather than horizontal (landscape),[/color]
    all[color=blue]
    > I get is a black image. I think it is related to the camera they use (an[/color]
    old[color=blue]
    > Kodak 2MP).
    >
    > What should I try? Thanks
    >
    >
    >[/color]

    By the way, it works on my Windows machine but not on the Linux server.


    Comment

    • Shawn Wilson

      #3
      Re: GD2 only processing horizontal JPEGs

      jn wrote:[color=blue]
      >
      > I have a script that resizes images uses GD2.
      >
      > If the image is vertical (portrait) rather than horizontal (landscape), all
      > I get is a black image. I think it is related to the camera they use (an old
      > Kodak 2MP).
      >
      > What should I try? Thanks[/color]

      Search Google Groups. I think I remember someone else having that problem a
      couple months ago. Don't remember if they solved it, though.

      Regards,
      Shawn
      --
      Shawn Wilson
      shawn@glassgian t.com


      I have a spam filter. Please include "PHP" in the
      subject line to ensure I'll get your message.

      Comment

      • jn

        #4
        Re: GD2 only processing horizontal JPEGs


        "Shawn Wilson" <shawn@glassgia nt.com> wrote in message
        news:400BE6DD.F C384D3E@glassgi ant.com...[color=blue]
        > jn wrote:[color=green]
        > >
        > > I have a script that resizes images uses GD2.
        > >
        > > If the image is vertical (portrait) rather than horizontal (landscape),[/color][/color]
        all[color=blue][color=green]
        > > I get is a black image. I think it is related to the camera they use (an[/color][/color]
        old[color=blue][color=green]
        > > Kodak 2MP).
        > >
        > > What should I try? Thanks[/color]
        >
        > Search Google Groups. I think I remember someone else having that problem[/color]
        a[color=blue]
        > couple months ago. Don't remember if they solved it, though.
        >
        > Regards,
        > Shawn
        > --
        > Shawn Wilson
        > shawn@glassgian t.com
        > http://www.glassgiant.com
        >
        > I have a spam filter. Please include "PHP" in the
        > subject line to ensure I'll get your message.
        >[/color]

        LOL...it was me :)

        I decided to try and use ImageMagick instead, but I couldn't get it
        installed on the server. They are having this image problem again, so I'm
        back where I started.


        Comment

        • Dan Tripp

          #5
          Re: GD2 only processing horizontal JPEGs

          jn wrote:
          [color=blue]
          > I have a script that resizes images uses GD2.
          >
          > If the image is vertical (portrait) rather than horizontal (landscape), all
          > I get is a black image. I think it is related to the camera they use (an old
          > Kodak 2MP).
          >
          > What should I try? Thanks
          >
          >[/color]

          Suggestion:

          You might want to post some sample code, and some sample source files so
          that someone else might be able to reproduce the problem. Otherwise,
          you're likely to get a silent "heck if I know" and no reasonably useful
          responses.

          I know a lot of folks aren't willing to take a look at a problem that
          the poster isn't willing to explain.

          Regards,

          - Dan

          Comment

          Working...