Changing Brightness inverts the image

Discussions about image processing and document imaging.
Post Reply
mattewan
Posts: 33
Joined: Fri Apr 03, 2009 5:58 pm

Changing Brightness inverts the image

Post by mattewan » Wed Dec 16, 2009 1:14 pm

Hello,

If i change the brightness of an uncompressed tif, or change the contrast. The Image gets inverted. Funny thing is, if i then invert the image using the fx methods, it still stays inverted, unless i close them image, re-open it, and invert it, then save it again.

What could be the cause of this.

The images are 8Bit, uncompressed images, which i am then re-saving as 8Bit Uncompressed images.

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Changing Brightness inverts the image

Post by Loïc » Wed Dec 16, 2009 1:24 pm

Hi,

Please write a code reproducing this behavior & attach the image.

With best regards,

Loïc

mattewan
Posts: 33
Joined: Fri Apr 03, 2009 5:58 pm

Re: Changing Brightness inverts the image

Post by mattewan » Wed Dec 16, 2009 3:49 pm

Code: Select all

Dim GDImaging As New GdPicture.GdPictureImaging
GDImaging.SetLicenseNumber("xxx")
GDImaging.CreateGdPictureImageFromFile(OneBatchItem.inFile)
GDImaging.SetBrightness(ImageID, 10)
GDImaging.SaveAsTIFF(ImageID, OneBatchItem.outFile, GdPicture.TiffCompression.TiffCompressionNONE)
GDImaging.ReleaseGdPictureImage(ImageID)
The above code will re-produce the results with the newest version of the component.

I will email the image to the support email

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Changing Brightness inverts the image

Post by Loïc » Thu Dec 17, 2009 11:36 am

Hi,

Are you under Windows 7 ?

Kind regards,

Loïc

mattewan
Posts: 33
Joined: Fri Apr 03, 2009 5:58 pm

Re: Changing Brightness inverts the image

Post by mattewan » Mon Dec 21, 2009 11:11 am

Yes i am, i will see if i get the same issue under XP and let you know

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Changing Brightness inverts the image

Post by Loïc » Mon Dec 21, 2009 11:22 am

Hi,

Our latest version have this problem fixed under Win 7.

With best regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests