Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gimp animation player is also a filter??
#5
Thanks rich2005.
It looks like the animation player acts like a filter on transparent layers.

Code:
convert input.png -channel A -fx "p*(p>0.3?1:0)" result.png

Here is an explanation of the script from the link you posted:
"uses "-channel A" to work on just the alpha channel. It checks each pixel to see if it's alpha value is greater than 30%. If it is, it multiplies the pixel's alpha value by 1 which leaves the transparency as it was. If the pixel's alpha value is 30% or less it multiplies the value by 0, which results in changing that to a fully transparent pixel.

I notice there is a option to apply a script to all layers in gimp-gap 'fillter all layers'. I will try it there first.

Sorry I didn't post the actual layer.
This is the video I was making when I noticed how animation player processes alpha channel layers.
https://www.youtube.com/watch?v=FgfJfJMe...e=youtu.be


The animations are made with MathMap Composer which gives them a life of their own Smile
Reply


Messages In This Thread
RE: Gimp animation player is also a filter?? - by Tas_mania - 03-11-2018, 12:37 AM

Forum Jump: