You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm using this package to render some barcodes and I have an issue that doesn't make much sense to me.
I'm able to save my barcode on Mac os (Main Display) and it looks like this. Crisp and good quality.
but when I move my browser to an external display it renders it in low quality even tho it is full screen on both screens and elements are fully visible and crisp on both screens.
I'm not sure how to tackle this problem. Does anyone know what could go wrong and how to have it consistent?
This is my template:
<divref="printMe"><barcodeheight="50"
width="1"
:value="barcodeValue"
:display-value="displayValue"
format="code39"
background="transparent"
lineColor="black"
><!-- It is not loading -->
Please insert CODE39 barcode
</barcode></div>
and script:
asyncprint(){constel=this.$refs.printMe;// add option type to get the image version// if not provided the promise will return// the canvas.constoptions={type: "dataURL",// useCORS: trueimageSmoothingEnabled: false};this.output=awaitthis.$html2canvas(el,options);leta=document.createElement("a");a.href=this.output;a.download=`${this.barcodeValue}`;a.click();a.remove();},
Thank you!
The text was updated successfully, but these errors were encountered:
Hi, I'm using this package to render some barcodes and I have an issue that doesn't make much sense to me.
I'm able to save my barcode on Mac os (Main Display) and it looks like this. Crisp and good quality.
![asdasdasdsdadasdasdasdasdadasdsadasdasdasda](https://user-images.githubusercontent.com/1175537/139408257-8a687e28-73ec-45aa-84f2-e6f603519117.png)
but when I move my browser to an external display it renders it in low quality even tho it is full screen on both screens and elements are fully visible and crisp on both screens.
![Screenshot 2021-10-29 at 11 11 00](https://user-images.githubusercontent.com/1175537/139409095-bc8920bd-adc1-4209-ad05-b59f1db802fd.png)
I'm not sure how to tackle this problem. Does anyone know what could go wrong and how to have it consistent?
This is my template:
and script:
Thank you!
The text was updated successfully, but these errors were encountered: