Web Analytics Made Easy -
StatCounter Adjusting image gamma - CodingForum

Announcement

Collapse
No announcement yet.

Adjusting image gamma

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adjusting image gamma

    Can PHP be used to detect OS, such as Mac or PC, and adjust the gamma of the images so that they display with the same density on a Mac as it does on a PC?

    Leonard Whistler
    http://www.stubby.ca
    Leonard Whistler

  • #2
    You may want to try
    $_SERVER['HTTP_USER_AGENT']
    to find out what OS someone is using.


    From there, you'd have to work out your own gamma levels and adjust accordingly with GD.
    -mR_eGo
    _______________________
    Programming since
    3 years old.

    Comment

    Working...
    X