Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

什么时候支持带logo? #47

Closed
QQ254708913 opened this issue Oct 25, 2021 · 16 comments
Closed

什么时候支持带logo? #47

QQ254708913 opened this issue Oct 25, 2021 · 16 comments
Assignees

Comments

@QQ254708913
Copy link

什么时候支持生成的二维码可以带logo?

@scopewu
Copy link
Owner

scopewu commented Nov 10, 2021

下一版将会支持,可能是本周末有空的时候(11 月 13 ~ 4 号)

@itliuwk
Copy link

itliuwk commented Dec 7, 2021

1.x还维护嘛 加上 logo 功能?

@scopewu
Copy link
Owner

scopewu commented Dec 7, 2021

Hi @itliuwk,
最近都比较忙,没什么时间,如果晚上有空的话会尝试,毕竟有许多小伙伴提出要求。
作为临时方案,尝试使用定位悬浮。

@vesper8
Copy link

vesper8 commented Jun 4, 2022

I too would really like to have a logo option to be centered in the middle of the QR. Any chance you will have time to add this soon?

Many thanks

@subhod-i
Copy link

subhod-i commented Aug 1, 2022

This feature would be much helpful.

@scopewu
Copy link
Owner

scopewu commented Aug 2, 2022

I'm sorry, I've been very frustrated recently due to China's coronavirus lockdown policy. Next, I will give priority to support.

@Liquidream
Copy link

Liquidream commented Aug 15, 2022

I too would really like to include a logo (if possible), thx!

Something like this...
(generated using a diff. QR maker)

image

@lucasbois1
Copy link

I recommend this one -> Awesome-QR.js

@mauriciabad
Copy link

Hi I would love to have this feature. Any updates on it? :D

Repository owner deleted a comment Jan 1, 2024
@nangazaki
Copy link

Hi... I would like to have this feature. Any updates?

@cvpv
Copy link

cvpv commented Feb 26, 2024

三年过去了~

@scopewu
Copy link
Owner

scopewu commented Feb 27, 2024

三年过去了~

@cvpv 是的呢,甚至熬到 vue 2.x 生命周期末尾。由于 22 年的上海封城和一些个人原因,我自身已经接近两年没有参与工作,无收入躺平两年。年前终于开始开发支持 svg 准备年后支持 canvas,目前 LOGO 支持与 margin 属性冲突, 尽快完成工作吧。也准备在今年开始找工作,可能会慢一些,但会结束。

@wordscode
Copy link

三年过去了~

@cvpv 是的呢,甚至熬到 vue 2.x 生命周期末尾。由于 22 年的上海封城和一些个人原因,我自身已经接近两年没有参与工作,无收入躺平两年。年前终于开始开发支持 svg 准备年后支持 canvas,目前 LOGO 支持与 margin 属性冲突, 尽快完成工作吧。也准备在今年开始找工作,可能会慢一些,但会结束。

加油啊 :)

@Flipped199
Copy link

三年过去了~

@cvpv 是的呢,甚至熬到 vue 2.x 生命周期末尾。由于 22 年的上海封城和一些个人原因,我自身已经接近两年没有参与工作,无收入躺平两年。年前终于开始开发支持 svg 准备年后支持 canvas,目前 LOGO 支持与 margin 属性冲突, 尽快完成工作吧。也准备在今年开始找工作,可能会慢一些,但会结束。

加油呀

@xiangshu233
Copy link

还没有支持logo嘛,三年了

@scopewu
Copy link
Owner

scopewu commented Sep 26, 2024

😾 NOW, RELEASE new 3.5.0 for support this via a new prop image-settings.

The full props example:

<template>
  <qrcode-vue
    :value="value"
    :level="level"
    :render-as="renderAs"
    :background="background"
    :foreground='foreground'
    :image-settings='imageSettings'
  />
</template>
<script setup lang="ts">
  import { ref } from 'vue'
  import QrcodeVue from 'qrcode.vue'
  import type { Level, RenderAs, ImageSettings } from 'qrcode.vue'

  const value = ref('qrcode')
  const level = ref<Level>('M')
  const renderAs = ref<RenderAs>('svg')
  const background = ref('#ffffff')
  const foreground = ref('#000000')
  const margin = ref(0)
  const imageSettings = ref<ImageSettings>({
    src: 'https://github.com/scopewu.png',
    width: 30,
    height: 30,
    // x: 10,
    // y: 10,
    excavate: true,
  })
</script>

If have any questions, please tell me.
This issue will be closed.

@scopewu scopewu closed this as completed Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests