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
This is actually expected behaviour. If you use resize_to_limit! (with a bang), that modifies the file in-place. So in your example, large will have the same path as file, and thumb as well. So when you resize_to_limit! the file again and assign it to thumb, it will modify large as well. This is generally how references work.
What is not expected was that I was recommending it in the README. In processing versions you should generally always use the non-bang methods (resize_to_limit instead of resize_to_limit!). I updated the documentation with this recommendation.
I am trying to create two new versions of the uploaded image, one large and one small.
What I found is, the
large
is always the same size asthumb
.The data behind this:
The text was updated successfully, but these errors were encountered: