2020-08-06 19:02:40 +00:00
|
|
|
# Photobook
|
2020-06-26 15:05:17 +00:00
|
|
|
|
2020-08-06 19:02:40 +00:00
|
|
|
## Install
|
|
|
|
|
|
|
|
pip install photobook
|
2020-06-26 15:05:17 +00:00
|
|
|
|
|
|
|
## Notes
|
|
|
|
|
2020-08-06 19:02:40 +00:00
|
|
|
Crooping a image to get the larger square on the middle
|
2020-06-26 15:05:17 +00:00
|
|
|
|
|
|
|
convert <source> -gravity center -crop `identify -format "%[fx:min(w,h)]x%[fx:min(w,h)]+0+0" rose:` +repage <cible>
|
|
|
|
|
|
|
|
|