Comments (5)
I will take care of your request, only I need some more information. Could you share a test setup so I understand what happened and changed?
from barcode.
Yes, if you check in chrome the online generator:
https://barcode-coder.com/en/barcode-online-generator-2.html
you'll see that the SVG output fails with latest chrome version.
I ended up in this question when looking for a fix for the problem I was facing:
https://stackoverflow.com/questions/54453987/did-chrome-72-break-dataimage-svgxmlutf8-for-css-background-svgs
Thank you, i've fixed my problem using bmp output for now.
from barcode.
I have analyzed the problem and can now tell you that I recommend two solutions.
<html><body><img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjY3IiBoZWlnaHQ9IjY1Ij4gPHJlY3Qgd2lkdGg9IjY3IiBoZWlnaHQ9IjY1IiB4PSIwIiB5PSIwIiBmaWxsPSIjRkZGRkZGIiAvPiA8cmVjdCB3aWR0aD0iMSIgaGVpZ2h0PSI1MCIgeD0iMCIgeT0iMCIgZmlsbD0iIzAwMDAwMCIgLz4gPHJlY3Qgd2lkdGg9IjEiIGhlaWdodD0iNTAiIHg9IjIiIHk9IjAiIGZpbGw9IiMwMDAwMDAiIC8+IDxyZWN0IHdpZHRoPSIyIiBoZWlnaHQ9IjUwIiB4PSI1IiB5PSIwIiBmaWxsPSIjMDAwMDAwIiAvPiA8cmVjdCB3aWR0aD0iMSIgaGVpZ2h0PSI1MCIgeD0iOSIgeT0iMCIgZmlsbD0iIzAwMDAwMCIgLz4gPHJlY3Qgd2lkdGg9IjEiIGhlaWdodD0iNTAiIHg9IjEyIiB5PSIwIiBmaWxsPSIjMDAwMDAwIiAvPiA8cmVjdCB3aWR0aD0iMiIgaGVpZ2h0PSI1MCIgeD0iMTUiIHk9IjAiIGZpbGw9IiMwMDAwMDAiIC8+IDxyZWN0IHdpZHRoPSI0IiBoZWlnaHQ9IjUwIiB4PSIxOCIgeT0iMCIgZmlsbD0iIzAwMDAwMCIgLz4gPHJlY3Qgd2lkdGg9IjEiIGhlaWdodD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VpZ2h0PSI1MCIgeD0iNjQiIHk9IjAiIGZpbGw9IiMwMDAwMDAiIC8+IDxyZWN0IHdpZHRoPSIxIiBoZWlnaHQ9IjUwIiB4PSI2NiIgeT0iMCIgZmlsbD0iIzAwMDAwMCIgLz4gPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMzMgMCkiPiA8dGV4dCB5PSI2MCIgdGV4dC1hbmNob3I9Im1pZGRsZSIgc3R5bGU9ImZvbnQtZmFtaWx5OiBBcmlhbDsgZm9udC1zaXplOiAxMHB4OyIgZmlsbD0iIzAwMDAwMCI+MTIzNDU2NzA8L3RleHQ+IDwvZz4gPC9zdmc+"></body></html>
<html><body><svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="67" height="65"><rect width="67" height="65" x="0" y="0" fill="#FFFFFF" /><rect width="1" height="50" x="0" y="0" fill="#000000" /><rect width="1" height="50" x="2" y="0" fill="#000000" /><rect width="2" height="50" x="5" y="0" fill="#000000" /><rect width="1" height="50" x="9" y="0" fill="#000000" /><rect width="1" height="50" x="12" y="0" fill="#000000" /><rect width="2" height="50" x="15" y="0" fill="#000000" /><rect width="4" height="50" x="18" y="0" fill="#000000" /><rect width="1" height="50" x="23" y="0" fill="#000000" /><rect width="1" height="50" x="25" y="0" fill="#000000" /><rect width="2" height="50" x="29" y="0" fill="#000000" /><rect width="1" height="50" x="32" y="0" fill="#000000" /><rect width="1" height="50" x="34" y="0" fill="#000000" /><rect width="1" height="50" x="36" y="0" fill="#000000" /><rect width="3" height="50" x="39" y="0" fill="#000000" /><rect width="1" height="50" x="43" y="0" fill="#000000" /><rect width="1" height="50" x="45" y="0" fill="#000000" /><rect width="1" height="50" x="50" y="0" fill="#000000" /><rect width="1" height="50" x="54" y="0" fill="#000000" /><rect width="3" height="50" x="57" y="0" fill="#000000" /><rect width="1" height="50" x="62" y="0" fill="#000000" /><rect width="1" height="50" x="64" y="0" fill="#000000" /><rect width="1" height="50" x="66" y="0" fill="#000000" /><g transform="translate(33 0)"><text y="60" text-anchor="middle" style="font-family: Arial; font-size: 10px;" fill="#000000">12345670</text></g></svg></body></html>
I ask for feedback, if this helped?
from barcode.
@xxalfa yes, thanks
from barcode.
Sorry, I was out a few days, it works, thanks a lot
from barcode.
Related Issues (20)
- How to add content ($code) under the barcode?
- '#' is an invalid character in Firefox and IE rendering of SVG data property.
- Datamatrix creation generate Notice: Undefined offset: [n_row] HOT 1
- [jquery 2.0.2] Issues on IE after migration to IE11
- scanner detect and acquire
- barcode/php/sample php/sample-fpdf-code128.php
- Rectangular Extension of Data Matrix
- Found incorrect function call in getDigit function for "msi" barcode type (jQuery barcode plugin 2.0.3)
- EAN 13 change the number HOT 1
- Problem with checksum for UPC barcode
- Doesn't works with FPDF 1.81 HOT 1
- Barcode get skewed when user zooms in our out HOT 11
- Fix for tiny sizes HOT 1
- BMP datamatrix jQuery barcode has incorrect size in header HOT 2
- Can you make this support call in vue2.0? Can you support generating jpg images? HOT 1
- PHP8 support ? HOT 12
- Int25 barcode not being recognized by banks HOT 6
- barcode in pdf (How to determine page is filled) HOT 1
- How can I define row or column number ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from barcode.