You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of PR #157, a change was made to BadgeImage.java to increase the width of scaled images by 25%. This was done to counteract images getting shrunk horizontally by 25%. A couple of attempts were made to replace the scaling logic, but the results came out the same.
Investigate what is shrinking the width of these scaled images and fix. This code is related to printing physical badges and so it will not be needed further for this year.
Here is the original version of drawStretchedImage, which has the same shrinking problem:
As part of PR #157, a change was made to BadgeImage.java to increase the width of scaled images by 25%. This was done to counteract images getting shrunk horizontally by 25%. A couple of attempts were made to replace the scaling logic, but the results came out the same.
new_width = (new_height * original_width * 125 / 100) / original_height;
Investigate what is shrinking the width of these scaled images and fix. This code is related to printing physical badges and so it will not be needed further for this year.
Here is the original version of drawStretchedImage, which has the same shrinking problem:
The text was updated successfully, but these errors were encountered: