Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

justinw
justinw
14,517 Points

Upload Image -- Retain Quality

My web app is coded in .Net and I've implemented a new feature where you can upload a headshot and company logo to a Cover Page for a report you can generate in our system. Pixel sizes for the Headshot 275x350 and Company Logo 330x130.

For some reason when a larger image is condensed down its blurry and when a smaller image is blown up its blurry. This makes sense to me, so my question is what type of tools are out there that allow you to upload a photo and then choose a selection out of the image to use that meets the required pixel size?

Apple, Google+, LinkedIn, etc all do this, just can't find the name of the app or API.

1 Answer

Aaron Walton
Aaron Walton
3,557 Points

Imagemagick is commonly used for server-side image manipulation and I believe will work on most servers. PHP has a function called GDlib that is often used for images. I'm not sure if .Net has something similar?