Page 1 of 1

Changing Brightness inverts the image

Posted: Wed Dec 16, 2009 1:14 pm
by mattewan
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.

Re: Changing Brightness inverts the image

Posted: Wed Dec 16, 2009 1:24 pm
by Loïc
Hi,

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

With best regards,

Loïc

Re: Changing Brightness inverts the image

Posted: Wed Dec 16, 2009 3:49 pm
by mattewan

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

Re: Changing Brightness inverts the image

Posted: Thu Dec 17, 2009 11:36 am
by Loïc
Hi,

Are you under Windows 7 ?

Kind regards,

Loïc

Re: Changing Brightness inverts the image

Posted: Mon Dec 21, 2009 11:11 am
by mattewan
Yes i am, i will see if i get the same issue under XP and let you know

Re: Changing Brightness inverts the image

Posted: Mon Dec 21, 2009 11:22 am
by Loïc
Hi,

Our latest version have this problem fixed under Win 7.

With best regards,

Loïc