[Mapserver-users] Mapserver 401: Reference image bounding box

Norman Vine nhv at cape.com
Tue Jan 6 08:34:21 PST 2004


Tyler Mitchell writes: 
> 
> > I opened my "8 bit indexed gif" reference image in Corel Photo-Paint and
> > selected the option "optimize for web" and saved it in the same format (8
> > bit indexed gif). The new image works!
> > I see a bounding box!
> >
> > Anyone understands what is going on?
> 
> It appears that your problems was probably related to the palette of
> colours used in the reference image.  I'm pretty sure that's all the
> "optimize for web" option would do for you.  I didn't follow all the
> previous discussion, but perhaps your reference map zoom box wasn't showing
> up because the colour wasn't available in your palette?  i.e. all the
> available colours were used up in rendering your reference map and none
> were left when it went to add the box line.

BINGO !!!

I was having a similar problem using a .png reference image and the ZoomBox 
now shows, after I saved it has a 216 color instead of a 256 color image.

Mystery solved :-)

Norman
 



More information about the MapServer-users mailing list