Jump to content

Aziz

Members
  • Posts

    36
  • Joined

  • Last visited

Everything posted by Aziz

  1. The creative commons licence limits the actual software, not the products made with it. Someone can't, for example, take the Paint.NET source code and change it, then turn around and sell it. I haven't seen any licence that says the program can't be used to make commercial products, and that'd be silly, because programs are made to be used by people, including commercial users. Also, I never sold anything. I work for the company and there was no payment for the product, and as far as I know, that's not covered by the non-commercial clause. It means to sell the remixed works, and like I said, it doens't apply to the works made with the program, but rather works derived from the program. Also, that makes me wonder why Share-Alike has been included in that licence? Someone could remix it, release it under a commercial-possible licence, and then someone else could remix that and sell it. Though I'm not sure if the original works is still covered.
  2. Thanks, though Paint.NET was only part of the process. I used it to create the images and help me decide on layout and colours, but there's other parts that an image program can't handle And I didn't mean for that to be a plug, but rather an image to give a preview. If the mods/admins don't like it, I'll change it and perhaps add a small screenshot, but I don't think anyone here is in the market for $200,000-600,000 machines, are they?
  3. I haven't posted in a long time, I know, but I have something I think you guys should check out. At work I've been working on the company website, and it just launched last Thursday. We don't have photoshop and they didn't want to buy it, so that's where I picked up Paint.NET. Almost all images have been created or modified using Paint.NET and many community plugins. I've used GIMP for a few things such as cropping and resizing where Paint.NET was freezing on me or had crashed repeatedly that day (I hold a grudge sometimes). Just some thanks to the Paint.NET team and community, and please feel free to leave any comments/suggestions. A few suggestions I have for a future feature would be drag-and-drop layer moving, and more importantly, non-rasterized text layers. I've found that I'd be able to utilize the program more if I could move and edit text thats already styled. This, I guess, would imply layer styles that dynamically affect layers. Just my suggestions on using it the program for professional use. The website is http://www.technophar.com: Also, all the coding was done by myself with the help of my manager in PHP using Eclipse IDE. And a special thanks to the glass buttons tutorial.
  4. Up and working at a decent speed? >_> It's slow? Or are you referring to BoltBait's additions? I should have some time today to put together a new version.
  5. No nothing that special: http://paintdotnet.forumer.com/viewtopic.php?f=16&t=24492 I used it to make the border XD
  6. Yeah, while it's not complex or unique, it certainly is very handy.
  7. No "f1rs7 p0st!!11!!"? Thanks for the compliment.
  8. Right on, thanks. I'll look into that 'optimization' myself.
  9. Wow, taking me to school or what. Is it any problem if I use any of that in my code? I won't re-release it, as you already have, but more so for learning/using it myself.
  10. Combination of exploding planets and fire tutorials. Inspired my sig/avatar.
  11. Yeah I remembered that bit about splitting it into parts to render. And it makes sense - instead of rendering the bottom line, it was drawing a line every 10 px or so. That article really cleared up any uncertainties, thanks!
  12. Heh, sorry I guess I should've looked to see if someone else had done this. I guess mine does allow thicker borders at the expense of only doing rectagular selections. I read your post about finding the edge of an object based on looking at its neighbours. Though, at least in this situation, wouldn't it be better to look in 8 directions rather than 4? It's nice to know how to get the entire selected region and deal with it now, too. Thanks!
  13. All works are copyright Anthony Aziz. Feel free to use them as long as you don't sell them and you give me proper credit. All crisitsm accepted. All are 100% PDN Avatars Signatures Wallpapers
  14. I hope that falls under "The above post contains sarcasm" : It was my first plugin, and did help me grasp the Effects API. Though I only did it because I needed the effect I don't know about anyone else, but personally I'll be using this a lot.
  15. Of course! I've got a couple more in mind, too.
  16. I see your point, but I think that in the right circumstances, it'd be nice to use Anyways, thanks for the blunt answer
  17. Wow, iKid/alex (?), that's pretty sweet. Anyways, first 100% PDN work (and I even made my own plugin for it):
  18. First plugin, word. Selection > Outline Selection Size - The thickness of the border/outline Outside <-> Inside - Right now, does nothing. Next version this will be removed, since I can't edit pixels outside the range, and I can't increase the size of the selection Colour - Colour of the border/outline It's quiet simple actually. The point was to allow me to make an outline outside/inside a highlighted selection. Much like Photoshop's Stroke command which I used to use quiet frequently. The effect simple puts a border of specified width and colour on the current layer. Currently, this 'effect' only outlines on the inside of the selection, and only works for rectangular, singular selection (as in, not multiple boxes). The plan is to eventually be able to outline inside or outside the box, and if it's even possible, to outline on the canvas everything that is selected. Right now it's not much more useful than the box tool, as it's just as easy to draw the selection as it is to draw the box. However, it does have some advantages: - It's gaurenteed to be inside the selection. - When there's nothing selected, it will outline the entire canvas. Since it works always inside the selection, this is great for adding a border to an image. - Since it's based off of the selection, you can use the marquee tool to select a specific pixel size box, etc. Let me know your comments. I can post source, if requested. It wasn't actually that complicated once I got realized what the heck was going on. Edit: Of course I forgot to upload it. Just a note, one person had the following error: 1 of 1 -------------- File: C:\Program Files\Paint.NET\Effects\OutlineSelection.dll Effect Name: OutlineSelection.OutlineSelectionPlugin Full error message: System.TypeLoadException: Method 'OnCreatePropertyCollection' in type 'OutlineSelection.OutlineSelectionPlugin' from assembly 'OutlineSelection, Version=1.0.3055.21360, Culture=neutral, PublicKeyToken=null' does not have an implementation. I don't think this is because of my plugin, but if more people experience it, let me know, and I'll see if the .dll got corrupt. The actual code is pretty simple so I don't think there's a bug in it. Copyright notice: This work is copyright me, Anthony Aziz. Feel free to use it or distribute it however you like, as long as you give credit back to me. The exception is that this plugin may not be sold in any way. OutlineSelection.zip
  19. Is there any way at all, then, to modify selection with code, other than modifying the source code of the program? Similar question: is it posible to modify the area of a layer, outside of the selection? I noticed that the effects are 'truncated', so to speak, to the area of the selection.
  20. Oh, I see, that makes sense if that's the case. Should all plugins, then, be in the form of: ColorBgra current; for(int y = rect.Top; y < rect.Bottom; y++) { for (int x = rect.Left; x < rect.Right; x++) { current = src[x,y]; // TODO: Add pixel processing code here if (somecondition) { current = ; //modify current pixel } dst[x,y] = current; } } I'm going to have to look at some of the other plugins after lunch.
  21. Wait a second, what is 'rect'? Shouldn't one be using 'selection', as rect isn't even defined in that code. I just ran into a bunch of headache where I was using the bounds of rect to do my looping. It working fine for loops like so: for(int y = rect.Top; y < rect.Bottom; y++) { for (int x = rect.Left; x < rect.Right; x++) { CurrentPixel = src[x,y]; if (x % 2 == 0 && y % 2 == 0) dst[x,y] = PrimaryColor; } } But when I tried the following, I found that rect.Bottom and rect.Top where MOVING during the loop. O_O: for(int y = rect.Top; y < rect.Bottom; y++) { dst[rect.Bottom, y] = PrimaryColor; } That code isn't supposed to do anything useful, but it show that rect.Bottom is incrementing every iteration. Perhaps every time a change is made to dst. I don't have Visual Studio on this machine so I'm using CodeLab and thus no debugging. Using selection Rectangle solves this awkwardness.
  22. Hi. I've been looking through the Selection class source and looking at some of the methods. I noticed (while fooling around in CodeLab for the first time), that you get the selection bounds as a rectangle from the Selection object. So really you're affecting a box area. Now, if you have a non-rectangular selection (ellipse, or selected multiple areas with union select mode), the plugin only effects that within the selection. So, my question is, is there a way to find out what exact pixel are selected? Something like a Selection.ContainsPoint() method? And, furthermore, to manipulate the selection, such as add/remove point from it, etc. I can think of a couple of plugins I'd write that would use this functionality: 1. Select Layer. Not selecting the entire canvas, but rather selecting all non-transparant pixels in the layer. Similar to Photoshop's Ctrl+Click on the layer menu 2. Select Range functionality (Again, from photoshop), which would allow the user to select only certain colours/brightnesses, etc. And a whole slew of other selection adding/making functions.
  23. =/ Should've posted that in code tags. Anyways, if I understand correctly, you can write plugins in Visual Studio using the Paint.NET API, right? And since it is .NET, any language on the .NET platform can be used (Visual C++, VB, C#, even J#). It's all compiled to the same stuff, so even if most of PDN is written in C#, you can access it with VB (.NET, of course, no one should be using VB 6 anymore). And just a word on VB. You said you tried C++ and C# but prefer VB. Now's our chance to learn something different. C++ would be a big step to grasp the memory management concepts, but C# is managed and garbage-collected, and does everything VB does with more (except it doesn't do all the bad things VB does). There's a lot of great online tutorials out there for it - go ahead and look. C# is also very similar to Java (Except, from what I hear, C# 3.0 has a lot of new features that us Java developers have been hoping for in Java 7)
  24. After browsing around the forums some more, I think I cleared this up myself. Seems interesting still, I may do something. All my experience is with Photoshop, and thats pretty rusty as it is. Taking on a project is my favourite way to learn.
×
×
  • Create New...