Jump to content

BoltBait

Administrator
  • Posts

    15,730
  • Joined

  • Last visited

  • Days Won

    405

Everything posted by BoltBait

  1. I downloaded your file and renamed it to .PNG and Paint.NET opened the file just fine. However, the What Is It Plugin identifies it as a .JPEG file format. This actually concerns me. I think @Rick Brewster will have to investigate this.
  2. Whether or not Paint.NET opened this type of misnamed file in the past, changes required for new features causes Paint.NET to no longer open them. The simple solution is to properly name your files before trying to open them. If you need help identifying what the proper extension should be, try this plugin: https://forums.getpaint.net/topic/31715-whats-it-tools-effect-plugin/ I would not expect Rick to "fix" this problem. EDIT: I was wrong...
  3. Read this: https://forums.getpaint.net/topic/9349-plugin-problems-read-this/
  4. Try this one: https://forums.getpaint.net/topic/31996-zip-archive-filetype-plugin-zip/
  5. I'm not. I'm no FileType expert. (In fact, I'm not even a FileType beginner.)
  6. Please post a sample of one of these images. Thanks! EDIT: Since you say "Drawing Routines", I'm going to hazard a guess that the files you're talking about are actually WMF files and not BMP files. If you take a WMF file and rename it to BMP, Windows Paint (and Microsoft Word) will still open it just fine. Paint.NET can't do that. However, Paint.NET has a WMF filetype plugin that can load WMF files. You can find it here: https://forums.getpaint.net/topic/17950-wmf-windows-metafile-file-type-plugin-v131/ But, before attempting to open the file, if it has the extension BMP you'll need to change it to WMF.
  7. The manual is here: https://www.getpaint.net/doc/latest/ In the upper right corner of the screen, there is a translate button...
  8. Printing in Paint.NET is very rudimentary. Your best bet is to use this plugin: https://forums.getpaint.net/topic/28520-print-it-tools-effect/
  9. I'm not sure which outline plugin you're using. There are several in my plugin pack, I'll describe those. When using the Effects > Object > Outline plugin, the pixels you want to outline must be on a transparent canvas, like this: An "object" is a group of pixels on a layer that is completely surrounded by transparent pixels (or the edge(s) of the canvas). So, if you're trying to outline text (or "stroke text") you'll want to type that text on a transparent layer first, then run the outline plugin. (BTW, if you're using Pyrochild's outline plugin, it also works like this.) When using the Effects > Selection > Outline plugin, the outline is drawn following the selection, like this: This second one does not require transparency to work since it follows the "marching ants" of your selection.
  10. CodeLab 4.3 Released This is only for Paint.NET 4.2+! Big update today... Changes: â–ª Redesign File > New screen (BoltBait) â–ª HighDPI icons (toe_head2001) â–ª Add Format, Find, and Replace toolbar buttons (toe_head2001) â–ª Add snippet for Try/Catch (toe_head2001) â–ª Bug fixes to Quick Format (toe_head2001) â–ª Added flexible, themeable, customizable message boxes (BoltBait) â–ª Allow arbitrary names for UI fields, also removed UI Elements Renumber command (toe_head2001) â–ª Added light bulb renaming of fields defined in user's script (toe_head2001) â–ª Redesigned UI Builder screen (BoltBait) â–ª Added support for the new Uri Control (BoltBait) â–ª Update clipboard template code (null54) â–ª Improvements to code completion (toe_head2001) â–ª Intelligent Assistance improvements for Extension Methods, Generic Methods, and Generic Types (toe_head2001) â–ª Fixed build screen to not hold the icon file open (BoltBait) â–ª Various code cleanups and improvements (toe_head2001 and BoltBait) Grab the CodeLab DLL here: http://www.boltbait.com/pdn/CodeLab/ Screenshots: File > New screen redesign: New high resolution icons: Themeable message boxes that can have custom buttons: I was tired of MessageBox being displayed with white backgrounds when running the dark theme. So, I found FlexibleMessageBox source code and fixed it up for use in Paint.NET... added a few features, like customizable buttons and themes... fixed a few bugs. I think they look awesome. UI Designer redesign and new Web Link control: Notice that the Variables can be specified--you no longer need to use Amount1, Amount2, ... You can, if you want, but it is not necessary as the defaults are the same as before. We also have the new Web Link control type. This gives IndirectUI the ability to have a clickable link that opens a browser to a specified URL. If a Display Name is specified it is linked. If no Display Name is specified, the URL is displayed and linked. Rename Variables: Select the variable you wish to rename and start typing... a light bulb will appear. Click on that and you can rename your variable everywhere in the script where it appears. New Clipboard Code: Paint.NET v4.2 has a new helper class for accessing the clipboard. CodeLab has been updated to take advantage of this new service. On the File > New screen, when selecting "Clipboard" in the sample code drop-down box, the following code is now generated: // Name: // Submenu: // Author: // Title: // Version: // Desc: // Keywords: // URL: // Help: #region UICode #endregion private Surface clipboardSurface = null; private bool readClipboard = false; protected override void OnDispose(bool disposing) { if (disposing) { // Release any surfaces or effects you've created. if (clipboardSurface != null) clipboardSurface.Dispose(); clipboardSurface = null; } base.OnDispose(disposing); } void PreRender(Surface dst, Surface src) { if (!readClipboard) { readClipboard = true; clipboardSurface = Services.GetService<IClipboardService>().TryGetSurface(); } } // Here is the main render loop function void Render(Surface dst, Surface src, Rectangle rect) { for (int y = rect.Top; y < rect.Bottom; y++) { if (IsCancelRequested) return; for (int x = rect.Left; x < rect.Right; x++) { ColorBgra CurrentPixel = src[x,y]; if (IsCancelRequested) return; // If clipboard has an image, get it if (clipboardSurface != null) { CurrentPixel = clipboardSurface.GetBilinearSampleWrapped(x, y); } // TODO: Add additional pixel processing code here dst[x,y] = CurrentPixel; } } } This clipboard code is way faster than the older code CodeLab used to generate. Notice that the try/catch blocks are gone. That speeds up our code a lot.
  11. CodeLab has also been updated to support this release of Paint.NET.
  12. This woman had a "Trump Themed" wedding... I fixed it for her...
  13. There are buttons to control this in the upper right corner of the window:
  14. CodeLab is probably holding the file open. I'll look into this one. EDIT: This will be fixed in the next release of CodeLab.
  15. CodeLab releases can be found here: https://github.com/BoltBait/CodeLab/releases
  16. Try this and see if it works for you: http://boltbait.com/pdn/CodeLab/CodeLabInstaller305.zip
  17. Great idea. I've filed this issue in the private repository.
  18. You can already do this: Make your primary (or secondary) color transparent. Select what you want to make transparent. Press the backspace (or shift+backspace) key.
  19. @Rick Brewster, I wonder if it would help the drawing shape if you are drawing in 1px lines without AA round the starting and ending points to integer addresses.
×
×
  • Create New...