LoginSignup
11
19

C#でPDFからTIFに変換

Last updated at Posted at 2016-01-24

Ghostscriptというネイティブのライブラリでできるが、
C#でラップした物がGitHubに存在する

GhostscriptSharp
https://github.com/mephraim/ghostscriptsharp

公開されているソースでは決め打ちでjpegに変換しているが、
コード内で記述されている以下の箇所を変えればTIFでも出力できる

GhostscriptSharp.cs
GhostscriptSettings s = new GhostscriptSettings();
s.Device = Settings.GhostscriptDevices.jpeg;

※内部的にGhostScriptを使用しているため、ライセンス形態には注意が必要

11
19
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
19