MJW

Members
  • Content count

    1,440
  • Joined

  • Last visited

  • Days Won

    30

MJW last won the day on May 7

MJW had the most liked content!

Community Reputation

662

2 Followers

About MJW

  • Rank
    2016 Plugin of the Year

Profile Information

  • Gender
    Male
  1. Congratulations to @welshblue , @sunmaggot and all the other cyber Johnny Appleseeds. Welshblues' entry is especially elegant. Looks like a lot of different approaches were used in this contest, which I like to see. Thanks to @toe_head2001 for hosting the competition!
  2. Malfunction - "Paste Alpha"

    @BoltBait, here is a suggestion for how the Paste Alpha Code might work.
  3. saveas / export

    I prefer using Ctrl+Shift+C to copy the merged image, followed by Ctrl+Alt+V to paste the merged image into a single-layer image that can be saved (in this case, in dds format). That way, the layered image is left associated with the original filename and format. Any updated versions can be saved into the flat image using Ctrl-V to paste, followed by saving.
  4. Malfunction - "Paste Alpha"

    You seem to have some personal definition of what a "true alpha mask" is. I have no idea what you mean by that phrase, and I doubt BoltBait does either. Why don't you tell us what you think a plugin that provides a "true alpha mask" should do? How would it be different from a plugin that sets alpha to the minimum of the image and clipboard alphas? What does that mean? How can they not be some specific color? A pixel is transparent if and only if its alpha is zero, and any pixel whose alpha is zero has to have something in the RGB values, which will become its color if the alpha is changed. If you're saying you don't want transparent areas to be made nontransparent, fine, but that's what using the minimum or product of the alphas would do. (You can't just leave the transparent image pixels unchanged and replace all the rest with the clipboard alphas, since that will produce ugly artifacts when almost-transparent image pixels get replaced by opaque clipboard alphas.)
  5. Malfunction - "Paste Alpha"

    I'll try to come up with the exact situation, but my guess is that the only things that really matter are that opaque image pixels are forced to have the clipboard alpha, and that all pixels are made transparent if they're transparent in either the image or the clipboard. In which case either multiply or use-least would suffice.
  6. Malfunction - "Paste Alpha"

    I'll be happy to provide the code. I want to see if I can do it in integer arithmetic, so it may take a day or two to refresh my memory on the ins and outs of doing that and getting the best result. There is another idea that's weird but more flexible: allow the option of applying blend modes to alpha. The alpha values could be copied into, say, the R values of pixels (whose alphas are 255), the op applied, and the result used as alpha. The Clipboard would be the upper-layer pixel, so Normal would result in substitution. Perhaps such an option isn't useful enough to justify the confusion it might cause. On the other hand, it would allow both Multiply and "least opaque" (Darken). That's actually a way Multiply could be done. Just copy the alphas into a pixel color byte, apply the Multiply op, and use the result. I don't know if that's easier than just using integer arithmetic on the alphas, which shouldn't be too difficult. EDIT: After thinking about it, I must admit I'm not sure what the best way to combine alphas is. Perhaps it is "Use least opaque alpha." I know there have been quite a few times when I wished I had an easy way of combining alphas, but off the top of my head, I can't think of exactly what I was doing, and what would have worked best.
  7. Malfunction - "Paste Alpha"

    @fuerudo, I think I know your problem, which is a misunderstanding of what Paste Alpha does. Paste Alpha replaces the alphas in the image with the alphas taken from the clipboard; it doesn't combine the alphas. It doesn't care that an image alpha was originally zero. If the clipboard alpha is 255 (opaque), that's what the new alpha will be. When you pasted the alpha from the green-bar image into the red-bar layer, all the pixels along the green bar became nontransparent. The ones along the green-bar diagonal that were originally transparent showed up as white, because transparent pixels are typically white with an alpha of zero. I wish there were the option to combine the alphas (which would be done by multiplying, then rescaling to the proper range).
  8. Malfunction - "Paste Alpha"

    The user can choose between using the greyscale value of the clipboard pixel or its alpha value. The desaturateOp call converts the pixel to greyscale for the greyscale choice.
  9. SOTW# 171 - Snail - WINNER.

    Voting period over already? That week sure went by quickly. Sorry, I forgot to vote this time. I couldn't decide which entry to vote for, so I decided to decide later. My pace was obviously too snail-like. Congratulations to MadJik's and Pixey for their clever, amusing, and well-executed entries.
  10. How to curve a font?

    You might try Paste Warp+.
  11. Forum Layout/Color

    It's there, like the shadow of a ghost, but I don't think it was that light until yesterday or today. Maybe I'll try the Goodnight Nurse theme.
  12. Forum Layout/Color

    What happened to the line that separates comments in the standard theme? They now all blend into one long comment. I'm pretty sure it just started happening. I think I would have noticed.
  13. Comment moved to the proper thread.
  14. Malfunction - "Paste Alpha"

    If Paste Alpha has a problem, you should need only two images to demonstrate it: the alpha image, and the image it will be pasted into. Either Paste Alpha leaves the color alone while changing the alpha to appropriate value, or it doesn't. The effect of blending the resultant layer with other layers is a Paint.NET matter, not a Paste Alpha matter. You can even specify coordinates of the alpha-pasted pixel that's wrong. It can be easily checked with the Color Picker. Either the color will be changed from before the Paste Alpha, or the alpha won't be changed to what it should be.
  15. Texture Merger

    @welshblue I have a comment on the Texture Scaler thread which may help with producing beveled rectangles, along with other such shapes. I'll try to provide an idea for the wings soon. I think the the basic idea is to make a texture map that matches the way you want the wings to bend, then use the Add mode of the Texture Merger to combine the wings with the shape to you want them bent. (Or I should say "combine the wing," since I would guess it's easier to do one wing at a time.)