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

Request example to set Background image and Logo.By using the http://api.qrcode.unitag.fr/api?(objective c Xcode) #11

Open
superProgrammer90 opened this issue Jun 14, 2017 · 3 comments

Comments

@superProgrammer90
Copy link

No description provided.

@sacarino
Copy link

Looking at the payload of their demo site, it looks like you'd set it like this:

"LOGO":{
	"L_NAME": "https://host.com/your/url/here.png",
	"EXCAVATE": true,
	"L_X_Norm": 0.354,
	"L_Y_Norm": 0.416,
	"L_WIDTH": 0.292,
	"L_LENGTH": 0.168
}

Obviously you'd need to set your own values for everything...

@superProgrammer90
Copy link
Author

ya...thanks..it works....what about the background image?

@sacarino
Copy link

sacarino commented Jul 4, 2017

Not sure I follow - it's whatever you put into L_NAME?

I did stumble over something that may or may not be a thing. When I was trying to use a png background and generate a non-png output, it silently failed. I was specifically generating a svg

Same background + output format = success. At least, in my quick test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants