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
main = Image.open(main_fname)
main_w, main_h = main.size
...
ratio = 0.15
logo_h_new = int(ratio * main_h)
It's good-enough heuristics for square-like images, but makes seal too big when working with high and thin images (posters, UML diagrams, etc.)
It would be good if we could customize size depending on width or with fixed size.
The text was updated successfully, but these errors were encountered:
For now seal size depends on image height:
It's good-enough heuristics for square-like images, but makes seal too big when working with high and thin images (posters, UML diagrams, etc.)
It would be good if we could customize size depending on width or with fixed size.
The text was updated successfully, but these errors were encountered: