![]() If one between width (w) and height (h) parameter is not present, it will be automatically calculated using the same ratio inferred from the other one this also means that mode will be irrelevant in such scenario, since no cropping nor padding will occur. To better understand it, take a look at the following screenshot: The main difference between mode 0 and mode 1 is that the first will potentially crop the source image in order to make it fit to the given width/height while avoiding the "padding" effect, while the second will preserve the image content while potentially adding a padding to make it fit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |