Author Topic: GD Library imagerotate(). bg_color???  (Read 535 times)

0 Members and 1 Guest are viewing this topic.

Offline Odaku128Topic starter

  • Irregular
  • Posts: 5
    • View Profile
GD Library imagerotate(). bg_color???
« on: July 01, 2010, 11:14:15 AM »
 :wtf:

Does anyone know how the bg_color option of imagerotate (GD Library) works.

Set to 0, you get the black background. But after experimenting i can find no logic.

988988988 creates a mustard yellow

-255255255 creates a red

1111 is a blue

There must be a logical way of using this.

Help?