GithubHelp home page GithubHelp logo

vb6hobbyst7 / tanner-h-real-time-image-curves-using-cubic-splines-just-like-photoshop__1-68577 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from planet-source-code/tanner-h-real-time-image-curves-using-cubic-splines-just-like-photoshop__1-68577

0.0 1.0 0.0 88 KB

VBA 100.00%

tanner-h-real-time-image-curves-using-cubic-splines-just-like-photoshop__1-68577's Introduction

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.

More Info

Submitted On 2007-06-02 15:13:02
By Tanner H
Level Intermediate
User Rating 5.0 (85 globes from 17 users)
Compatibility VB 5.0, VB 6.0
Category Graphics
World Visual Basic
Archive File Real-time_206881622007.zip

API Declarations

DIB sections

tanner-h-real-time-image-curves-using-cubic-splines-just-like-photoshop__1-68577's People

Contributors

pscbot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.