Re: [OpenMap Users] Transparent GIFs as layers

From: Don Dietrick <dietrick@bbn.com>
Date: Tue Jul 08 2003 - 10:14:42 EDT

Hi Matt,

On Tuesday, July 8, 2003, at 12:59 AM, Matt Brennan wrote:

> Hello OpenMappers!
>
> At:
>
> http://openmap.bbn.com/mailArchives/openmap-users/2001-07/0147.html
>
> problems with displaying transparent gifs and having them remain
> transparent were raised.
>
> I'd like to ask, is it theoretically possible to display transparent
> gifs in a layer?

It's not only theoretically possible, it's been proven!

> In the referenced message, Don recommended turning off scaling to
> avoid the 'white out' of transparent areas problem. I take it that
> would mean that the layer could have no positional information ruling
> out CSVTiledImagePlugIn for display of such images (for example).
>
> Has anyone displayed "geo-located" transparent gifs (or pngs)
> successfully?

It works fine, just treat them like any other image with any one of the
OMRasterObject classes (OMRaster, OMScalingRaster, OMScalingIcon).

- Don

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, BBN Technologies, dietrick@bbn.com
10 Moulton Street, Cambridge, MA 02138
617-873-3031 [fax]-2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[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 8 10:14:56 2003

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT