Cumulative settings

Example requests & Code samples for GdPicture Toolkits.
Post Reply
granger
Posts: 2
Joined: Wed Apr 15, 2009 2:37 pm

Cumulative settings

Post by granger » Wed Apr 15, 2009 2:53 pm

Hello Loic

Sorry for my bad English, I don't speack english (I am french) and Google is my friend who helps me to speak ;-)
I want to combine the settings on an image, for example, change the contrast or brightness, but the brightness or the contrast starts to the last adjustment of GdPictureImaging.
How do I take half?
VBnet example would be greatly appreciated
Thanks
Granger (new client ;-)

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

Re: Cumulative settings

Post by Loïc » Wed Apr 15, 2009 5:17 pm

Hi,

Just call the method one after to other.

IE:

Code: Select all

        Dim ImageID As Integer = Imaging1.CreateGdPictureImageFromFile("")

        Imaging1.SetBrightness(ImageID, 10) 'increasing brightness of 10%
        Imaging1.SetContrast(ImageID, 10) 'increasing contrast of 10%
        Imaging1.SaveAsJPEG(ImageID, "test.jpg")
        Imaging1.ReleaseGdPictureImage(ImageID)

Kind regards,

Loïc

PS: Sorry for my english, I'am French too :D

granger
Posts: 2
Joined: Wed Apr 15, 2009 2:37 pm

Re: Cumulative settings

Post by granger » Wed Apr 15, 2009 7:12 pm

Hi

Sorry for this french message

Loic, je suis content de voir que tu es français, par ailleurs c'est plus facile pour moi.
Afin de ne pas poluer le forum par des "french message" serait-il possible de te contacter par mail ?
Je pense que tu dois avoir le mien.
Je pourrais plus facilement t'expliquer ce que j'essaie de faire.

Amicalement (De Toulon c'est pas très loin de Toulouse à l'échelle mondiale) ;-)

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

Re: Cumulative settings

Post by Loïc » Thu Apr 16, 2009 3:40 pm

Bonjour,

vous pouvez me contacter directement a esupport (at) gdpicture (dot) com.

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest