Skip to content

Conversation

@StephanOsthold
Copy link

There seems to be a typo in the maxCount condition.
Also if no bounding rect is found, the fallback only works for 'width', which can lead to very high images.

When failing to determine the size, the fallback only made sense for the
width.
Also the left- / right-paddings are not to be subtracted from the height. It may be advisable to subtract the top- / bottom-paddings, however this is out of the scope of this fix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant