Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass width and height to LoadImage() #253

Closed
technosaurus opened this issue Nov 21, 2015 · 2 comments
Closed

pass width and height to LoadImage() #253

technosaurus opened this issue Nov 21, 2015 · 2 comments

Comments

@technosaurus
Copy link
Contributor

libjpeg and rsvg have builtin scaling that could allow for better/more efficient scaled results
http://jpegclub.org/djpeg/
http://cairographics.org/manual/cairo-Transformations.html#cairo-scale
https://developer.gnome.org/rsvg/stable/RsvgHandle.html#rsvg-handle-set-size-callback

@joewing
Copy link
Owner

joewing commented Nov 21, 2015

I agree. The primary reason I didn't do this before was that JWM used to cache the raw image data and scale that as needed. Now that JWM loads the image each time a new size is requested, this is a lot easier.

@joewing
Copy link
Owner

joewing commented Nov 22, 2015

Available as of snapshot 1343.

@joewing joewing modified the milestone: Version 2.3.4 Nov 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants