Jump to content

Sepcot

Members
  • Posts

    63
  • Joined

  • Last visited

About Sepcot

  • Birthday 01/01/1970

Contact Methods

  • Website URL
    http://www.sepcot.com

Profile Information

  • Location
    Chicago

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Sepcot's Achievements

Enthusiast

Enthusiast (6/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Moving from Horizontal to Vertical is not as easy as just changing Left and Right to Bottom and Top. Paint.NET currently passes scanlines into the Render loop (and as Rick has said, this might not always be the case, so your Horizontal code could be wrong in the future). Since scanlines are going into your render loop, rect.Bottom - rect.Top [height] is going to be equal to 1. So far starters, use selection instead of rect when calculating the width and height of the total selection. This does NOT solve how to draw vertically, since each pass into the render function will generate a new random number, but this should help you understand where you are going wrong and get back on track.
  2. Moving from Horizontal to Vertical is not as easy as just changing Left and Right to Bottom and Top. Paint.NET currently passes scanlines into the Render loop (and as Rick has said, this might not always be the case, so your Horizontal code could be wrong in the future). Since scanlines are going into your render loop, rect.Bottom - rect.Top [height] is going to be equal to 1. So far starters, use selection instead of rect when calculating the width and height of the total selection. This does NOT solve how to draw vertically, since each pass into the render function will generate a new random number, but this should help you understand where you are going wrong and get back on track.
  3. You can't run any effect directly from CodeLab, but if you are interested in Clouds... I have the CodeLab version of my Clouds Plugin (not the built in Clouds effect that comes with PDN 3.x) here: http://paintdotnet.12.forumer.com/viewtopic.php?t=1971
  4. I'm not sure what you are trying to do, but you probably want to use GetIntensity(). But, you can't just assign the value of the 'brightness' back, you need to adjust the ColorBgra itself. Take a look at the source for BrightnessAndContrastAdjustment.cs
  5. This has been renamed to PaintDotNet.Core.dll
  6. Fixed. I refractored a lot of my code and added a BarcodeSurface class to pre-render a given barcode before it gets drawn to the destination surface. POSTNET support added. See original post for download links.
  7. Ah, I think I have figured out a fix for this, but I don't have Visual Studio at work... look for an update next week... If my fix works, I should be able to implement POSTNET as well.
  8. Well, 'Sepcot.com' was encoded with Code 39, so it should be read in as 'SEPCOT.COM' (all uppercase, no lower case letters in Code 39) and there is no ';' character in Code 39 (there is in Full ASCII Code 39) so that is probably related to the language.
  9. I had to learn how to generate barcodes for a project I was working on at work... it was easy enough to turn it into a plugin...
  10. MODERATORS NOTE: this plugin has been superseded by a newer version: https://forums.getpaint.net/topic/31559-barcode-v14-nov-14-2015/ Version 1.1.x of my Paint.NET Barcode Plugin is completed. Note: I do not have access to a barcode reader and have not checked the validity of the barcodes, but they should be accurate ? Version 1.1.x supports Code 39 and POSTNET barcodes, as well as fixes some rendering issues. 'Sepcot.com' encoded with Code 39 '12345' encoded with POSTNET For more information about what is going on in the code you can visit: http://www.sepcot.co...-Barcode-Plugin http://www.sepcot.co...ode-Plugin-v1_1
  11. Updated! Effects Plugin Template All of BoltBait's points above have been addressed. [*:58569]Added SubMenu Option. [*:58569]Buttons anchored. [*:58569]Token file updated. Added getter/setter example. [*:58569]Added reference to PaintDotNet in Configuration Dialog
  12. At angle: 180, you can see the image actually moves 1px to the right and 1px down... To reproduce: create 30x30 image, gradient filled. Duplicate layer. Resize canvas to 36x36 (any even increase will work). Rotate top layer. @90, the top layer moves down one pixel. @180 it also moves right one pixel.
  13. Nice work BoltBait. I'm interested in seeing your anti-alias implementation.
  14. I had to use the direct download as well, kept getting a 404 error.
  15. 'Blurs' is just a sub-menu, a grouping for effects, and should not have an icon. All the effects within the 'Blurs' sub-menu (i.e. Gaussian Blur, Median, etc.) should have icons.
×
×
  • Create New...