You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@groovy.apache.org by Schalk Cronjé <ys...@gmail.com> on 2015/10/27 11:16:27 UTC

Groovy for Image Processing

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.

-- 
Schalk W. Cronjé
Twitter / Ello / Toeter : @ysb33r


Re: Groovy for Image Processing

Posted by Owen Rubel <or...@gmail.com>.
well there we go. Good plugin i guess to supply taglib and common tooling
to a image lib. :)

Owen Rubel
415-971-0976
orubel@gmail.com

On Tue, Oct 27, 2015 at 4:32 PM, Guillaume Laforge <gl...@gmail.com>
wrote:

> 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é <ys...@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
>> orubel@gmail.com
>>
>> On Tue, Oct 27, 2015 at 3:16 PM, Erwin Müller <er...@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.mueller@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>
>

Re: Groovy for Image Processing

Posted by Guillaume Laforge <gl...@gmail.com>.
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é <ys...@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
> orubel@gmail.com
>
> On Tue, Oct 27, 2015 at 3:16 PM, Erwin Müller <er...@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.mueller@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>

Re: Groovy for Image Processing

Posted by Schalk Cronjé <ys...@gmail.com>.
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
> orubel@gmail.com <ma...@gmail.com>
>
> On Tue, Oct 27, 2015 at 3:16 PM, Erwin Müller 
> <erwin.mueller@deventm.org <ma...@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.mueller@deventm.org
>     <ma...@deventm.org>
>     Software Entwickler - (+49) 01577-9505569
>     <tel:%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


Re: Groovy for Image Processing

Posted by Owen Rubel <or...@gmail.com>.
aren't there a TON of imageMagick libraries in Java? Why do you need one in
Groovy?

Owen Rubel
415-971-0976
orubel@gmail.com

On Tue, Oct 27, 2015 at 3:16 PM, Erwin Müller <er...@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.mueller@deventm.org
> Software Entwickler - (+49) 01577-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/

Re: Groovy for Image Processing

Posted by Erwin Müller <er...@deventm.org>.
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.mueller@deventm.org
Software Entwickler - (+49)  01577-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/