bentley-historical-library / bhl_born_digital_utils

Scripts used for removable media transfers at the Bentley Historical Library
5 stars 8 forks source link

rmw_transfer.py Image cropping edit #41

Open MaryseLT opened 4 years ago

MaryseLT commented 4 years ago

https://github.com/bentley-historical-library/bhl_born_digital_utils/blob/3decd4fe6e433440d1d9e24201648ea188c7ba83/bhl_born_digital_utils/rmw_transfer.py#L120

I suggest just cropping the right side between 10 and 20 pixels (between 1655 and 1665) to remove the dead space that appears in the removable media notice slip.

djpillen commented 4 years ago

Thanks for the suggestion! Figuring out the correct area for the image was definitely more of a trial-and-error sort of thing than an exact science, so it doesn't surprise me that it can be improved.

Out of curiosity, does that dead space appear on both RMW 1 and RMW 2? I don't want to crop the right side and have it be just right on one but crop too much on the other.