Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, July 22, 2005 6:18:21 AM(UTC)

yren  
yren

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!

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Monday, July 25, 2005 11:33:03 AM(UTC)

Bashar  
Guest

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.

 
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.289 seconds.