ping / instagram_private_api_extensions

An extension module to https://github.com/ping/instagram_private_api
MIT License
124 stars 26 forks source link

Support up-scaling of media to meet requirements. #2

Closed BitJunky closed 7 years ago

BitJunky commented 7 years ago

I tried to upload a video of smaller width but it just rejected it. Kindly support up scaling to meet the requirements.

ping commented 7 years ago

You can now specify a custom min_size argument in prepare_image()/prepare_video(). The default min_size values should also work.

JulienMaille commented 6 years ago

Sorry to necro this one, but it seems that with rounding error, scaling is not working properly. At least I got an image scaled to default max ratio (0,75) which ended with a ratio of 0,7501.... and got rejected by Instagram