Jump to content

Red ochre

Members
  • Posts

    3,018
  • Joined

  • Last visited

  • Days Won

    125

Everything posted by Red ochre

  1. Thanks for the tip and code example Midora. I do like your 'PLAP' color tab and will investigate your OptionBasedEffect class when I next write a relevant Effect.
  2. Yes, I agree, access to the 'more' inputs from within a plugin would be ideal. Including the alpha would make the U.I. neater in some of my plugins too. (too much hassle to write custom U.I.s ) Also, it is good that the last used color is 'remembered' by a plugin within one session, however that is a drawback if you want it to take the Primary color value - perhaps a 'reset to Primary color' button too? If Donna is working with a number of pre-defined colors it may be useful for the plugin to access a palette file as the colors window can?
  3. The colorwheel in the plugin U.I. starts off using the Primary color, so setting this with a hex value before running the plugin may be a work around?
  4. Excellent tutorial & music production! - many thanks. Impressive results from everyone.
  5. Thanks for hosting Daniels and thanks Pixey for volunteering!
  6. Hello Sarah - welcome to the forum! A picture would certainly help. If it is reasonably small (less than 800 pixels width) you can attach it directly to your post. A better way is to upload it to a free image hosting site (eg. Imgur or Photobucket) and insert the link in your post. There are some instructions here if you have problems.http://forums.getpaint.net/index.php?/topic/12193-how-to-use-images-in-your-posts-signatures-and-avatars/ As for removing the word 'Proof' from the image - without seeing the image I would select with the magic wand as before but instead of deleting the selection try using the Brightness/Contrast Adjustment. If that doesn't work there is a plugin called 'Fill gaps' that can fill transparent areas reasonably well here: http://forums.getpaint.net/index.php?showtopic=13595 Good luck!
  7. Well done xod - you are making good progress! Thanks Remake for helping out. Perhaps consider using a 'Double Vector' control to replace Amount6 and Amount7, to move the 'origin' of the grid lines? (But it has to be what you find useful!). See the 'uielements' section in Boltbait's codelab tutorials as Remake linked to above.
  8. Great idea! - I had thought there could be a need for something like this. (downloading now). Very seasonal! Thanks. Works really well - hope you're felling better soon too (hot whisky, lemon and honey works for me ).
  9. Welcome to the forum Nathan! Make sure you paste the giraffe into a new layer above the new background.
  10. Yes - 'a picture speaks a thousand words'. Do as xod suggests - no need for a transparent gradient to do that.
  11. Hi Jenna, Have you tried the Plugin Browser? - it allows you to bookmark your favourite plugins. http://forums.getpaint.net/index.php?/topic/29308-the-plugin-browser-updated-2014-22-09/ Happy Christmas!
  12. Hello purpleronnie (great username!), You could put your text :TextTool:on a new layer above the background image. :AddNewLayer: Then use the gradient tool :GradientTool:set to Transparency mode.(select the gradient tool - then look in the top tool bar to change the mode - small arrow next colorwheel icon, :Colors: into :AlphaChannelOnly:I think!). There are many more variations on this basic idea, (changing the text layer's blend mode to multiply for instance) but it is difficult to advise without an example image of what you want to create. The documentation for Pdn4 is not available yet however it is much the same as for Pdn 3.5.11 - just press the F1 key when Pdn is open and it should take you there.
  13. Hi xod, I am using codelab 1.8 in Pdn 3.5.11 (I'm on Vista). Make sure you save each version of your plugin as a '.cs' file, with a unique name (eg. Axes1a, Axes1b, Axes9z ... etc), before you compile. Codelab will not allow you to compile two .dlls with the same name. I usually create many versions before I am happy with an effect - I then delete all those oddly named .dlls from the Effects folder before compiling the final version with a simple name (eg. Axes). I would not recommend renaming the .dlls themselves. That's just the way I work using codelab (I find the version numbering too confusing). If in doubt delete all your 'Axes' .dlls and 'Untitled' .dlls and recompile in codelab from the saved .cs file. Z80 spectrum! - I went straight from a Commodore64 to C# on Vista! (which explains a lot) Good luck - glad you are giving it try!
  14. That looks great Pixey! I love the patterns on the blankets. The illustration looks like you scanned a watercolour to start? - good technique and a talented painter! Happy Christmas
  15. // Name: quarterize // Author: Red ochre (John Robbins) // Submenu: Render // URL: http://www.getpaint.net/redirect/plugins.html // Title: Quarterize Nov 2012 Red ochre #region UICode int Amount1 = 1; // [0,100] line width (color from primary) bool Amount2 = false; // [0,1] diagonals #endregion void Render(Surface dst, Surface src, Rectangle rect) { Rectangle selection = this.EnvironmentParameters.GetSelection(src.Bounds).GetBoundsInt(); ColorBgra PC = (ColorBgra)EnvironmentParameters.PrimaryColor; // ColorBgra SecondaryColor = (ColorBgra)EnvironmentParameters.SecondaryColor; dst.CopySurface(src,rect.Location,rect);// copy surface quicker than looping through int lineW = Amount1; float Stop = selection.Top; float Sbot = selection.Bottom; float Sleft = selection.Left; float Srite = selection.Right; float H = Sbot - Stop;float midH = (H/2) - 0.5f; float W = Srite - Sleft;float midW = (W/2) - 0.5f; // create a GDI+ graphics surface Graphics g = new RenderArgs(dst).Graphics; g.Clip = new Region(rect); g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias; // create a pen Pen priPen = new Pen(Color.FromArgb(PC.A,PC.R,PC.G,PC.);priPen.Width = lineW ; if(!Amount2)//V & H { PointF topmid = new PointF(Sleft + midW,Stop - 1f); PointF botmid = new PointF(Sleft + midW,Sbot); PointF leftmid = new PointF(Sleft - 1f ,Stop + midH); PointF ritemid = new PointF(Srite ,Stop + midH); g.DrawLine(priPen,topmid,botmid); g.DrawLine(priPen,leftmid,ritemid); } if(Amount2)//diagonals { PointF topleft = new PointF(Sleft,Stop ); PointF botrite = new PointF(Srite,Sbot - 0.5f ); PointF toprite = new PointF(Srite ,Stop - 1f); PointF botleft = new PointF(Sleft ,Sbot - 1f); g.DrawLine(priPen,topleft,botrite); g.DrawLine(priPen,botleft,toprite); } // dispose of graphics objects priPen.Dispose(); // g.Dispose();- do not dispose as an alias for something I did not create }
  16. Not sure if this may help xod? quarterizer.zip I made it a while back to run on a transparent layer to render lines that I could use to 'contain' the magic wand, when I wanted to select a quarter of the canvas. If it helps I can post the code lab code? (E.E.R. - I'm not 'formally' publishing this one - well I could but it doesn't do much! - found under Render, not Plugin Browser compatible, .dll name 'quarterizer')
  17. Useful and fun - Thank you! (Hey, this would qualify for the 'Iterative lines' Submenu!) Impressive example images posted here too.
  18. Looks like the first part of your gallery is using the quote code around the image links, the second part is (just the image & thumb links) is what you want to keep. Log in to your gallery and click on 'Edit' in the first post (lower R.H.S). Click the little 'switch' on the L.H.S of the tool bar to edit the BBcode directly. First copy all the code and save in Notepad or Word (in case you mess up). Then find the start and end quote tags in your code and delete them and everything in between, just leaving the direct image or thumbnail links below. Then click the preview post button. If ok click 'save changes'. Keep a copy of the code for future reference too - very easy to accidentally loose all your links! Remember you can edit the thread title at this stage too. Good luck! - cool gallery too.
  19. Perhaps an unorthodox soloution could be possible along these lines? http://pdnfans.proboards.com/thread/55
  20. They look like carpet tiles - tell him he can replace the stained ones! http://i.imgur.com/OEXQxP6.png 1. Create a new layer :AddNewLayer: 2. Use the paintbrush at say 20 px to draw a stain. 3. Double click the layers box and reduce the opacity and change the blend mode to Multiply. 4. Select eraser and use a small width, say 2px, to erase where the stain goes over the trousers, cloth etc - you'll need a steady hand - don't forget you can always undo. :Undo: 5. Change the stain layer's colour to a dark brown - one way to do this is by using my 'Object2colour' plugin (in my pack - link in sig). Quicker to do than to explain! Welcome to the forum - hope he doesn't sack you.
  21. Hello emadpres, welcome to the forum! You could try installing this plugin http://forums.getpaint.net/index.php?/topic/26236-measure-selection-tools-effect/ Hope that helps.
  22. Beautiful Christmas image! Very well composed and clever use of 'focus'. Well done!
×
×
  • Create New...