Title: Real-time Image Curves (using cubic splines) - just like Photoshop Description: By request, here's another first of its kind in VB: a fast, accurate, real-time image curves dialog. (This should be familiar to the PhotoShop users among us :) Curves is similar in theory to my previous "Image Levels" post and standard gamma correction, but it provides a much more powerful interface for adjusting the luminance of an image. This project provides results very similar to Photoshop's, and it allows the creation of more spline knots (32 instead of 16). The cubic spline code on which I based my code was taken from Jason Bullen's excellent "Simple Cubic Spline Curve Plot" (http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=11488&lngWId=1). The code is well-commented and very fast - please post comments, requests for future Photoshop-related code, and many heaps of praise (as this was a complicated routine to sort out...)! Update 2/May/07 - disable loading of icons and warn the user against loading very large images. This file came from Planet-Source-Code.com...the home millions of lines of source code You can view comments on this code/and or vote on it at: http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=68577&lngWId=1 The author may have retained certain copyrights to this code...please observe their request and the law by reviewing all copyright conditions at the above URL.