Open
Description
I recently wrote this program which edits an image and copies it to the clipboard with the arboard
crate. I noticed this issue, where I get an assertion error with images of certain dimensions:
This image (1030x693) causes the above error:
When my program tries to copy its edited version to the clipboard, it's 1030x1030. I'm sure that this is specific to dimensions, because the program finishes successfully with this image (1030x694):
I found this line to be the one causing this panic, and the worst part is, I can't even use std::panic::catch_unwind
because arboard
's Clipboard
struct doesn't implement UnwindSafe
. I would appreciate any help.
Metadata
Metadata
Assignees
Labels
No labels