May 20, 2014 Replies: 2 In version 1.03 of my MFLib library for B4A i added functions to create bitmaps with alpha channel from two JPG (image and mask). The reason is to save space because the two JPG files are normally far lower in size as the corresponding PNG with alpha channel. Now i created a tool for easily create the image and mask from a given PNG: ImageMasker Simply load a PNG with alpha channel. Set the quality factor for image and mask. Zoom in and drag around for control of the distortions (the four windows are synchronized). Have a look at the file size info in the status bar. And finally if you satisfied with the result, click on "Save". Here is the file for download: link The program is for Windows only. But this shouldn't a problem for B4A/B4J user. Happy masking Click to expand...
In version 1.03 of my MFLib library for B4A i added functions to create bitmaps with alpha channel from two JPG (image and mask). The reason is to save space because the two JPG files are normally far lower in size as the corresponding PNG with alpha channel. Now i created a tool for easily create the image and mask from a given PNG: ImageMasker Simply load a PNG with alpha channel. Set the quality factor for image and mask. Zoom in and drag around for control of the distortions (the four windows are synchronized). Have a look at the file size info in the status bar. And finally if you satisfied with the result, click on "Save". Here is the file for download: link The program is for Windows only. But this shouldn't a problem for B4A/B4J user. Happy masking
thedesolatesoul Expert Licensed User Longtime User May 20, 2014 #2 Looks interesting. The only thing I am worried about is the loss of quality in the jpeg's will cause some misalignment in the image and the mask. (Although I do not see that happening here at all). I guess that is by adjusting the quality slider.
Looks interesting. The only thing I am worried about is the loss of quality in the jpeg's will cause some misalignment in the image and the mask. (Although I do not see that happening here at all). I guess that is by adjusting the quality slider.
MaFu Well-Known Member Licensed User Longtime User May 20, 2014 #3 At this time, i hadn't annoying misalignments in my test images. But maybe...