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

Support for image transforms in newer Emacs #278

Merged
merged 1 commit into from
Dec 21, 2020

Conversation

zevlg
Copy link
Contributor

@zevlg zevlg commented Dec 20, 2020

In dashboard-insert-image-banner check also for image transforms
functionality to scale images to :max-width / :max-heigh

In `dashboard-insert-image-banner' check also for image transforms
functionality to scale images to `:max-width' / `:max-height'
@jcs090218
Copy link
Member

I have tested and it works! I wonder what does this patch does? Would it be necessary to check for transforming the image? Appreciate if you could elaborate it!

Anyway, thanks for the contribution! 😄

@zevlg
Copy link
Contributor Author

zevlg commented Dec 21, 2020

I have tested and it works! I wonder what does this patch does? Would it be necessary to check for transforming the image? Appreciate if you could elaborate it!

Anyway, thanks for the contribution! 😄

Newer Emacs has image transformations functionality, so images could be scaled or rotated even if imagemagick is not compiled in (in newer Emacs imagemagick is disabled by default). This patch utilizes this image transforms functionality (if available) to scale Emacs logo

@jcs090218 jcs090218 merged commit c7de921 into emacs-dashboard:master Dec 21, 2020
@jcs090218
Copy link
Member

Thanks for the elaboration! Merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants