Hello,
i am trying to display bitmap in LinkServer-LinkLayer scenerio.
i tried like this
File bmpfile = new File("ss.bmp");
FileInputStream ios = new FileInputStream(bmpfile);
int filesize = (new Long(bmpfile.length())).intValue();
byte[] bmpdata = new byte[filesize];
ios.read(bmpdata, 0, filesize);
LinkProperties lineProperties = new LinkProperties();
int count = 0;
LinkGraphicList gr = new LinkGraphicList(link, new
LinkProperties());
gr.addBitmap(flog, flat, 25, 25, bmpdata, lineProperties);
but when the bitmap shows up on the layer, it looks distorted. Basically
doesn't show up as expected.
How to go for it?
Nischal vohra
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The future belong to those who believe in the beauty of their dreams.
-Roosevelt.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Tue Jul 10 07:15:03 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT