smasherprog / screen_capture_lite

cross platform screen/window capturing library
MIT License
616 stars 156 forks source link

Cursor image not working in linux #83

Closed amunhoz closed 4 years ago

amunhoz commented 4 years ago

I've used the same code of example: lodepng::encode(s, (unsigned char*)StartSrc(*img), Width(*img), Height(*img));

And its producing an transparent png without any cursor image. Any ideas?

gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)

smasherprog commented 4 years ago

i like issues that close themselves! I hope that you found the solution to the problem. Let me know if you didnt

amunhoz commented 4 years ago

Well... the first image was blank, but later it got the right cursor image. Cant say right now if its a bug or was something i did.