blackstream-x / pyxelate

Partially pixelate images or short video clips
GNU General Public License v3.0
6 stars 1 forks source link

[bug] Very long input filenames break screen layouts, render pyxelate unusable #114

Closed Wikinaut closed 2 years ago

Wikinaut commented 2 years ago

grafik

Suggested solution: format filename accordingly

blackstream-x commented 2 years ago

Proposed solution: check file name length, and if it’s length is above a yet-to-be-defined threshold (eg 25), cut it in the middle, remove some characters from the middle and join the start and end parts using dots, eg:

very_long_filename_of_a_video.mp4 -> very_long_fi…_a_video.mp4