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
Status of Missile Command...
by
TBMan
[
Today
at 03:42:52 am]
About the Class View
by
yinhuajian
[
Today
at 03:03:33 am]
Does FreePascal have a WM...
by
CM630
[December 15, 2025, 11:20:24 pm]
AVRPascal – free code edi...
by
ackarwow
[December 15, 2025, 10:40:17 pm]
Why does the call via fun...
by
ASerge
[December 15, 2025, 10:06:19 pm]
TLazSerial : serial port ...
by
CM630
[December 15, 2025, 09:56:09 pm]
Question re. FCL's ssocke...
by
jamie
[December 15, 2025, 09:23:35 pm]
connecting to mariadb
by
alanyoung
[December 15, 2025, 05:57:03 pm]
delete cookies
by
Leledumbo
[December 15, 2025, 05:14:27 pm]
[hacked for now] Changing...
by
jamie
[December 15, 2025, 04:40:15 pm]
Error: Enumeration symbol...
by
nanobit
[December 15, 2025, 04:17:38 pm]
AI interactions
by
Zvoni
[December 15, 2025, 02:19:48 pm]
Recomendations for conver...
by
kompustelnik
[December 15, 2025, 11:20:05 am]
Qt6 / X11: problem with G...
by
paweld
[December 15, 2025, 11:14:43 am]
[Solved] Lookup field: er...
by
BlueIcaro
[December 15, 2025, 09:59:57 am]
LCL Web Native with D2Bri...
by
egsuh
[December 15, 2025, 08:10:14 am]
Access Violation - Databa...
by
Xenno
[December 15, 2025, 06:21:52 am]
SpkToolbar custom update
by
wp
[December 14, 2025, 11:55:55 pm]
MVP made easier.
by
cdbc
[December 14, 2025, 05:14:40 pm]
Lazarus is not working
by
Fred vS
[December 14, 2025, 05:14:20 pm]
TIBDataSet "Closing"? on ...
by
RedOctober
[December 14, 2025, 04:52:18 pm]
Running External Tools
by
JuhaManninen
[December 14, 2025, 04:08:28 pm]
The start of yet another ...
by
TBMan
[December 14, 2025, 03:16:21 pm]
Need help with Runcommand...
by
marcov
[December 14, 2025, 12:46:25 pm]
Military Grade Directives
by
Thaddy
[December 14, 2025, 11:46:44 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Lazpaint][Solved]How to make "Colour to alpha"? (Read 1141 times)
devEric69
Hero Member
Posts: 648
[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