Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

Is there a plan to replace ZKWeb.System.Drawing with System.Drawing.Common #50

Closed
ousiax opened this issue Mar 20, 2018 · 6 comments
Closed

Comments

@ousiax
Copy link

ousiax commented Mar 20, 2018

No description provided.

@yang-xiaodong
Copy link
Member

The current API of System.Drawing.Common is incomplete, we need to wait until .net core 2.1 releases.

@MathiasKowoll
Copy link

2.1 is on rc, could be have an update soon?

@ousiax
Copy link
Author

ousiax commented Jun 5, 2018

any updates?

@ousiax ousiax changed the title Is there a plan to replace ZKWeb.System.Drawing to System.Drawing.Common Is there a plan to replace ZKWeb.System.Drawing with System.Drawing.Common Jun 5, 2018
@tapjyotmakkar
Copy link

Not sure if my problem is relevant to this thread but on generating a .xlsx from a docker web container running on linux am getting the following error:
Exception thrown: System.TypeInitializationException' in ZKWeb.System.Drawing.dll

Any ideas/suggestions ??

@ousiax
Copy link
Author

ousiax commented Jun 22, 2018

@tapjyotmakkar

Maybe you forget to setup libgdplus as below:

RUN apt-get update \
    && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
        libgdiplus \
    && rm -rf /var/lib/apt/lists/* \
    && ln -sf /usr/lib/libgdiplus.so /usr/lib/gdiplus.dll

@yang-xiaodong
Copy link
Member

Fixed in v1.2.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants