mirror of
https://github.com/voltbonn/profile-picture-generator.git
synced 2024-12-22 15:55:08 +00:00
purple background
This commit is contained in:
parent
c57707b305
commit
b7a3c87aa1
2 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@ import { useDropzone } from 'react-dropzone'
|
||||||
import FrameChooser from './FrameChooser.js'
|
import FrameChooser from './FrameChooser.js'
|
||||||
import Editor from './Editor.js'
|
import Editor from './Editor.js'
|
||||||
import HeaderImage from './HeaderImage.svg'
|
import HeaderImage from './HeaderImage.svg'
|
||||||
|
import purpleBG from './purpleBG.png'
|
||||||
|
|
||||||
import mergeImages from 'merge-images'
|
import mergeImages from 'merge-images'
|
||||||
|
|
||||||
|
@ -239,6 +240,7 @@ function App() {
|
||||||
const pngUrl = canvas.toDataURL()
|
const pngUrl = canvas.toDataURL()
|
||||||
|
|
||||||
mergeImages([
|
mergeImages([
|
||||||
|
purpleBG,
|
||||||
...(pngUrl ? [pngUrl] : []),
|
...(pngUrl ? [pngUrl] : []),
|
||||||
...(frameURL ? [frameURL] : []),
|
...(frameURL ? [frameURL] : []),
|
||||||
])
|
])
|
||||||
|
|
BIN
src/purpleBG.png
Normal file
BIN
src/purpleBG.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
Loading…
Reference in a new issue