Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 03:29 AM
jn
Guest
 
Posts: n/a
Default 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





  #2  
Old July 17th, 2005, 03:29 AM
jn
Guest
 
Posts: n/a
Default Re: GD2 only processing horizontal JPEGs

"jn" <jason*spamisstupidremovetoreply*@netfuture.com> wrote in message
news:XvnOb.12276$Bj.4990@twister.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.


  #3  
Old July 17th, 2005, 03:35 AM
Shawn Wilson
Guest
 
Posts: n/a
Default 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@glassgiant.com
http://www.glassgiant.com

I have a spam filter. Please include "PHP" in the
subject line to ensure I'll get your message.
  #4  
Old July 17th, 2005, 03:35 AM
jn
Guest
 
Posts: n/a
Default Re: GD2 only processing horizontal JPEGs


"Shawn Wilson" <shawn@glassgiant.com> wrote in message
news:400BE6DD.FC384D3E@glassgiant.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@glassgiant.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.


  #5  
Old July 17th, 2005, 03:37 AM
Dan Tripp
Guest
 
Posts: n/a
Default 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
http://www.dantripp.com/
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,414 network members.