Jump to content

treycodes

Newbies
  • Posts

    6
  • Joined

  • Last visited

Everything posted by treycodes

  1. Okay, so file > new which has the functionality already and the default new image created at startup should have different functionality. Two completely separate ways a new image is created. 800x600 is the perfect image size for everyone. Why doesn't file > new just create 800x600 images? Actually, I just realized I can copy only 800x600 images to my clipboard and that solves it. Would recommend this to everyone not wanting different new image resolutions between app startup and file > new.
  2. Hello, I wanted to suggest this because I find myself starting Paint.NET wanting to edit an image that's already on my clipboard and the default image (on startup) doesn't match the clipboard's image size. If you have an image on your clipboard and Paint.NET is already running and you create a new image that image will automatically be set to the clipboard image's dimensions (if available, obviously). It would be nice if the clipboard image being the new image's dimension was applied on the app startup. It's not a lot of work to paste the image and then Ctrl + Shift + X to automatically resize the canvas to the selected area (which would be the pasted image) or to close the default image document and create a new one. Both options seem unnecessary when the clipboard image's size is already being used for new images after startup. Current Behavior 1. Launch Paint.NET 2. Create empty 800x600 image 3. image ready to edit Expected Behavior 1. Launch Paint.NET 2. Create new image with dimensions according to clipboard If empty, default to 800x600 If non-image data, default to 800x600 If clipboard contains image data, set dimensions to the clipboard image 3. image ready to edit Bonus Settings to adjust the default/fallback image resolution Setting to automatically start editing the clipboard image if detected on startup This option would be fantastic since I launched Paint.NET to edit the clipboard image it's always related Could be ignored when passed command args (could be an additional setting) Setting to detect clipboard text at startup for a valid relative or full path to an image to automatically open for editing Whether the image is created with the dimensions or resized after doesn't matter. Not sure how much work this would be and it's minor but I wanted to suggest it. If it was something that plugins could do I'd just build something to do it myself but the plugin API doesn't seem like it would be an option to control the application's behavior with events or something. If it is doable then I'd be happy to do it and save you the trouble. If you have any questions or need information from me let me know. Happy to help. Thanks, Trey
  3. Are the old builds available? I don't know if they would work or not but it'd be worth trying. A week is a long time when you're using mspaint...
  4. Same thing is happening to me when I try to use the eraser tool. Pretty much the same stack trace, and since it's all .NET assemblies and native function calls I'm guessing it's an issue with the latest release. I checked for Windows updates, re-installed paint.net, re-installed graphics drivers, and it always happens. I was going to try it without plugins but knowing that someone else is also experiencing the issue combined with the stacktrace being a dispose issue makes me think it's just a bug in the app. If you guys need any more info let me know. This just started with the latest update. I can't find the download page for old versions of the app but if someone could share that I'd appreciate it. Stacktrace System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Disposed 'Cursor' can no longer be used.'. at System.Windows.Forms.Cursor.get_Handle() at Interop.User32.SetCursor(IHandle hCursor) at System.Windows.Forms.Control.WmSetCursor(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.UserControl.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam) Crash Log pdncrash.11.log pdncrash.12.log pdncrash.9.log pdncrash.10.log
  5. I couldn't upload the file with the .xaml extension but here it is as a .txt file. Just change the extension to .xaml before putting it in your shapes folder. material-emoticon-devil-outline.txt
  6. Hello, I'm a developer, and as of the past week or so, a fan of paint.net... I frequently use the material design icons for, well, icons. There's not a lot of shapes available in paint.net that I could really use but I made use of the custom shapes feature. I figured someone else could use this too so I tried to make it non-developer friendly... There's A LOT of material design icons you can choose from on materialdesignicons.com (which is now located at https://pictogrammers.com/library/mdi/). For this example I am using the "emoticon-devil-outline" icon. You can search for whatever shape/icon you need and when you find one just open the details up. The details screen has an advanced export drop down and XAML is one of the options (which is what the paint.net shapes files are). You can select either XAML option since the shape geometry is the same for both UI elements. Copy the "Data" attribute (and optionally it's value). Now, I guess I'm limited on the upload pictures for this post and even though I've removed extra ones it's still saying I'm over the limit which is annoying... but anyways, either create a new or copy an existing custom shape. I've included the contents of this one as an example but you're free to use it as a template or whatever works for you. When creating a new icon/file here's the things that you need to change (just as a quick reference): DisplayName attribute value This is what your shape will show up as in the custom section in paint.net AND is used for alphabetical sorting. So I have all of my material shaped DisplayNames are prefixed with "material-" so they are easier to find Geometry attribute value This comes from the Data attribute on the material design site's XAML export drop down menu in the "Advanced Export" section The file name of the document In this case I created a folder in "Shapes" called "Material" and then created this material-emoticon-devil-outline.xaml <ps:SimpleGeometryShape xmlns="clr-namespace:PaintDotNet.UI.Media;assembly=PaintDotNet.Framework" xmlns:ps="clr-namespace:PaintDotNet.Shapes;assembly=PaintDotNet.Framework" DisplayName="material-emoticon-devil-outline" Geometry="M1.5,2.09C2.4,3 3.87,3.73 5.69,4.25C7.41,2.84 9.61,2 12,2C14.39,2 16.59,2.84 18.31,4.25C20.13,3.73 21.6,3 22.5,2.09C22.47,3.72 21.65,5.21 20.28,6.4C21.37,8 22,9.92 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12C2,9.92 2.63,8 3.72,6.4C2.35,5.21 1.53,3.72 1.5,2.09M20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12M10.5,10C10.5,10.8 9.8,11.5 9,11.5C8.2,11.5 7.5,10.8 7.5,10V8.5L10.5,10M16.5,10C16.5,10.8 15.8,11.5 15,11.5C14.2,11.5 13.5,10.8 13.5,10L16.5,8.5V10M12,17.23C10.25,17.23 8.71,16.5 7.81,15.42L9.23,14C9.68,14.72 10.75,15.23 12,15.23C13.25,15.23 14.32,14.72 14.77,14L16.19,15.42C15.29,16.5 13.75,17.23 12,17.23Z"> </ps:SimpleGeometryShape> I'm sure this isn't anything new but it's the best way to make use of the custom shapes for paint.net (which I started using ~a week ago). If you have any questions or need more examples let me know.
×
×
  • Create New...