we are using java 1.3 for developing a j2ee application using struts framework.to upload the photo i am using <html:file> tag in the jsp. Only jpegs are accepted.
using the tool, i can get the coordinates of the selected area.i am sending this coordinates to my action. After this point, i am stuck.
I have the original photo saved on the server. I have the coordinates of the cropped area. now i have to create a new photo(cropped photo) from the original photo. please help me to create the cropped photo and save on save on the server.
I can not use ImageIO since i am using java 1.3 version
can not use Swing since its a J2ee application
Dont want to use applets since the UI is already done and all that i want is to create a new jpeg file to save the cropped image. kindly help.