Modifieye (Scale and Crop) Screenshots on Windows

I have an application which allows users to configure the interior of a room and then also save/load the configuration.
When saving the room a screenshot is taken, and rescaled to different dimensions, to serve as thumbnail, preview… etc.
For the windows version of this application I tried to use the System.drawing functionalitys.
This works fine in Editor, the Images Get scaled and croped as desired.
Now the Build Version crashes with a TypeLoadException for a BufferOverflowException, log attatched.
I dont really get it why it’s working in the Editor and not working in the build, Do I Need some native librarys that are not present in the Build or what am I missing here?
Or does someone have a possibility to work with images on Windows that is working?

The Console tells this:
TypeLoadException: Could not load type ’System.IO.InternalBufferOverflowException’ from assmbly ‘System.Drawing’.
System.Drawing.Image.FromFile(System.String filename, Boolean useEmbeddedColorManagement) System.Drawing.FromFile(System.String filename)
ImageResizeWindows.ScaleAndCropImage(Int32 width, Int32 height, System.String sourcePath, System.String destinationPath) (at … buntch of own classes using this code)

Scaling: Look here
The JS-Script was just updated and works for me in editor, standalone, webplayer

I know that I can modify the texture before saving it as an Image.
Problems I have with the proposed script is, I don’t only want to scale also need a crop. And doing this in 2 steps just makes everything slower so would have to write a whole scale and crop functionality. This would take me some time but even with GetPixelsBilinear the Quality is Horrible, so I thought someone maybe has a better solution then the texture one.
And as I need an Image as final result image processing functionality would not be that wrong.