aspose file tools
The moose likes Beginning Java and the fly likes Convert gif to byte array Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Convert gif to byte array" Watch "Convert gif to byte array" New topic
Author

Convert gif to byte array

Keith Harrison
Greenhorn

Joined: Mar 04, 2006
Posts: 15
Hello.

I have the following method:


At the point where I have typed >>> HERE <<< I want to read in a gif image from localhost root directory (i.e "/images/noImage.gif") and convert it to a byte array to use as return.

Seems simple enough but need guidance!

Thanks to anybody who can help

Keith
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35443
    
    9
Welcome to JavaRanch.

A quick Google search found this highly relevant code example.


Android appsImageJ pluginsJava web charts
Keith Harrison
Greenhorn

Joined: Mar 04, 2006
Posts: 15
Thank you very much.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Convert gif to byte array
 
Similar Threads
Displaying BLOB image in a jsp page
Streaming image data into JSP
downloading image
wanna send image bytes to server
How to display images directly from database?