Loading...

Set Contrast/Set Brightness settings not working above 0

Discussions about image processing in GdPicture.NET using GdPictureImaging.

Set Contrast/Set Brightness settings not working above 0

Postby jimtxas » Mon Jul 11, 2011 9:40 pm

Hello-

I'm using the following code to try to increase the brightness or contrast settings of images and setting the SETCONTRAST or SETBRIGHTNESS values of anything > 0 does not work... I can only reduce the values. it seems to work somewhat on color images only. It's also interesting to point out that the utility is suggesting some of these images IsGreyscale=True when in fact they are bitonal images.... not sure if that has any effect.

I'm currently running v6.7.0.9
jimtxas
 
Posts: 6
Joined: Tue Jul 28, 2009 2:59 am

Re: Set Contrast/Set Brightness settings not working above 0

Postby Loïc » Tue Jul 12, 2011 12:05 pm

Hi,

Changing contrast and brightess on a bitonal image has no sense. You have to convert it ti 24 bit first, to obtain the correct level of gray.
Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to Image Processing

Who is online

Users browsing this forum: No registered users and 0 guests