Solved

How to do Photoshop auto levels and auto color?

Posted on 2003-10-29
5
341 Views
Last Modified: 2010-04-05
I need some source code or a component that will allow me to run the Photoshop "auto levels" and/or "auto color" adjustments on a bitmap.
If you're not familiar with these commands in Photoshop, they take an image that has bad lighting/colors and does a best attempt at modifying the image to the correct colors.
0
Comment
Question by:OdieGiblet
5 Comments
 
LVL 8

Accepted Solution

by:
gmayo earned 250 total points
ID: 9645423
You could try http://www.torry.net/graphics_eff.htm for starters. While you may not be able to find an "auto" balance, you can provide sliders to allow the user to select the desired effects.

Geoff M.
0
 
LVL 14

Assisted Solution

by:DragonSlayer
DragonSlayer earned 250 total points
ID: 9648808
if you have Photoshop, and plan to just use Delphi to interface with your Photoshop, check out this automation page http://www.djpate.freeserve.co.uk/AutoPShp.htm
0
 

Author Comment

by:OdieGiblet
ID: 9658826
I already have components for changing the histogram and contrast and all that. But I want the program to do it automatically.

As far as the photoshop automation, that would be great if I could work with a TBitmap, but with that code I'd have to save it to a file, then run actions in Photoshop, then load the file back up again. Plus the customer will have to have photoshop installed. This may be a quick fix in the future if I can't figure it out.

I bought a component called ImageEn a long time ago for a bunch of work, it has some of this functionality, I'm going to continue tweaking with that to see if I can get it to do as I wish.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Working this component WebCopy with proxy, help 3 76
delphi parse string to params 3 97
Multiple image collision 13 69
Performance of SQL statement 37 95
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now