I'm working on converting an existing MVC app to MVC 6. One of the libraries used by the app does some bitmap manipulation, and uses System.Drawing.Bitmap. However, when trying to create a new package class library using the existing code, one of the things that I'm unable to find in the DNX Core is a Bitmap class. The manipulation that the website needs is (at a minimum) loading a bitmap from an arbitrary file format (usually .jpg or .png, but not necessarily), automatically cropping and/or resizing the image, and saving it back to a .png. I'm using the Kaliko ImageLibrary for the crop/resize, but the load & save is in a separate class library to which I need to add a reference.
Any suggestions on how to proceed? Is there a way to use Bitmap from the "package" class library? or better yet, is there a way to add a reference to the existing .dll so I don't have to add a new project to the mix?
Thanks in advance...
brian