Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道从图像中裁剪空白并动态调整其大小以保持纵横比的给定尺寸的最佳方法。该方法应该是相当轻量级的,因为我需要它来在一个页面中显示许多图像(具有 30-50 个图像/页的产品列表)。
我使用这个脚本来调整图像的大小,我也看到了它完全符合我的需要,但我不确定如何组合这两个脚本。
任何帮助或替代方案将不胜感激。
In my asp.net application I am creating a custom user control (which is similar to GridView). It takes list of an object (like Car, Person etc..) and shows them as table.
Since list of objects can