Comments (1)
For anyone running into the same issue, here is the solution for jpeg.
<VueSignaturePad width="100%" height="100%" ref="signaturePad" :options="{ backgroundColor: 'rgb(255, 255, 255)'}"/>
You can pass in options, which is necessary to set the background color to white, since the default background color defaults to argb(0,0,0,0). As jpeg does not support alpha channels, it will return a completely black image.
from vue-signature-pad.
Related Issues (20)
- Signature not set properly when the browser windows size is reduced from 100%, like 90, 80, 70%... HOT 1
- Add signature from base64 /blob in vue-signature-pad HOT 1
- Redo feature not present .
- Typescript Support / Vue 3 composition API HOT 1
- When undoSignature many times, the penColor will back to Initial value.
- Not working on touch laptop screen
- Make the pad view only. HOT 1
- DOMException: The operation is insecure.
- vue3 使用vue-signature-pad HOT 1
- vue-signature-pad
- vue.global.js:1855 Uncaught TypeError: t.component is not a function (Vue3, via unpkg.com)
- Nuxt3 - doesn't work unless you resize your screen HOT 4
- Detect when user end making signature HOT 1
- Unresponsive based on Browsers' Window Size in Vue2 HOT 1
- 小米浏览器在绘制时会触发返回手势
- Issues with the pen color in Vue 3
- 使用fromDataUrl添加一个图片后,在使用canvas.toBlob保存,存在跨域问题
- 使用base64保存保存后调用fromDataURL 回显 图像会逐渐失真
- signature_pad HOT 1
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 vue-signature-pad.