Describe the bug
I tried to create a GIF of a auto and a error happened so I tried again, this time with running as administrator, the same thing happened. I tried creating a GIF of a path and it worked perfectly fine this time but then I tried creating an auto again and I got the same error.
To Reproduce
Steps to reproduce the behavior:
- Go to PathPlanner GUI / Application
- Load up any auto and click on the export button at the top right
- Select GIF and any color mode (I only tried in Dark so this could be a potential issue I'm unsure)
- And then the encoding process should fail and you should get an error.
Expected behavior
I was expecting that the encoder process not fail and I would be given the option to save my GIF to my desired location.
Screenshots
If applicable, add screenshots to help explain your problem.

Versions: (please complete the following information):
- OS: Windows 11
- GUI Version: 2025.2.1
- PPLib Version: 2025.2.1
- PPLib Language: Java
Additional context
Stack Trace Error:
#0 PngDecoder.decode (package:image/src/formats/png_decoder.dart:492)
#1 _TrajectoryRenderDialogState._encodeGif. (package:pathplanner/widgets/dialogs/trajectory_render_dialog.dart:311)
#2 IsolateManagerFunction.customFunction. (package:isolate_manager/src/isolate_manager_function.dart:109)
#3 _RootZone.runUnaryGuarded (dart:async/zone.dart:1609)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:366)
#5 _DelayedData.perform (dart:async/stream_impl.dart:542)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:647)
#7 _PendingEvents.schedule. (dart:async/stream_impl.dart:618)
#8 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#9 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
#10 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118)
#11 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:185)
Describe the bug
I tried to create a GIF of a auto and a error happened so I tried again, this time with running as administrator, the same thing happened. I tried creating a GIF of a path and it worked perfectly fine this time but then I tried creating an auto again and I got the same error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I was expecting that the encoder process not fail and I would be given the option to save my GIF to my desired location.
Screenshots

If applicable, add screenshots to help explain your problem.
Versions: (please complete the following information):
Additional context
Stack Trace Error:
#0 PngDecoder.decode (package:image/src/formats/png_decoder.dart:492)
#1 _TrajectoryRenderDialogState._encodeGif. (package:pathplanner/widgets/dialogs/trajectory_render_dialog.dart:311)
#2 IsolateManagerFunction.customFunction. (package:isolate_manager/src/isolate_manager_function.dart:109)
#3 _RootZone.runUnaryGuarded (dart:async/zone.dart:1609)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:366)
#5 _DelayedData.perform (dart:async/stream_impl.dart:542)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:647)
#7 _PendingEvents.schedule. (dart:async/stream_impl.dart:618)
#8 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#9 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
#10 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118)
#11 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:185)