Looking for a managed image parser library (JPEG, BMP, PNG, GIF)
Posted
by usr
on Stack Overflow
See other posts from Stack Overflow
or by usr
Published on 2010-06-16T09:54:40Z
Indexed on
2010/06/16
15:32 UTC
Read the original article
Hit count: 197
I am writing a discussion board software that will have "avatar" images for the users. I want to resize any picture that gets uploaded to a reasonable size. I could easily do that with System.Drawing but that is relying on GDI+ which has hat security problems before. The problem is that the images are untrusted. So I thought of using a fully managed lib to solve that problem because managed code cannot escape the sandbox (of course it can, but only if the code is user-supplied which it is not in my case). So does anybody know of a managed image parser library for JPEG, BMP, PNG and GIF? If some format is missing than I will have to live with that.
Edit: Paint.NET also relies on GDI+.
You might be interested in the discussion below, too.
© Stack Overflow or respective owner