ultrus Posted May 24, 2011 Share Posted May 24, 2011 Hello, I've had success creating a cool vanity QR code with rounded edges for my organization by generating a standard QR code, then applying a noise -> median effect in Photoshop to get the edges rounded among some other effects. Photoshop is great, but I want to automate this. I found a great PHP library to generate QR codes. The part I don't get is the rounding of the hard edges. I've seen other sites do it like this one. So far google searches are yielding rounded corner tutorials. Any thoughts on how to do this with GD or ImageMagic? Best regards, Chris Quote Link to comment https://forums.phpfreaks.com/topic/237330-rounding-line-edges-in-an-image-not-corners-of-image/ Share on other sites More sharing options...
gizmola Posted May 24, 2011 Share Posted May 24, 2011 Interesting problem. You are probably going to need to roll your own modification to library you are using, but this might help you: http://mierendo.com/software/antialiased_arcs/ Quote Link to comment https://forums.phpfreaks.com/topic/237330-rounding-line-edges-in-an-image-not-corners-of-image/#findComment-1219754 Share on other sites More sharing options...
ultrus Posted May 24, 2011 Author Share Posted May 24, 2011 Thanks for the tip. I managed to get this to work using ImageMagick today. The working solution can be found at: http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=18815&p=72804#p72804 Quote Link to comment https://forums.phpfreaks.com/topic/237330-rounding-line-edges-in-an-image-not-corners-of-image/#findComment-1219766 Share on other sites More sharing options...
gizmola Posted May 24, 2011 Share Posted May 24, 2011 Nice stuff, imagemagick has some great features. Quote Link to comment https://forums.phpfreaks.com/topic/237330-rounding-line-edges-in-an-image-not-corners-of-image/#findComment-1219769 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.