Hello,
Does anyone knows a C# library to manipulate images? Size, resolution,
etc ...
And if possible also check the size and type of an image.
I need to use something like this in my ASP.NET MVC project.
Thanks,
Miguel
Basic manipulation can be done in the system.drawing namespace. For the
web it can be problematic, however, as there is only basic support for
gif and jpg (have not checked ping).
There are third party libs, like LeadTools, but they can be a bit pricey
if you are only doing basic image manipulation. I am fairly certain a
search could yield open or shared source libs if you don't need
something this heavy.
From experience, I tried to dynamically create gifs, and the MS
implementation is too limited to be of any real use (pixelation, only
256 color images, etc.). Same for JPG. Both are licensed, so it would
have been more expensive for Microsoft to go beyond the basics.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Twitter: @gbworld
Blog:
http://gregorybeamer.spaces.live.com
*******************************************
| Think outside the box! |
*******************************************