Hello, I serched for get the code source for draw an image with the transparency and it works, I can now merge it in my executable but it doesn't work on every mobile... On HTC HD2 it's not working but on my old LG KS20 it's great...
As I can't test several time (the HTC HD2 is not the mine) I can't know exactly where is the problem but I suspect it's here:
The come import guid is maybe not the same on every mobile...
Anyone can tell me if there's an other way? I can also upload my source code if it's needed...
I know that there's a library made by eww245 (Alpha.dll) but I want merge it directly on my executable)
Thanks for your replies!
As I can't test several time (the HTC HD2 is not the mine) I can't know exactly where is the problem but I suspect it's here:
B4X:
[ComImport, Guid("327ABDA9-072B-11D3-9D7B-0000F81EF32E"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComVisible(true)]
public interface IImage
{
uint GetPhysicalDimension(out Size size);
uint GetImageInfo(out ImageInfo info);
uint SetImageFlags(uint flags);
uint Draw(IntPtr hdc, ref Rectangle dstRect, IntPtr NULL);
uint PushIntoSink();
uint GetThumbnail(uint thumbWidth, uint thumbHeight, out IImage thumbImage);
}
Anyone can tell me if there's an other way? I can also upload my source code if it's needed...
I know that there's a library made by eww245 (Alpha.dll) but I want merge it directly on my executable)
Thanks for your replies!
Last edited: