AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Vignetting

Ein Thema von WojTec · begonnen am 12. Jan 2016 · letzter Beitrag vom 15. Jan 2016
Antwort Antwort
WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#1

Vignetting

  Alt 12. Jan 2016, 15:22
Hello guys, I want to ask how to create fast vignette effect with custom shape and color, but without blur (blur doing what I need but is very slow on bigger images)? Library I'm using is Graphics32.
  Mit Zitat antworten Zitat
Medium

Registriert seit: 23. Jan 2008
3.686 Beiträge
 
Delphi 2007 Enterprise
 
#2

AW: Vignetting

  Alt 15. Jan 2016, 23:56
Not enough info. (You have a history of this problem, please start working on that.)

What do you mean by "custom" shape? A typical vigniette is round/oval and matches the aspect ratio of the image. Do you want the user to be able to draw a polygon with bezier curves as edges as a "guiding shape" for example? How far do you want to go here?
How variable do the colors need to be? Just black or white fading to fully transparent, or a custom color with arbitrary starting transparency? Center color/transparency also freely pickable?
How do you do it so far? What are the problems? What constitutes "fast enough" for you?
Do you want linear interpolation of colors, some sort of spline interpolation, or maybe the possibility to let the user choose arbitrary "key steps", each defining a color at x% from the center? What interpolation between those?

You see: "Vignette" can mean something really simple, or be fleshed out to become a fully capable custom shape, custom colors gradient sub-system.
"When one person suffers from a delusion, it is called insanity. When a million people suffer from a delusion, it is called religion." (Richard Dawkins)
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 23:20 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz