It is currently April 16th, 2024, 7:18 pm

Alpha Channel

Get help with creating, editing & fixing problems with skins
User avatar
Jaime Méndez
Posts: 98
Joined: August 31st, 2022, 10:00 pm

Alpha Channel

Post by Jaime Méndez »

Hello, a simple question.
Is there a way to remove alpha channel from an image file in an image meter?

[ImageMeter]
Image=MyImage
AlphaChannel=off

I don't want to use Magick Meter plugin for a reason. I don't want the final user to have to install ImageMagick just for a single command of a skin

Thank you
User avatar
tass_co
Posts: 511
Joined: May 4th, 2020, 3:01 pm
Location: Ankara, TURKEY

Re: Alpha Channel

Post by tass_co »

Jaime Méndez wrote: October 13th, 2022, 4:41 am Hello, a simple question.
Is there a way to remove alpha channel from an image file in an image meter?

[ImageMeter]
Image=MyImage
AlphaChannel=off

I don't want to use Magick Meter plugin for a reason. I don't want the final user to have to install ImageMagick just for a single command of a skin

Thank you
I didn't understand what you mean by "removing the alpha channel".
If you write what you want to do, we can help better.
or
You can look to ColorMatrix Guide to work with color channels.
I don't know where i going from here, but i promise it won't be boring... :great:
User avatar
balala
Rainmeter Sage
Posts: 16142
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Alpha Channel

Post by balala »

Jaime Méndez wrote: October 13th, 2022, 4:41 am Is there a way to remove alpha channel from an image file in an image meter?
Yep, add a SolidColor=0,0,0 option to the Image meter.
User avatar
Jaime Méndez
Posts: 98
Joined: August 31st, 2022, 10:00 pm

Re: Alpha Channel

Post by Jaime Méndez »

tass_co wrote: October 13th, 2022, 6:15 am I didn't understand what you mean by "removing the alpha channel".
If you write what you want to do, we can help better.
or
You can look to ColorMatrix Guide to work with color channels.
Thank you, I meant to remove transparency to an image like a png with alpha channel
balala wrote: October 13th, 2022, 8:00 am
Yep, add a SolidColor=0,0,0 option to the Image meter.
Thanks again balala, it did the trick :thumbup:
User avatar
balala
Rainmeter Sage
Posts: 16142
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Alpha Channel

Post by balala »

Jaime Méndez wrote: October 13th, 2022, 9:40 am it did the trick :thumbup:
This means I understood well what you wanted. I wondered if I'm correct, but it was proven I had. I'm glad.