Solved

How to do Photoshop auto levels and auto color?

Posted on 2003-10-29
5
346 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

730 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