Hello Don,
i am sending screen shot and original image.
Even i bitmap depth image is not coming properly.
(See attached file: scrshots.zip)
Nischal vohra
Don Dietrick
<dietrick@bbn.com To: NVohra@eq-technologic.com
> cc: openmap-users@bbn.com
Sent by: Subject: Re: How to display bmp/jpeg in LinkLayer-LinkServer scenerio
owner-openmap-use
rs@bbn.com
07/10/01 07:02 PM
Hi Nischal,
Is the bmp image a 1 bit depth image? That's what the LinkBitmap is
expecting. Can you show a screen shot of what it looks like vs the
original image?
- Don
On Tuesday, July 10, 2001, at 07:06 AM, NVohra@eq-technologic.com wrote:
>
> 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"]
>
-- [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"]
-- [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"]
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT