Solved

How to do Photoshop auto levels and auto color?

Posted on 2003-10-29
5
345 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

837 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