postscriptbarcode icon indicating copy to clipboard operation
postscriptbarcode copied to clipboard

PDF417 improvements

Open terryburton opened this issue 11 years ago • 9 comments

  • [ ] Reader initialisation
  • [x] ECI
  • [ ] MacroPDF

terryburton avatar May 17 '14 22:05 terryburton

Ink spread support would be great too (does not work online).

swenner avatar Jun 17 '16 15:06 swenner

We render stacked-linear symbologies such as PDF417 in the same way that we do for matrix symbologies (QR Code, etc.) — in essence drawing and filling a square for each dark module. To support inkspread it may be necessary to perform outline tracing and render complex shapes instead.

I've opened a new issue to track this.

terryburton avatar Jun 17 '16 15:06 terryburton

Outline tracing support added. inkspread support for stacked linear symbologies requires further that we split the inkspread option into inkspreadh and inkspreadv so that we can shrink the width of "bars" without reducing their height.

terryburton avatar Jul 19 '16 20:07 terryburton

Outline tracing support added. inkspread support for stacked linear symbologies requires further that we split the inkspread option into inkspreadh and inkspreadv so that we can shrink the width of "bars" without reducing their height.

@swenner Take 2016-07-20 for a spin with something like the following:

0 0 moveto (Test) (inkspreadh=0.15) /pdf417 /uk.co.terryburton.bwipp findresource exec

terryburton avatar Jul 19 '16 22:07 terryburton

Works great. Thanks a lot! (better late than never ;) )

swenner avatar Feb 19 '17 13:02 swenner

@swenner Thanks for the feedback.

terryburton avatar Feb 19 '17 20:02 terryburton

ECI support added with 2fd7273b8eef2ff2960eaea3a1f3063d28c8fcb8.

terryburton avatar Sep 10 '20 01:09 terryburton

Hi Terry. This library is very useful. And help me solve many difficult problem. In my project, I have to generate pdf417 by using raw. But converting byte compaction to text compaction is a bit tricky. Is there any way you can handle this problem in your library?

a9293340 avatar Nov 13 '20 03:11 a9293340

Hi Terry. This library is very useful. And help me solve many difficult problem.

Thanks.

In my project, I have to generate pdf417 by using raw. But converting byte compaction to text compaction is a bit tricky. Is there any way you can handle this problem in your library?

"I've tried stuff and it doesn't work". What is it exactly that you have tried and how did it not work?

I can see from other issues you raised (and then closed without comment) that you initially attempted to use ECI indicators, resulting from a misunderstanding. I have updated the documentation to make this more clear.

You have now discovered raw so you are likely now on the right track. What do you mean by "converting byte compaction to text compaction" and what is it that the library does not do?

Better yet, what is your actual requirement and do you have example symbols that you are trying to emulate?

terryburton avatar Nov 13 '20 13:11 terryburton