File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes passing image file as string Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "passing image file as string" Watch "passing image file as string" New topic

passing image file as string

muntago Richard
Ranch Hand

Joined: Nov 13, 2010
Posts: 82
i tried this

but it returns error method encodeFromFile not found

any help
Jayesh A Lalwani
Saloon Keeper

Joined: Jan 17, 2008
Posts: 2719

Maybe because the method doesn't exist? Have you looked at the Java docs of the API that you are using?
I agree. Here's the link:
subject: passing image file as string
It's not a secret anymore!