Jump to content
How to Install Plugins ×
Paint.NET 5.1 is now available! ×

Recommended Posts

Posted (edited)

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.

Barcode-Dialog-v1.png

Barcode-Sepcot.com.png

'Sepcot.com' encoded with Code 39

Barcode-12345-Postnet.png

'12345' encoded with POSTNET

Quote

DLL Download Link (version 1.1.1): http://www.sepcot.co...rcodeEffect.zip (Unzip - Drop the Barcode.dll file into your Paint.NET Effects folder)

Source Download Link (version 1.1.1): http://www.sepcot.co...ffectSource.zip

 

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

 

Edited by toe_head2001
Posted

Making barcodes basically.

No. Way. I've just seen Bob. And... *poof!*—just like that—he disappears into the mist again. ~Helio

Posted
wuts the point of this?

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...

Posted

Amazing plug-in! I typed in my identity card number and it created a perfect match with the barcode found on my identity card!

Well done, Sepcot! This might be useful one day other than for "Nine Inch Nails"!!!

Posted

I print and read this one : sepcot;com

-> no capital letter

-> semi column instead dot

(Well I'm using a french keyboard so I'm sure it's a matter of configuring the BC reader)

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.

Posted

Awesome, now I can design my own bonuscard from the supermarket (they have barcodes). I'm gonna give it a shot :D

Posted

By the way, Sepcot, my previous comment about irregular selections was not a "bizarre observation": your plugin is actually written incorrectly, and its rendering will end up incorrect if changes are made to the rendering framework and how the region of interests are passed to effects. (Like what if I start dividing up the rendering based on rectangle tiles, instead of scanlines? etc)

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Posted

I print and read this one : sepcot;com

-> no capital letter

-> semi column instead dot

(Well I'm using a french keyboard so I'm sure it's a matter of configuring the BC reader)

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.

My reader passes through the keyboard emulating the key strokes...

I need to adjust the settings for it (if it read a 'A' it could give 'Q').

Posted
By the way, Sepcot, my previous comment about irregular selections was not a "bizarre observation": your plugin is actually written incorrectly, and its rendering will end up incorrect if changes are made to the rendering framework and how the region of interests are passed to effects. (Like what if I start dividing up the rendering based on rectangle tiles, instead of scanlines? etc)

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...

Dude! I deal with barcodes all day. Can you make it output a POSTNET barcode w/Check digit?

If my fix works, I should be able to implement POSTNET as well.

Posted
By the way, Sepcot, my previous comment about irregular selections was not a "bizarre observation": your plugin is actually written incorrectly, and its rendering will end up incorrect if changes are made to the rendering framework and how the region of interests are passed to effects. (Like what if I start dividing up the rendering based on rectangle tiles, instead of scanlines? etc)

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.

Dude! I deal with barcodes all day. Can you make it output a POSTNET barcode w/Check digit?

POSTNET support added.

See original post for download links.

Guest
This topic is now closed to further replies.
×
×
  • Create New...