Menu

#15 Wrong Color

open
None
5
2004-06-17
2002-03-01
Anonymous
No

Some of the converted pictures (using gd)have wrong
color (looks like 2 Colours). All the SourceImages
are saved with Photoshop as jpg 800x600 in the same
Quality.
Somebody can help ?

thx, joerg

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I have the same Problems after my ISP install the new PHP
    4.2.2

     
  • Nobody/Anonymous

    Logged In: NO

    i have that problem too, but i think the failure comes from
    the gd library. At home i've got gd 1.6.2 and my ISP has 2.0

    when i watch the pictures from localhost (with version
    1.6.2) then they look great. and when i wanna watch the same
    pics uploaded to my ISP they looks like 2 colours.

     
  • Nobody/Anonymous

    Logged In: NO

    I found a solution for this problem,
    search in the file common.inc for ImageCreate. In the
    section for the JPEG files just change the function from
    ImageCreate(); to ImageCreateTrueColor(); with the same
    parameters.

    The problem is simply that the new gd library contains that
    new fuction to create truecolor jpeg images, in the old gs
    lib didn't exist this function.

    Greeze2u
    bitnet

     
  • Bryan Kilian

    Bryan Kilian - 2004-06-17
    • assigned_to: nobody --> bkilian
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.