I didn't know about properties "java.awt.headless=true". I'll try
jmagick wich seems to be a good choice for performance.
Thanks a lot
On 07/02/13 11:25, Mattias Jiderhamn wrote:
> We use JAI in one of our web apps. Have you set system properties
> java.awt.headless=true and java.awt.headlesslib=true ...?
> (Btw, for full performance, you should install JNI binaries. Thought
> that wouldn't be 100% Java either. And I haven't tried it.)
> ----- Original Message -----
> Subject: [Resin-interest] help on resizing image
> Date: Thu, 07 Feb 2013 11:14:00 +0100
> From: Riccardo Cohen <r.co...@realty-property.com>
> On my web application, I need to resize images sent via multipart forms.
> When I try a console application using awt on my mac (see attached
> code), the console application starts a real Mac application with window
> and menu, while my code is only calling non-gui functions
> (ImageIO.read...) .
> I'm really affraid to add this code on my server, and I wonder if this
> may have impact on memory, performance and stability of the server. I
> would rather prefer a little imaging library like jmagick or gd for
> java, small and efficient. It's not 100% java but it does not create
> windows and menus...
> What do you use to resize images on the server size ?
> Thanks a lot.
+33 (0)6 09 83 64 49
1 rue de la Monnaie
resin-interest mailing list