🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #1933

Re: VB: Can I adjust brightness and contrast in code?

#1933
From: Jonathan_Sundy
Date: Thu, 08 Jul 2004 19:51
11 lines
1086 bytes
Well as I had figured, it was a syntax problem with visual basic. That is why I posted my code in hopes you would see it not working.

But from browsing the forums more i noticed you are using VB.Net and I use VB6.

So the solution to my problem was to use

Call theLayer.AdjustBrightnessContrast(20,-20)

That made it work.

Thank you oh so much for your help.
Technical Details
Message-ID: <3bb4d6fb.5@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!news.cambrium.nl!news.cambrium.nl!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx
References: <3bb4d6fb.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,22a610ff7752a142
X-Google-Attributes: gidf5839,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Jonathan_Sundy@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!news.cambrium.nl!news.cambrium.nl!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.photoshop.scripting
Subject: Re: VB: Can I adjust brightness and contrast in code?
Message-ID: <3bb4d6fb.5@webx.la2eafNXanI>
Date: Thu, 8 Jul 2004 12:51:00 -0700
References: <3bb4d6fb.-1@webx.la2eafNXanI>
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit