woelper / oculante

A fast and simple image viewer / editor for many operating systems
https://github.com/woelper/oculante
MIT License
977 stars 43 forks source link

Paint mode has horrible performance on large images, causes Oculante to crash #455

Open Stoppedpuma opened 1 week ago

Stoppedpuma commented 1 week ago

Performance part was already mentioned with @woelper, the crash was not as I just found out I can crash Oculante this way.

A great thing to have here would be multithreaded input so even if Oculante lags while drawing, the drawings polling rate isn't affected (You can see this visually by the sharp movements).

paint_performance_and_crash.webm

woelper commented 1 week ago

Could you attach any crash report or log if possible please?

For now, you can speed up painting by resizing the image to a smaller size before painting.

Stoppedpuma commented 1 week ago

Unfortunately I still cannot get a log from crashes related to imageops, I'll send you the file in the test video as well as a 16k variant in dms as it's quite easy to reproduce this by even opening the filters area on the 16k variant.