Thanks for your quick reply.
The image I use is a JPEG file, that I loaded into the applet using getImage. Then I cropped the image and created the new (cropped) image using createImage.
The name of the cropped image is cropImage. I defined it elsewhere in my code.
How does that byte[] work...
I am writing an applet that can crop an image and upload it to the server.
I would like to post the image data to a .php file on the server using a form POST method.
How to do this?
I worked with HttpUrlConnections and DataOutputstreams, but I don't exactly know how to use it.
The following...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.