User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 27

Thread: 292.3 Screenshot bug on android

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Aug 2018
    Posts
    78
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Exclamation 292.3 Screenshot bug on android

    I would like to call this the elusive bug screenshot bug.
    It took me a long time to figure what is going on here.

    Lets go.

    Bug description

    In the latest 292.2 and 292.3 builds of CTF if you place an active x object that has an image that contains semi transparent pixels on a frame with a Pure white color (255,255,255) or variations of this RGB value except of shades of gray and you use the Android's object screenshot function you get distorted output screenshots in the area of the active x object's semi transparent pixels .

    Facts
    A. Bug first appeared in 292.2 and 292.3
    B. My test device is a Xiaomi A2 lite ( Global Version ) running android 9.0 pie
    C. My BUILD api is 28 as seen on the .mfa examples
    D. I have created three .mfa files to showcase the different aspects of this bug
    E. The ONLY difference inside the 3 .mfa files is the Background color of the frame
    F. .mfa V1 has a Background color of pure white (255,255,255)
    In this case the output screenshot of my phone displays black circles
    The black circles are regions of the anchor image that contain semi transparent pixel info with an alpha channel different than 0(completely transparent) or 255( not transparent)
    G. mfa V2 has a background color of (250,255,255)
    the output image of the apk file tested on phone (version v2 apk) displays PURE RED instead of pure black circles
    H. mfa file has a background color of tone of gray (250,250,250) and doesnt NOT exhibit the buged behaviour of the previous 2 versions.


    Here is the link to the 3 mfa example , 3 apk files build from the mfa files and tested on my phone, and 3 screenshots one for each apk file output.

    https://ufile.io/vwlac

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    5,745
    Mentioned
    98 Post(s)
    Tagged
    2 Thread(s)
    Thanks i will check them tomorrow
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Aug 2018
    Posts
    78
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Οκ thanks Fernando , the screenshot function is extremely important to me for my app

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    5,745
    Mentioned
    98 Post(s)
    Tagged
    2 Thread(s)
    mm listen I have been working on this, but I don't see the issue in my code what I see is that your image if I do open and save again as png and set white as background it works ok

    CTF292.3 alpha channel screenshot bug_001 .jpg

    notice that this meteor have a black as transparent object and is OK when is captured even though is not pure and you see teh artifact around it.

    after "modify" your, just open and save again as png but selecting which color to be transparent

    CTF292.3 alpha channel screenshot bug_003 .jpg
    I will investigate what could it be affecting this and why it reads the transparency value in your original images


    CTF292.3 alpha channel screenshot bug .jpg
    ================================================== ===========================


    found something that may cause this and build new libs and test seems OK now, please let me know if you are using 292.4 and want to test the runtime changes

    Sorry talk too fast further test give me wrong again
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Aug 2018
    Posts
    78
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I will test with 292.5 asap

  6. #6
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Aug 2018
    Posts
    78
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    The problem is also present in 292.5 , no difference
    Tested some minutes ago

  7. #7
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    5,745
    Mentioned
    98 Post(s)
    Tagged
    2 Thread(s)
    oh i haven changed as mentioned in my post, first test seems to be working but after few more it didn't, so I did not put them in this version, you still need to review your transparency in your images.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  8. #8
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Aug 2018
    Posts
    78
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    What should i do to review the transparency in the images ? I tried to reinsert the image in the active object and selected white as transparent color but it didnt solve the issue ,
    Can you tell me the step to review the transparency in the images ?

    Also will 292.6 include some sort of fix for this ?

  9. #9
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    5,745
    Mentioned
    98 Post(s)
    Tagged
    2 Thread(s)
    1.- open your images with an image editor of your preference pain, photo impact and check the transparency color, the resave as png and see if this fix

    2.- not sure if I can find something for this specific, I need to do some more try with different approach and see
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  10. #10
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Aug 2018
    Posts
    78
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    But there is no trasparency color ,its alpha channel and i need this alpha channel in the image ,i cant remove it because i need it as collision mask

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Is it possible to get a screenshot of excellent quality in android?
    By Bazelini in forum Android Export Module 2.5
    Replies: 2
    Last Post: 9th August 2018, 09:01 AM
  2. Create screenshot with transparancy on android
    By nikosurfing in forum Fusion 2.5
    Replies: 0
    Last Post: 18th November 2016, 02:03 AM
  3. Replies: 0
    Last Post: 25th July 2016, 05:51 PM
  4. Android screenshot without navigation bars
    By KDunlop in forum Fusion 2.5
    Replies: 4
    Last Post: 5th May 2016, 08:11 PM
  5. take a screenshot from android app
    By osk in forum Android Export Module 2.5
    Replies: 3
    Last Post: 21st April 2015, 07:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •