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
I have an idea of a new feature. I would like to achive this scenario:
I have a file with resoltuion 400x800 (px) f.ex. test.jpg. I would like to make a request to apophnia that will keep the ratio of a file, here's the example:
k - keep ratio
request: test_k300x400.jpg
expected: test.jpg with resolution 200x400
request: test_k100x50
expected: test.jpg with resolution 25x50
File: test.jpg with 300x200
request: test_k300x400.jpg
expected: test.jpg with resolution 300x200
request: test_k100x50
expected: test.jpg with resolution 75x50
File: test.jpg with 60x20
request: test_k300x400.jpg
expected: test.jpg with resolution 300x100 - it can be bigger... I dont care here
It will always keep the ratio. If an image is bigger than the request, then apophenia will response with smaller but it will keep the ratio so it wont go beyond the scope of request resolution.
Reason:
I upload many images to apophenia and want them to fit into some box. F.ex list of items in a shop.
What you think? the parametr letter can be different its only an example
Regards
R.
The text was updated successfully, but these errors were encountered:
Hi!
I have an idea of a new feature. I would like to achive this scenario:
I have a file with resoltuion 400x800 (px) f.ex. test.jpg. I would like to make a request to apophnia that will keep the ratio of a file, here's the example:
k - keep ratio
request: test_k300x400.jpg
expected: test.jpg with resolution 200x400
request: test_k100x50
expected: test.jpg with resolution 25x50
File: test.jpg with 300x200
request: test_k300x400.jpg
expected: test.jpg with resolution 300x200
request: test_k100x50
expected: test.jpg with resolution 75x50
File: test.jpg with 60x20
request: test_k300x400.jpg
expected: test.jpg with resolution 300x100 - it can be bigger... I dont care here
It will always keep the ratio. If an image is bigger than the request, then apophenia will response with smaller but it will keep the ratio so it wont go beyond the scope of request resolution.
Reason:
I upload many images to apophenia and want them to fit into some box. F.ex list of items in a shop.
What you think? the parametr letter can be different its only an example
Regards
R.
The text was updated successfully, but these errors were encountered: