Skip to content

Barcode Size Consistency #24

Description

@MarleTangible

First of all, great project, thank you.

I was experimenting with the API and realized that there's an issue with the image sizes or caching somewhere.

Most 5 digit numbers are 234x130

https://barcodeapi.org/api/128/12345

Image

However, 25000 has a different dimension, 234x168.

I thought adding the default height parameter would fix the issue, but the API returns varying sizes of images when the bar height is defined.

https://barcodeapi.org/api/128/25000

https://barcodeapi.org/api/128/25000?height=22

Image

Image

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions