Solved

How to do Photoshop auto levels and auto color?

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

813 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

9 Experts available now in Live!

Get 1:1 Help Now