Add IPng logo and address
This commit is contained in:
@@ -318,8 +318,8 @@ func (b *Bill) EncodeToSVG() ([]byte, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// overlay the swiss cross
|
||||
cross := swisscross["swisscross.svg"]
|
||||
// overlay the IPng Logo
|
||||
cross := ipng["logo.svg"]
|
||||
// Remove XML document header, we embed the <svg> element:
|
||||
cross = bytes.ReplaceAll(cross, []byte(`<?xml version="1.0" encoding="utf-8"?>`), nil)
|
||||
// Overwrite position and size of the embedded <svg> element:
|
||||
|
||||
Reference in New Issue
Block a user