Jump to content

Median alpha possible bug?


Recommended Posts

I have noticed an 'oddity' about the built in 'Median' effect.

If it is run on a layer with a solid object surrounded by transparent pixels, it increases the alpha of the transparent pixels by one. Is this intentional?
The 'transparent' alpha is effected all over the layer, not just close to the object where I would expect a change.
The alpha increases by 1 each time the effect is run. (testing with the color picker tool).
Try running it on a completely transparent layer and test the alpha after.

The reason this is relevant is that other plugins (yes mine!), speed effects up by simply copying over pixels with alpha == 0 and only processing if alpha is greater. It affects BoltBait's 'Transparency' plugin too and may affect the other Object type plugins.

 

Pdn v 3.5.10, Vista (up to date).

 

And yes I don't know the difference between 'effect' and 'affect' :D

 

Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings

 

PdnForumSig2.jpg

Link to comment
Share on other sites

aardvark.png

;)

Affect - think 'cause'.

Effect - think 'result'.

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...