Hi @Devireddy ,
Please check this post.
Regards,
Premsai.
Hi @Devireddy ,
Please check this post.
Regards,
Premsai.
Thanks prem, now its working
Hi @Devireddy ,
Glad to hear that it is working,mark it as a solution
regards,
premsai
Hi @prem0919 ,
can u tried for multiple images like boot animation
Hi @Devireddy ,
Yes.
For my side single frame is working if i add multiple frames not working can u help me regarding this
Script file i used is
Message(“Starting Spinner Animation”);
frame_path = “/usr/share/plymouth/themes/spinner/frames/”;
wallpaper_image = Image(frame_path + “frame_0001.png”);
screen_width = Window.GetWidth();
screen_height = Window.GetHeight();
wallpaper_sprite = Sprite(wallpaper_image);
wallpaper_sprite.SetX(screen_width/2 - wallpaper_sprite.GetWidth()/2);
wallpaper_sprite.SetY(screen_height/2 - wallpaper_sprite.GetHeight()/2);
Message(“First Image Loaded”);
Plymouth.Update();
Sleep(1); # Allow first frame to appear
frame = 1;
max_frames = 5; # Reduce frames for debugging
loop while frame <= max_frames
frame_str = frame_path + sprintf(“frame_%04d.png”, frame);
Message("Checking file: " + frame_str);
if FileExists(frame_str)
Message("Displaying: " + frame_str);
wallpaper_sprite.SetImage(frame_str);
Plymouth.Update();
Sleep(1); # Increase sleep for debugging
else
Message("Frame not found: " + frame_str);
endif
frame = frame + 1;
endloop;
Message(“Spinner Animation Completed”);
Hello prem, is there any update on this issue?
Hi @Devireddy ,
Still you are facing the issue?
Yes prem,still i am facing issue
hello prem,can your share updates on above issues