toe_head2001

Moderators
  • Content Count

    3,023
  • Joined

  • Last visited

  • Days Won

    69

Everything posted by toe_head2001

  1. If you want to switch to CodeLab, all you need is this: void PreRender(Surface dst, Surface src) { Rectangle selection = EnvironmentParameters.GetSelection(src.Bounds).GetBoundsInt(); string selectionCoords = "X: " + selection.Left + ", Y: " + selection.Top + ", Width: " + selection.Width + ", Height: " + selection.Height; Services.GetService<IClipboardService>().SetText(selectionCoords); } void Render(Surface dst, Surface src, Rectangle rect) { dst.CopySurface(src, rect.Location, rect); }
  2. For the output string change: string selectionCoords = $"{selection.Left}, {selection.Top}, {selection.Width}, {selection.Height}"; To: string selectionCoords = $"X: {selection.Left}, Y: {selection.Top}, Width: {selection.Width}, Height: {selection.Height}";
  3. : base(StaticName, StaticIcon, SubmenuName, EffectFlags.None) To: : base(StaticName, StaticIcon, SubmenuName, new EffectOptions { Flags = EffectFlags.None })
  4. Sorry, no. Due to the different licensing of the plugins, it would a difficult endeavor to put together legally. Who would want all of the plugins anyways?
  5. Yes, but technically that plugin uses the HD Photo format. There are differences (so I've read) between Microsoft's HD Photo and the standardized JPEG XR.
  6. JPEG XR isn't working on my Windows 7 box.
  7. That post gave incorrect and unhelpful information, so I removed it to prevent future confusion.
  8. It did indeed change recently. More info here: https://blog.getpaint.net/2019/07/13/paint-net-4-2-is-now-available/
  9. Sounds like you have an existing paint.net installation that has become broken. You can use this utility to remove the broken installation: https://support.microsoft.com/en-us/help/17588/fix-problems-that-block-programs-from-being-installed-or-removed Afterwards, you can install paint.net anew.
  10. "confirm" and "seems" are working against each other here. You mean the image you're using for a mask? Sure, if you think it will help.
  11. Where (what program) are you copying your images from?
  12. Yeah, I've seem them swap positions. I figure it's just the sorting algorithm that .NET is using. They have identical names, so there's no "proper" order. When the menu are sorted, sometimes one gets places first, sometimes second. No big deal.
  13. Here's one possible solution, and it would retain the easier way too. #region UICode RadioButtonControl<Positions> position = 0; // [1] Image Position|On the Left|In the Center|On the Right #endregion enum Positions { Left, Center, Right } void Render(Surface dst, Surface src, Rectangle rect) { switch (position) { case Positions.Left: // Code Here break; case Positions.Center: // Code Here break; case Positions.Right: // Code Here break; } dst.CopySurface(src, rect.Location, rect); } If RadioButtonControl<TEnum> is too clumsy or confusing, a person could just continue using RadioButtonControl.
  14. Are you using an Alpha Gradient or a Color Gradient? Can you post your gradient image?
  15. Possibly, but it would probably be a bit clumsy. But using numbers is clumsy too... I do have idea on how to do it though, and it would require you to define an enum for each RadioButtonList or DropDownList. (right now, CodeLab generates these enums for you) In Visual Studio it's much easier to use enums with RadioButtonList and DropDownList. In CodeLab, the values are just cast to numbers, because that's the easiest thing to do. (Because CodeLab generates the enums for you "behind the scenes", you have no way of knowing what they're named when you're working in the CodeLab editor.)
  16. Seems to work fine for me. What issue are you seeing specifically?
  17. At work you're using Win 10 2016 LTSB/LTSC At home you're using Win 10 1903 Perhaps Microsoft changed something in Windows 10 within those 3 years. I have no idea. I guess you'll find out when you upgrade to 2019 LTSC at work. You're using that same PDF printer at both home and work?
  18. Try this plugin: https://forums.getpaint.net/topic/111622-distort-this-v29-july-3-2018/
  19. You could try using the 'Grid / Checkerboard' plugin instead; hopefully it fits your needs. https://forums.getpaint.net/topic/113220-boltbaits-plugin-pack-for-pdn-v41-and-beyond-updated-december-1-2018/
  20. Older versions can be found here: https://filehippo.com/download_paint.net/history/
  21. Hidden = Non-visible = Unchecked Different ways to say the same thing.
  22. Did you download the newer build I posted yesterday? The layers issue should only be in the build from two days ago.
  23. Looks like your installation of the .NET Framework is damaged. Please re-install it: https://dotnet.microsoft.com/download/thank-you/net48 Let us know how it goes, and if it resolves the issue with paint.net.
  24. Looks like Paint.NET is having trouble reading the image's metadata. Do you have an example image you're willing to share for debugging?