Giter VIP home page Giter VIP logo

Comments (11)

AlphaOne89 avatar AlphaOne89 commented on August 15, 2024

Thank you for your report - I need some more details, can you show me snippets of code?

from barcode.

rskaarup avatar rskaarup commented on August 15, 2024

from barcode.

AlphaOne89 avatar AlphaOne89 commented on August 15, 2024

Zooming through the browser is not recommended - I would rather use the parameter moduleSize.

<script type="text/javascript">

    $( 'barCode' ).barcode( { code: '1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234', rect: true }, 'datamatrix', { moduleSize: 10, showHRI: false } );

</script>

<input type="range" min="5" max="10" step="1">

from barcode.

AlphaOne89 avatar AlphaOne89 commented on August 15, 2024

Could I provide enough help with my answer? Does the implementation work with the module size?

from barcode.

rskaarup avatar rskaarup commented on August 15, 2024

from barcode.

AlphaOne89 avatar AlphaOne89 commented on August 15, 2024

Then I do not understand why you have reported the problem, if you will not improve your service?

from barcode.

rskaarup avatar rskaarup commented on August 15, 2024

from barcode.

AlphaOne89 avatar AlphaOne89 commented on August 15, 2024

I see it differently, you can create a button or slider, which can be resized so that the user no longer has to resort to the browser zoom feature.

from barcode.

rskaarup avatar rskaarup commented on August 15, 2024

from barcode.

AlphaOne89 avatar AlphaOne89 commented on August 15, 2024

The fact that the barcode is destroyed depends on how it is generated, in this case with CSS - each pixel is a small HTML block. We would have to build the generation completely different.

from barcode.

adrienv1520 avatar adrienv1520 commented on August 15, 2024

Hi,

The issue isn't coming from Barcode algorithms but browser antialiasing.

I fixed this issue for both CSS and SVG rendering. You can find the details in the pull request:
#28

Hope it helps you guys ;)

from barcode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.