Solved

How to do Photoshop auto levels and auto color?

Posted on 2003-10-29
5
339 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 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

6 Experts available now in Live!

Get 1:1 Help Now