>My question is how do I save the image I have created into a file in gif
>or jpeg format. Is it as easy as reading an image? Is there information
>on the Web about this?
I've listed several libraries that read and write popular image file
formats at
http://www.geocities.com/~marcoschmidt/java-image-coding.html
Regards,
Marco
Are there any libraries that can be used inside of applets to save images?
A quick look at the libraries here looks like none of them will work
for applets.
Ron
>Are there any libraries that can be used inside of applets to save images?
>A quick look at the libraries here looks like none of them will work
>for applets.
Applets have a general problem of not being able to write files. But
once you changed security settings (registering signed applets etc., I
don't know a lot about them), the libraries should work like any other
piece of Java code. Few of them (if any) use native code, IIRC.
Regards,
Marco
Exactly. Which is why the libraries you mentioned won't work inside
applets.
>But
>once you changed security settings (registering signed applets etc., I
>don't know a lot about them), the libraries should work like any other
>piece of Java code. Few of them (if any) use native code, IIRC.
I've ruled out signed applets since neither Netscape or Internet Explorer
support signed applets.
I ask again:
Are there any libraries that can be used inside of applets to save images?
Ron
Brad
>>Applets have a general problem of not being able to write files.
>
>Exactly. Which is why the libraries you mentioned won't work inside
>applets.
[...]
>I ask again:
>Are there any libraries that can be used inside of applets to save images?
So where do you want the images to be saved, if not to a file?
Back to the server that they came from?
--
http://www.ben.custom-access.net/
GPG key: 30F06950. You are encouraged to sign and encrypt correspondence.
Actually, I do want the images saved to a file, and on the server would
suffice. For security reasons, applets cannot directly write to files, but
I understand there are ways around it, such as sending the image data
to another program that resides on the same server, which then writes
it to disk. I was hoping that someone had already done this. Someone
mentioned signed applets would work as well, but requires installing
a plugin on the browser (yuck!).
Ron