[GH-ISSUE #151] The alternative resizing method doesn't work #670

Closed
opened 2026-03-15 14:59:51 +03:00 by kerem · 5 comments
Owner

Originally created by @EtreRe on GitHub (Nov 13, 2017).
Original GitHub issue: https://github.com/flyimg/flyimg/issues/151

Originally assigned to: @sadok-f on GitHub.

The alternative resizing method doesn't seem to work.

I have tried it on a local docker environment with no success and the example online have the same issue.

You can see that with or without rz_1 the result is the same :

https://oi.flyimg.io/upload/w_300,h_250,rz_1/https://m0.cl/t/resize-test_1920.jpg

https://oi.flyimg.io/upload/w_300,h_250/https://m0.cl/t/resize-test_1920.jpg

Originally created by @EtreRe on GitHub (Nov 13, 2017). Original GitHub issue: https://github.com/flyimg/flyimg/issues/151 Originally assigned to: @sadok-f on GitHub. The alternative resizing method doesn't seem to work. I have tried it on a local docker environment with no success and the example online have the same issue. You can see that with or without rz_1 the result is the same : https://oi.flyimg.io/upload/w_300,h_250,rz_1/https://m0.cl/t/resize-test_1920.jpg ![](https://oi.flyimg.io/upload/w_300,h_250,rz_1/https://m0.cl/t/resize-test_1920.jpg) https://oi.flyimg.io/upload/w_300,h_250/https://m0.cl/t/resize-test_1920.jpg ![](https://oi.flyimg.io/upload/w_300,h_250/https://m0.cl/t/resize-test_1920.jpg)
kerem 2026-03-15 14:59:51 +03:00
  • closed this issue
  • added the
    wontfix
    label
Author
Owner

@sadok-f commented on GitHub (Nov 14, 2017):

Thank you for submitting the issue, I'll close it due to the fact that -thumbnail works just like -resize does with a few differences:

  • It is optimized for speed.
  • It also removes any embedded color profiles to reduce the filesize of the thumbnails.

If you look to crop the image, you can use the option c_1

if you pass the refresh option rf_1 you'll get the full command generated by ImageMagick in the response header.

<!-- gh-comment-id:344226822 --> @sadok-f commented on GitHub (Nov 14, 2017): Thank you for submitting the issue, I'll close it due to the fact that -thumbnail works just like -resize does with a few differences: - It is optimized for speed. - It also removes any embedded color profiles to reduce the filesize of the thumbnails. If you look to crop the image, you can use the option `c_1` if you pass the refresh option `rf_1` you'll get the full command generated by ImageMagick in the response header.
Author
Owner

@EtreRe commented on GitHub (Nov 14, 2017):

My mistake, I thought that rz_1 would force the result to have the size passed in the parameters, filling the rest of the image with background color.

<!-- gh-comment-id:344237085 --> @EtreRe commented on GitHub (Nov 14, 2017): My mistake, I thought that rz_1 would force the result to have the size passed in the parameters, filling the rest of the image with background color.
Author
Owner

@sadok-f commented on GitHub (Nov 14, 2017):

no worries,
I curious question, do you use flyimg in some a production? or just for testing?

<!-- gh-comment-id:344285608 --> @sadok-f commented on GitHub (Nov 14, 2017): no worries, I curious question, do you use flyimg in some a production? or just for testing?
Author
Owner

@EtreRe commented on GitHub (Nov 14, 2017):

Testing for now but we are hoping to use it in production if we can make it fit our needs

<!-- gh-comment-id:344287649 --> @EtreRe commented on GitHub (Nov 14, 2017): Testing for now but we are hoping to use it in production if we can make it fit our needs
Author
Owner

@sadok-f commented on GitHub (Nov 14, 2017):

Great!
Let us know in case it moves to production!

<!-- gh-comment-id:344296340 --> @sadok-f commented on GitHub (Nov 14, 2017): Great! Let us know in case it moves to production!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flyimg#670
No description provided.