Closed Cynary closed 5 years ago
Thanks for sending this PR.
The complexity of the JPEG-related code confirms my intuition that I don’t feel comfortable maintaining this in the context of i3lock. I think this should either go into cairo upstream or into a third-party library which would ideally be used by many, not just i3lock.
I’d still be interested in the remaining cleanups you did, so if you’d like to submit these as a separate PR, that’d be appreciated!
See #68 for discussion and context.
Also did some cleanup:
Also revamped error management during image loading. We won't get out of memory errors for invalid types anymore. Fixes #114
Finally, added libjpeg dependency.