Are there any resources in the form of tutorials or anything that show
how to do client side image resizing before uploading. I'm using
thinimage and works great but I'm just interested in seeing how it is
done. I can't find anything on it. I know how to resize,compress
after uploading in php but would like to see how build my own small
java app to do it. Thanks
Rhino - 29 Mar 2006 01:04 GMT
> Are there any resources in the form of tutorials or anything that show
> how to do client side image resizing before uploading. I'm using
> thinimage and works great but I'm just interested in seeing how it is
> done. I can't find anything on it. I know how to resize,compress
> after uploading in php but would like to see how build my own small
> java app to do it. Thanks
Have you looked at the Java Image I/O classes?
--
Rhino
M. Fernandez - 29 Mar 2006 01:31 GMT
> Are there any resources in the form of tutorials or anything that show
> how to do client side image resizing before uploading. I'm using
> thinimage and works great but I'm just interested in seeing how it is
> done. I can't find anything on it. I know how to resize,compress
> after uploading in php but would like to see how build my own small
> java app to do it. Thanks
Check on the Image class for the method
getScaledInstance(int width, int height, int hints)
There are some examples in the tutorial of Java2D by Sun.
good luck
Marcelo
Barkster - 29 Mar 2006 02:35 GMT
Thanks, I'll take a look into it.
Barkster - 29 Mar 2006 03:04 GMT
Are there any programs for creating java apps?
M. Fernandez - 29 Mar 2006 08:38 GMT
> Are there any programs for creating java apps?
check for eclipse, I use this one and it is just great for my tasks.