Resize images

2014-09-11 Thread Peter Sparkes

Hi,

I currently have a cocoon application which enables the site owner to upload images and then  within 
the upload javascript uses java to move the images to the required directory.


Most of the uploaded images are  large and therefore they are  slow in 
displaying in a web page.

I, therefore, wish to resize them before saving them.

I am not sure how to do it.

Please, can anyone help

Thanks

Peter

-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



RE: Resize images

2014-09-11 Thread Edward David
Peter,
There are numerous image resizer programs out there.
Check out this Free Picture Resizer at  
http://download.cnet.com/Free-Picture-Resizer/3000-12511_4-10297789.html


Thanks,
___
Edward David
Information Technologies Services,
Libraries and Cultural Resources,
The University of Calgary
Phone: (403) 220-3383
Fax: (403) 282-1218

-Original Message-
From: Peter Sparkes [mailto:pe...@didm.co.uk] 
Sent: September-11-14 8:23 AM
To: users@cocoon.apache.org  Cocoon users
Subject: Resize images

Hi,

I currently have a cocoon application which enables the site owner to upload 
images and then  within the upload javascript uses java to move the images to 
the required directory.

Most of the uploaded images are  large and therefore they are  slow in 
displaying in a web page.

I, therefore, wish to resize them before saving them.

I am not sure how to do it.

Please, can anyone help

Thanks

Peter

-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: Resize images

2014-09-11 Thread Javier Puerto
Hi Peter,

If you can use ImageMagick, you can try with:
http://im4java.sourceforge.net/

2014-09-11 16:27 GMT+02:00 Edward David eda...@ucalgary.ca:

 Peter,
 There are numerous image resizer programs out there.
 Check out this Free Picture Resizer at
 http://download.cnet.com/Free-Picture-Resizer/3000-12511_4-10297789.html


 Thanks,
 ___
 Edward David
 Information Technologies Services,
 Libraries and Cultural Resources,
 The University of Calgary
 Phone: (403) 220-3383
 Fax: (403) 282-1218

 -Original Message-
 From: Peter Sparkes [mailto:pe...@didm.co.uk]
 Sent: September-11-14 8:23 AM
 To: users@cocoon.apache.org  Cocoon users
 Subject: Resize images

 Hi,

 I currently have a cocoon application which enables the site owner to
 upload images and then  within the upload javascript uses java to move the
 images to the required directory.

 Most of the uploaded images are  large and therefore they are  slow in
 displaying in a web page.

 I, therefore, wish to resize them before saving them.

 I am not sure how to do it.

 Please, can anyone help

 Thanks

 Peter

 -
 To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
 For additional commands, e-mail: users-h...@cocoon.apache.org




Re: Resize images

2014-09-11 Thread Sandor Szatmari
I use JAI to dynamically resize images for my site.  There are lot of examples 
if you google 'JAI image resize'.  I store higher res images and downscale them 
on the fly to the right size for the context they will be used in.  I wrote a 
plain old servlet to do it, but I'm sure it could be done in cocoon too.

Sandor

 On Sep 11, 2014, at 10:38, Javier Puerto jpue...@gmail.com wrote:
 
 Hi Peter,
 
 If you can use ImageMagick, you can try with: http://im4java.sourceforge.net/
 
 2014-09-11 16:27 GMT+02:00 Edward David eda...@ucalgary.ca:
 Peter,
 There are numerous image resizer programs out there.
 Check out this Free Picture Resizer at  
 http://download.cnet.com/Free-Picture-Resizer/3000-12511_4-10297789.html
 
 
 Thanks,
 ___
 Edward David
 Information Technologies Services,
 Libraries and Cultural Resources,
 The University of Calgary
 Phone: (403) 220-3383
 Fax: (403) 282-1218
 
 -Original Message-
 From: Peter Sparkes [mailto:pe...@didm.co.uk]
 Sent: September-11-14 8:23 AM
 To: users@cocoon.apache.org  Cocoon users
 Subject: Resize images
 
 Hi,
 
 I currently have a cocoon application which enables the site owner to upload 
 images and then  within the upload javascript uses java to move the images 
 to the required directory.
 
 Most of the uploaded images are  large and therefore they are  slow in 
 displaying in a web page.
 
 I, therefore, wish to resize them before saving them.
 
 I am not sure how to do it.
 
 Please, can anyone help
 
 Thanks
 
 Peter
 
 -
 To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
 For additional commands, e-mail: users-h...@cocoon.apache.org