I did something like that a while ago for the Gaelyk framework: http://gaelyk.appspot.com/tutorial/app-engine-shortcuts#images (based on the Google App Engine imagine manipulation library)
Guillaume On Wed, Oct 28, 2015 at 12:23 AM, Schalk Cronjé <ysb...@gmail.com> wrote: > I am definitely not for implementing a whole new set of image libraries, I > am just trying to find out if a nice Grrovy-DSL exists aound some image > libraries. > > I mean wouldn't it just be nice to be able to do something like > > image '/foo/bar/my.jpg', { > offset x : 100, y :200 > text 'Write this text over the picture' > colour 0xFF00FE > font 'TimesRoman' > size '24pt' > } > > to add text into an image? > > > > On 27/10/2015 22:40, Owen Rubel wrote: > > aren't there a TON of imageMagick libraries in Java? Why do you need one > in Groovy? > > Owen Rubel > 415-971-0976 > oru...@gmail.com > > On Tue, Oct 27, 2015 at 3:16 PM, Erwin Müller <erwin.muel...@deventm.org> > wrote: > >> Hi, >> >> there is also >> http://www.jhlabs.com/ip/blurring.html >> >> On Tuesday, October 27, 2015 11:16:27 AM Schalk Cronjé wrote: >> > Is there any DSL-style image processing libraries available under >> Groovy? >> > >> > Am I just better off wrapping something like Apache Commons Imaging. On >> > that note, is there any other pure-JVM image library that someone can >> > recommend? JMagick just wraps native ImageImagick so that does not fit >> > the bill. >> > >> > >> > P.S. A couple of years ago there was a Grails plugin BurningImage, but I >> > am not sure what happened to that. It had a relative simple to use API >> > and could have been extracted to make a useful Groovy library. >> >> -- >> Erwin Müller - erwin.muel...@deventm.org >> Software Entwickler - (+49) 01577-9505569 >> <%28%2B49%29%20%2001577-9505569> >> Pgp - https://pgp.mit.edu/pks/lookup?op=get&search=0x02E820911DD910FD >> Meine Seite - http://www.mueller-public.de/ >> ANRI - http://www.anr-institute.com/ > > > > > -- > Schalk W. Cronjé > Twitter / Ello / Toeter : @ysb33r > > -- Guillaume Laforge Apache Groovy committer & PMC member Product Ninja & Advocate at Restlet <http://restlet.com> Blog: http://glaforge.appspot.com/ Social: @glaforge <http://twitter.com/glaforge> / Google+ <https://plus.google.com/u/0/114130972232398734985/posts>