Recent

Author Topic: Transparency in Android  (Read 2917 times)

polypress

  • Jr. Member
  • **
  • Posts: 91
Transparency in Android
« on: June 24, 2015, 05:51:11 pm »
The last post on this subject was in July 2013. At that stage I assume the answer was NO, although this was not stated explicitly. It's now 2 years later. Is the answer YES yet?

I need to create layers to build up images and the transparency property seems to be the only one to achieve this.

Any comments?

Regards

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Transparency in Android
« Reply #1 on: June 24, 2015, 05:56:13 pm »
The last post on this subject was in July 2013. At that stage I assume the answer was NO, although this was not stated explicitly. It's now 2 years later. Is the answer YES yet?

I need to create layers to build up images and the transparency property seems to be the only one to achieve this.

Any comments?

Regards
lazpaint (based on bgrabitmap) already supports layers. As far as I understand (never looked the layer code on lazpaint) it has nothing to do with a "transparency property" you need to explain in detail what you want to do.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

polypress

  • Jr. Member
  • **
  • Posts: 91
Re: Transparency in Android
« Reply #2 on: June 24, 2015, 06:41:16 pm »
Thanks for your reply taazz.

I am starting with a plain bitmap (a geographical map). I then add lines, circles etc to build up specific groupings. I then combine them together and save as bmp or png. I could put the extra graphics directly on the bitmap, but if there are any changes, then I would have to delete the whole image and start again.

I have tried using bmp and png (transparency works in Delphi) with TImage, TLazIntfImage, TLazCanvas, TRawImage etc but none seem to support transparency on Android.

I am using Lazarus 1.1, FPC 2.7.1 SVN 41139, on Windows 7 Ultimate + Service Pack 1. The android device is Huawei Ascend Mate, and previously HTC.

Regards

polypress

  • Jr. Member
  • **
  • Posts: 91
Re: Transparency in Android
« Reply #3 on: June 26, 2015, 02:53:22 pm »
Following on from taazz's comments, lazpaint is an application, not a component, and it only runs on Windows.

I am looking for info, or a component, which can work on android and can be incorporated into another application.

Regards

 

TinyPortal © 2005-2018