Skip to content

Scale image size on insert #95

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

Closed
wants to merge 2 commits into from
Closed

Conversation

Alecat
Copy link

@Alecat Alecat commented Sep 22, 2014

As discussed: #94

Allow for width and/or height to be passed into new_picture.
This allows for any scaling to be applied to both the picture and its
inline shape.

Allow for width and/or height to be passed into new_picture.
This allows for any scaling to be applied to both the picture and its
inline shape.
new_picture should be able to be called without specified width/height
- they will just default to the native resolution of the given image.
@scanny scanny added the image label Feb 13, 2015
@scanny
Copy link
Contributor

scanny commented Feb 16, 2015

This is fixed in version 0.8.2 released Feb 16, 2015. I took a somewhat different approach, but thanks very much for the PR Alecat, it was very helpful for thinking through how best to approach it :)
Fix commit is here: 395b48f. The overall rewrite of Run.add_picture() is in the 7 commits starting here: 71c657d

@scanny scanny closed this Feb 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants