Is it possible to remove gamma from a picture?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
drewvy

Is it possible to remove gamma from a picture?

Post by drewvy »

Let say you know that an image has gamma 2.6 applied to it. How can I change it so that it has gamma 1.0 instead?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Is it possible to remove gamma from a picture?

Post by fmw42 »

-gamma 0.38461538462

1/2.6=0.38461538462
Post Reply