Skip to main content

Alpha mutable image support

1 reply [Last post]
Anonymous

Hi ,

I use a screen structure that has a background image (this is made by style)
, a top banner (this is a label) and dynamically generated a list

List items are label and these are created by making some image processing.
But list items are combination of some images with transparency (designed in
photoshop by our designer).

Here , the point that

First i set background . This is ok. Background image has some effects and
pattern so not unique colored image.

Then create a mutable image with proper size. Subsequently draw necessary
images and String on mutable image.This image will be used for list item as
Label

Problem is when created a mutable image , it is not alpha image and has a
background color.So my item has a background color.

I have solved this issue , i used background color for screen and background
of my item has same background color and this is useful but not pretty .

I want to use more beautiful background rather than colored background.

Is there any idea or other way to implement this screen ?

Any advice and idea would be appreciated !

--
Regards
Emin KURA
[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Shai Almog

Hi,
MIDP doesn't support mutable images with an alpha channel.
We have a modifyAlpha method in image that turns the image immutable.
> Hi ,
>
> I use a screen structure that has a background image (this is made by
> style) , a top banner (this is a label) and dynamically generated a list
>
> List items are label and these are created by making some image
> processing. But list items are combination of some images with
> transparency (designed in photoshop by our designer).
>
> Here , the point that
>
> First i set background . This is ok. Background image has some effects
> and pattern so not unique colored image.
>
> Then create a mutable image with proper size. Subsequently draw
> necessary images and String on mutable image.This image will be used
> for list item as Label
>
> Problem is when created a mutable image , it is not alpha image and
> has a background color.So my item has a background color.
>
> I have solved this issue , i used background color for screen and
> background of my item has same background color and this is useful
> but not pretty .
>
> I want to use more beautiful background rather than colored background.
>
> Is there any idea or other way to implement this screen ?
>
> Any advice and idea would be appreciated !
>
> --
> Regards
> Emin KURA

--
Shai Almog

LWUIT Blog http://lwuit.blogspot.com/
LWUIT FAQ https://lwuit.dev.java.net/faq.html
YouTube Channel http://www.youtube.com/user/vprise
Applications in LWUIT https://lwuit.dev.java.net/nonav/featuredapp.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net