Hi Hai,
If you are creating an OMRaster from an image file, the transparency
level won't work. The transparency level only works for images you
create from pixel data.
If you want to change the transparency of an image, you'll have to
change the pixels in it. You can use the
com.bbn.openmap.image.BufferedImageHelper and ImageHelper.getPixels()
method to help you get the image pixels, and then push those into the
OMRaster. The setTransparency() method should work from then on.
- Don
On Wednesday, July 16, 2003, at 11:01 AM, Phu, Hai H CECOM RDEC I2WD
wrote:
>
> Hello Don,
> I need to set the transparancy level for a raster. I used
> setTranparent() method from OMraster. I tried with several integers
> 0-255
> but nothing seeems happened. Could somebody tell me what could
> possibly be
> the problem? Thanks.
>
> -----Original Message-----
> From: Phu, Hai H CECOM RDEC I2WD
> Sent: Wednesday, June 11, 2003 11:50 AM
> To: 'Don Dietrick'; Phu, Hai H CECOM RDEC I2WD
> Cc: OpenMap List
> Subject: RE: [OpenMap Users] UTM to Lat/Lon
>
>
> Hi Don,
> I am looking at the four UTMtoLL methods in the UTMPoint class, they
> all require an Ellipsoid. All I have as input are: Northing, Easting,
> zone
> number and zone letter. How do you enter the North American Datum
> (NAD)83/27
> information?
> Thanks again for your help.
>
> Hai
>
> -----Original Message-----
> From: Don Dietrick [mailto:dietrick@bbn.com]
> Sent: Wednesday, June 11, 2003 10:33 AM
> To: Phu, Hai H CECOM RDEC I2WD
> Cc: OpenMap List
> Subject: Re: [OpenMap Users] UTM to Lat/Lon
>
>
> Hi Hai,
>
> There are other constructors in the UTMPoint class which don't require
> an Ellipsoid class, and those assume your coordinates are in the WGS 84
> Ellipsoid.
>
> - Don
>
> On Wednesday, June 11, 2003, at 10:24 AM, Phu, Hai H CECOM RDEC I2WD
> wrote:
>
>>
>> Hello OpenMapers,
>>
>> I am working on a project involved OpenMap which has a need to
>> convert from UTM to Lat/Lon. Looking at the constructor of the
>> UTMPoint
>> class, I first need an Ellipsoid class. Not being a GIS guy, I don't
>> understand this Ellipsoid class at all. Could somebody shed some light
>> on
>> this?In short, I have a UTM coordinate and I want to make it a
>> Lat/Lon. I
>> would appreciate any help. Thanks
>>
>>
>> Hai Phu
>> --
>> [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"]
>>
>>
>
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 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"]
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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 Wed Jul 16 15:34:40 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT