ngm / Pickles.NetCore

Proof-of-concept port of Pickles (https://github.com/picklesdoc/pickles) to .NET Core
0 stars 0 forks source link

Use of System.Drawing.Image #3

Open ngm opened 7 years ago

ngm commented 7 years ago

System.Drawing isn't fully supported cross-platform as of yet. Some primitives are available (https://github.com/dotnet/corefx/issues/1563), but I'm not sure as to whether image manipulation will be included.

There is a cross-platform image processing library, https://github.com/JimBobSquarePants/ImageProcessor/tree/Core, in development, that could potentially be used.

However the only place I saw use of Image so far was in ResourceWriter:

and there it was only for image copying - no manipulation.

So for now I have simply replaced this as a stream copy: