tag:blogger.com,1999:blog-5824660313967021040.post2174465440966576930..comments2022-03-26T08:56:28.677-07:00Comments on cfSearching: Creating PNG Images with Rounded CornersUnknownnoreply@blogger.comBlogger15125tag:blogger.com,1999:blog-5824660313967021040.post-49489774326475105512010-01-08T00:50:12.591-08:002010-01-08T00:50:12.591-08:00@Leigh,
here is the blog entry I wrote, it's ...@Leigh,<br /><br />here is the blog entry I wrote, it's mostly your code but with some additions to return a jpg image when the source is a jpg.<br /><br />http://www.garyrgilbert.com/blog/index.cfm/2010/1/7/Creating-JPG-Images-with-Rounded-CornersGary Gilberthttp://www.garyrgilbert.com/blognoreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-19843034325942959782010-01-07T13:28:53.671-08:002010-01-07T13:28:53.671-08:00@Gary,
I know you found an answer to this questio...@Gary,<br /><br />I know you found an answer to this question already. But I am looking forward to reading your blog entry on it. Please feel free to post a link here when it is ready for reader consumption!<br /><br />Cheers<br />-LeighcfSearchinghttps://www.blogger.com/profile/11564374520734454860noreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-36544793190612773452010-01-07T02:36:19.621-08:002010-01-07T02:36:19.621-08:00@Leigh,
Glad I could help you.
I do have one que...@Leigh,<br /><br />Glad I could help you.<br /><br />I do have one question though. Have you tried to used the RoundRectangle2D class to get a rounded corner on a jpg image. I've spent a little bit of time trying to get it working but havnt had much luck yet. <br /><br />Client wants jpg images not png's basically a white rounded border overlay on the image...Any help or points in the right direction would be appreciated.gary gilberthttps://www.blogger.com/profile/02582795580185062370noreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-54723757976290278552010-01-05T07:27:23.842-08:002010-01-05T07:27:23.842-08:00@Gary,
Considering some of the entries on your bl...@Gary,<br /><br />Considering some of the entries on your blog have saved me a lot of time and effort, I am glad I could return the favor ;-)<br /><br />-LeighcfSearchinghttps://www.blogger.com/profile/11564374520734454860noreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-40663607121678278202010-01-05T02:06:10.896-08:002010-01-05T02:06:10.896-08:00Thanks a bunch for posting this, I was just about ...Thanks a bunch for posting this, I was just about to start "re-inventing" the wheel here and stumbled upon your blog entry saving me all the work of doing it myself.<br /><br />That again!Gary Gilberthttp://www.garyrgilbert.com/blognoreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-65704755717351110062009-12-23T12:04:13.506-08:002009-12-23T12:04:13.506-08:00@Bradley,
Good tip! Thanks for sharing.
-Leigh@Bradley,<br /><br />Good tip! Thanks for sharing. <br /><br />-LeighcfSearchinghttps://www.blogger.com/profile/11564374520734454860noreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-9651773026464577502009-12-23T11:18:19.137-08:002009-12-23T11:18:19.137-08:00Full of AwesomeSauce! Thanks.
FYI / FWIW, I foun...Full of AwesomeSauce! Thanks.<br /><br />FYI / FWIW, I found that changing this line<br /><br />Local.sourceImage = ImageGetBufferedImage(ImageNew(arguments.source));<br /><br />to this<br /><br />Local.sourceImage = ImageGetBufferedImage(arguments.source);<br /><br />also allowed me to pass an image to your routine as an already loaded object. Handy if you are applying cumulative effects to an image.Bradleynoreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-11968524913050884622009-07-24T08:48:14.583-07:002009-07-24T08:48:14.583-07:00I never ever post... but here I had to. You seriou...I never ever post... but here I had to. You seriously rock dude. Kudos!! Thank you so much for this.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-2098808277449479992009-05-22T02:29:35.921-07:002009-05-22T02:29:35.921-07:00This is brilliant, I love blogs like this.
Thank...This is brilliant, I love blogs like this. <br /><br />Thank you very much.<br /><br />CookieJames Cookhttps://www.blogger.com/profile/11156867708290084502noreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-75666221179872798252008-07-27T20:00:00.000-07:002008-07-27T20:00:00.000-07:00@J. Nelson,Yes, it does not work. To achieve the r...@J. Nelson,<BR/><BR/>Yes, it does not work. To achieve the rounded corners you need to clip (or remove) certain areas of the base image. Unfortunately, overlaying does not do that.cfSearchinghttps://www.blogger.com/profile/11564374520734454860noreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-67496063118004436892008-07-25T20:50:00.000-07:002008-07-25T20:50:00.000-07:00@J. Nelson,Yes, I think that is one of the things ...@J. Nelson,<BR/><BR/>Yes, I think that is one of the things I tried. IIRC it did not work. The effect was like drawing a large opaque rectangle on top of a small circle. Since the rectangle is opaque, nothing happens except that it hides the smaller circle. <BR/><BR/>But I will give it another whirl to be certain ;-)cfSearchinghttps://www.blogger.com/profile/11564374520734454860noreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-86649567641982409092008-07-25T14:52:00.000-07:002008-07-25T14:52:00.000-07:00I'm looking to do the same thing myself, but I don...I'm looking to do the same thing myself, but I don't have CF8 up and running yet (we're getting a new server and waiting until then to buy 8). So, I was wondering if you've tried drawing a rounded rectangle and then overlaying your image using ImageOverlay(). It sounds like that might work, but without having a running CF8 server to test on, I'm not sure. Care to test this and find out?<BR/><BR/>-JohnJ. Nelsonhttps://www.blogger.com/profile/00184492130702442807noreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-74351614639169337602008-07-25T14:45:00.000-07:002008-07-25T14:45:00.000-07:00@Joe,You are welcome! I was excited when I finally...@Joe,<BR/><BR/>You are welcome! I was excited when I finally figured it out and thought someone else might find the tip useful. Always nice to know someone did ;-) <BR/><BR/>CheerscfSearchinghttps://www.blogger.com/profile/11564374520734454860noreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-2718090784823330512008-07-24T14:47:00.000-07:002008-07-24T14:47:00.000-07:00You seriously rock. Thank you for providing a free...You seriously rock. Thank you for providing a free way to round corners in CF8!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5824660313967021040.post-42831486862138218802008-04-28T08:55:00.000-07:002008-04-28T08:55:00.000-07:00Too Interesting!Too Interesting!Roberto Fonsecahttps://www.blogger.com/profile/05094794470252043175noreply@blogger.com