Menu

Error ! Can't crop image in egDrawImage () 1

Gene C
2019-10-07
2019-10-07
  • Gene C

    Gene C - 2019-10-07

    With git master (0.11.5 923ee14)

    Refind starts up the internal banner is larger than normal and a bit blurry - it hesitates a few seconds - then the above error is show on top left of screen - then goes away and banner shrinks and the usual suite of icons shows up.

    Anyone know what may be causing this?

    I double checked the icons being used and they look fine as presented by refind and are the ones provided by refind source:

    EFI/refind/icons:
    os_arch.png
    os_linux.png
    tool_shell.png

     
  • Gene C

    Gene C - 2019-10-07

    Error is coming from line 397 in libeg/screen.c

    ... egCropImage(GlobalConfig.ScreenBackground, ScreenPosX, ScreenPosY, Image->Width, Image->Height);

    Screen on this is a laptop 3k screen - I didn't see same issue on a newer laptop with 4k screen but will double check.

    Remving the config option which is the native screen resolution:
    resolution 2880 1620
    The error goes away - but of course, things look pretty large and not good.

    Assume there is a setting that will produce good size without the error but unclear what it is.

     

    Last edit: Gene C 2019-10-07

Log in to post a comment.