Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Graphics
»
BGRABitmap and LazPaint
»
[Lazpaint][Solved]How to make "Colour to alpha"?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Lazarus 4.8 on Sourceforg...
by
Dreihirn
[
Today
at 04:57:35 pm]
[New Component] ExtTabCtr...
by
d7_2_laz
[
Today
at 04:35:07 pm]
Installing Lazarus via Ma...
by
Dreihirn
[
Today
at 03:52:56 pm]
A little contribution - T...
by
Tomxe
[
Today
at 03:50:05 pm]
Screen abnomally
by
Thaddy
[
Today
at 03:21:30 pm]
XRechnung-for-Delphi now ...
by
sh17
[
Today
at 03:20:09 pm]
Line Numbers on MacOS
by
Thaddy
[
Today
at 03:14:19 pm]
FPC Unleashed (inline var...
by
440bx
[
Today
at 02:09:32 pm]
Sudden errors
by
Xenno
[
Today
at 01:15:27 pm]
[SOLVED] TSaveDialog
by
Zvoni
[
Today
at 12:33:33 pm]
Which Control should I us...
by
J-G
[
Today
at 11:57:57 am]
Codepage issue in console...
by
Thaddy
[
Today
at 11:48:25 am]
Questions about 16 color ...
by
jamie
[
Today
at 11:21:01 am]
Pdf Viewer in Pascal
by
Dzandaa
[
Today
at 11:20:08 am]
You can embed Windows Con...
by
Fibonacci
[
Today
at 10:13:32 am]
new JPEG XL in pure Pasca...
by
Tomxe
[
Today
at 08:02:53 am]
Conscious Artificial Inte...
by
schuler
[
Today
at 02:42:53 am]
Implementing an Elo ratin...
by
mas steindorff
[
Today
at 02:22:34 am]
Can /my/ AI help me with ...
by
microxa
[
Today
at 12:56:29 am]
IndySecOpenSSL is now ava...
by
TheMouseAUS
[
Today
at 12:08:51 am]
RunFormula: math expressi...
by
stormray
[June 17, 2026, 10:32:05 pm]
Canvas size
by
Thaddy
[June 17, 2026, 07:15:50 pm]
What am I missing here? [...
by
Thaddy
[June 17, 2026, 03:39:02 pm]
TCHATGPT — An Artificial ...
by
Weiss
[June 17, 2026, 07:00:13 am]
RFC: Separation of MCU an...
by
ackarwow
[June 16, 2026, 11:06:14 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Lazpaint][Solved]How to make "Colour to alpha"? (Read 1336 times)
devEric69
Hero Member
Posts: 657
[Lazpaint][Solved]How to make "Colour to alpha"?
«
on:
December 19, 2020, 11:27:35 am »
(for memory, it can be useful to others)
In Lazpaint, emulate a menu "Colour" > "to alpha" (here, white colour towards transparent) can be done with the menu "Filter" > "Apply function...":
Code: Text
[Select]
[+]
[-]
alpha(0..1) = if(red>0.5 and green>0.5 and blue>0.5,0,1)
«
Last Edit: December 19, 2020, 11:33:04 am by devEric69
»
Logged
use: Linux 64 bits (Ubuntu 20.04 LTS).
Lazarus version: 2.0.4 (svn revision: 62502M) compiled with fpc 3.0.4 - fpDebug \ Dwarf3.
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Graphics
»
BGRABitmap and LazPaint
»
[Lazpaint][Solved]How to make "Colour to alpha"?
TinyPortal
© 2005-2018