Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

add transparency mode for png images #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pcr-coding
Copy link
Contributor

This feature includes transparency mode for png files. As default transparency mode is set to false.

QRcode::png(
    $text, 
    $outfile = false, 
    $level = QR_ECLEVEL_L, 
    $size = 3, 
    $margin = 4, 
    $saveandprint = false, 
    $back_color = 0xFFFFFF, 
    $fore_color = 0x000000, 
    $back_transparent = false
) 

Demo page index.php is updated to test and show transparency.

  * add transparency checkbox
  * add background color so we can see if transparency works
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant