LEADTOOLS Support
Imaging
Imaging SDK Questions
Re: Retrieve the gamma value from an image
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, July 22, 2005 6:18:21 AM(UTC)
Groups: Registered
Posts: 4
Does anybody know how to retrieve the gamma value from an bitmap. There is a function LBitmap::GammaCorrect() that can only set the gamma correction. What I want to do is to retrieve the current gamma setting of the bitmap then decide which value I need to put to correct it.
Thanks!
#2
Posted
:
Monday, July 25, 2005 11:33:03 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
There is no function that retrieves the gamma value set by GammaCorrect. We only have a GetPaintGamma/SetPaintGamma pair. Those only affect the display of the image but not the pixel data as opposed to GammaCorrect.
When an image is loaded, the Gamma has not be adjusted at all. LEADTOOLS loads the image as the data is stored in the file.
Bashar Abdulqaiyume
LEAD Technologies, Inc.
LEADTOOLS Support
Imaging
Imaging SDK Questions
Re: Retrieve the gamma value from an image
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.