(keitai-l) Re: P502i image size

From: Renfield Kuroda <Renfield.Kuroda_at_msdw.com>
Date: 09/27/00
Message-ID: <39D126B2.4310AD65@msdw.com>
Actually I change the graph size according the handset, too. So for NM502i
the cgi sends a small black and white gif, but for D502 it sends color
graph, and for N502 it sends a larger grayscale, so I cannot hardcode the
w and h in the img tag...

r e n


Juergen Specht wrote:

> Renfield Kuroda wrote:
> > According to spec, the largest image size supported on P502i is
> > 96x117, but I am seeing strange results with images that are created
> > directly from a cgi script. That is, the image tag looks like:
> > <img src="get_graph.cgi">
>
> If you create an image from a CGI, make sure you send the
> right headers (!) and why do you don't send the right
> width/height tags? I assume that your graph can be in the same
> size all the time, only the graph changes, right?
> So this:
>
> <img src="get_graph.cgi" width="96" height="117">
>
> should do the trick.
>
> J.

--
ascii: r e n f i e l d
octal: \162 \145 \156 \146 \151 \145 \154 \144
hex: \x72 \x65 \x6e \x66 \x69 \x65 \x6c  \x64
morgan stanley dean witter japan
e-business technologies | engineering and strategy



-- Binary/unsupported file stripped by Listar --
-- Type: application/x-pkcs7-signature
-- File: smime.p7s
-- Desc: S/MIME Cryptographic Signature
Received on Wed Sep 27 01:38:25 2000