Sign in to follow this  
Sepcot

Barcode Plugin

Recommended Posts

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

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

These files have been recompiled by @eladkarako. The new versions are available here:

http://forums.getpai...post__p__325391

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

Share this post


Link to post
Share on other sites
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...

Share this post


Link to post
Share on other sites

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"!!!

Share this post


Link to post
Share on other sites
Barcode-Sepcot.com.png

'Sepcot.com' Encode with Code 39

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)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this