Chat on IRC |
bmp files in java
Posted by dee [send private reply] at February 09, 2003, 04:44:10 PM
how would you read in a file of 0's and 1's and convert it to a bmp file?
Posted by regretfuldaydreamer [send private reply] at February 11, 2003, 04:12:04 AM
? - Is he asking how to read a bmp file and display it on the screen or something else?
Posted by AnyoneEB [send private reply] at February 11, 2003, 05:18:36 AM
I don't know what he's asking...
Java has built-in support for reading .bmp and .gif. Use http://java.sun.com/j2se/1.4/docs/api/javax/swing/ImageIcon.html to read them. I'm not sure how you would write them.
Posted by DragonWolf [send private reply] at February 11, 2003, 10:19:42 AM
dee: I'm assuming you want to convert from 1 file format to BMP. Do you know the name of the file format or have a file specficiation for it?
Posted by pramod [send private reply] at February 11, 2003, 01:38:00 PM
Maybe you should look at the bmp file format.
http://members.fortunecity.com/shetzl/bmpffrmt.html Thats what i got when I googled for it. I think you want to do something with the monochrome version of the format.
Register as a new user | |||||||