File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Reading an Image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Reading an Image " Watch "Reading an Image " New topic
Author

Reading an Image

ajith raj
Greenhorn

Joined: Dec 15, 2008
Posts: 6
haii..
How can i read an image using javascript...is there any way for that..
and i want to write that also
sudipto shekhar
Ranch Hand

Joined: Apr 02, 2008
Posts: 823

Welcome to JavaRanch.


Please be a little more clear about what you intend to do....
If not you won't get the help as due to incomplete/vague questions.

Thank you.


Regards, Sud.
SCJP 5 ScjpFAQ JLS
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61413
    
  67

JavaScript has no ability to read or write files. Perhaps you should post what you are really trying to accomplish.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
ajith raj
Greenhorn

Joined: Dec 15, 2008
Posts: 6
anyone know how the images in our system is uploaded into a mail..... It is done by reading the image from the image location and is uploading..right....???
Is there any way to upload an image from a client system to server.... This is what i need...........
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61413
    
  67

Yes, but not with JavaScript. The whole subject is covered in one of the JSP FAQ entries.
ajith raj
Greenhorn

Joined: Dec 15, 2008
Posts: 6
i couldnt find anything...
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42264
    
  64
The JSP FAQ is linked in Bear's signature. That FAQ has a link to the page dealing with file uploads.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reading an Image