You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Kaspar Fischer <fi...@inf.ethz.ch> on 2008/08/21 15:14:15 UTC

Image crop and resize component

Two questions:

1) Does anybody know of a Wicket component that allows the user to  
select an area of an image?

For example:

   http://www.defusion.org.uk/code/javascript-image-cropper-ui-using-prototype-scriptaculous/

I am thinking of a component that takes the image and a rectangle as  
models and alters the rectangle.

2) What Java library would you recommend to extract from the image the  
selected subarea?
Is there even something out there that uses a heuristic to choose  
between PNG and JPEG format
to optimize the filesize and number of colors?

Many thanks,
Kaspar

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Image crop and resize component

Posted by Yiannis Mavroukakis <im...@gameaccount.com>.
Check out

http://code.google.com/p/londonwicket/

for the Dynamic AJAX image cropping component written by Alastair Maw.

Y

Kaspar Fischer wrote:
> Two questions:
>
> 1) Does anybody know of a Wicket component that allows the user to 
> select an area of an image?
>
> For example:
>
>   
> http://www.defusion.org.uk/code/javascript-image-cropper-ui-using-prototype-scriptaculous/ 
>
>
> I am thinking of a component that takes the image and a rectangle as 
> models and alters the rectangle.
>
> 2) What Java library would you recommend to extract from the image the 
> selected subarea?
> Is there even something out there that uses a heuristic to choose 
> between PNG and JPEG format
> to optimize the filesize and number of colors?
>
> Many thanks,
> Kaspar
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org