I'm looking for image library working under vs2010. I tried imagemagick (and its api magick++) but that requires building it from scratch which is undesireable.

It doesn't have to be as advanced as imagemagick. I need it to open most popular image files and convert them to raw array of RGB888 or RGB565 data.